Skip to content

Commit

Permalink
test rabbitmq first
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 3d92a63 commit 82d7b48
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@ jobs:
- name: Install Rust toolchain
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
# For rabbitmq
- name: Build rabbitmq controller image
run: |
Expand All @@ -46,11 +33,20 @@ 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
run: kind delete clusters kind
# 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

0 comments on commit 82d7b48

Please sign in to comment.