Skip to content

Commit

Permalink
debug rbmq e2e
Browse files Browse the repository at this point in the history
Signed-off-by: ZichengMa <[email protected]>
  • Loading branch information
ZichengMa committed Aug 23, 2023
1 parent 002c3d5 commit 3d92a63
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
run: |
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
# For zookeeper
- name: Build zookeeper controller image
run: |
cp docker/zookeeper-controller/Dockerfile .
docker build -t local/zookeeper-controller:v0.1.0 .
- name: Create kind cluster
run: kind create cluster --config=./e2e/deploy/kind_config.yaml
- name: Deploy zookeeper controller
run: ./deploy.sh zookeeper local
- name: Run zookeeper e2e tests
run: cd e2e && cargo run -- zookeeper
- name: Tear down kind cluster
run: kind delete clusters kind
# - name: Build zookeeper controller image
# run: |
# cp docker/zookeeper-controller/Dockerfile .
# docker build -t local/zookeeper-controller:v0.1.0 .
# - name: Create kind cluster
# run: kind create cluster --config=./e2e/deploy/kind_config.yaml
# - name: Deploy zookeeper controller
# run: ./deploy.sh zookeeper local
# - name: Run zookeeper e2e tests
# run: cd e2e && cargo run -- zookeeper
# - name: Tear down kind cluster
# run: kind delete clusters kind
# For rabbitmq
- name: Build rabbitmq controller image
run: |
Expand All @@ -46,6 +46,10 @@ jobs:
run: kind create cluster --config=./e2e/deploy/kind_config.yaml
- name: Deploy rabbitmq controller
run: ./deploy.sh rabbitmq local
- name: Apply rabbitmq
run: kubectl apply -f ./e2e/rabbitmq.yaml && sleep 1
- name: Check roles
run: kubectl get roles
- name: Run rabbitmq e2e tests
run: cd e2e && cargo run -- rabbitmq
- name: Tear down kind cluster
Expand Down

0 comments on commit 3d92a63

Please sign in to comment.