Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix chaos test #1757

Merged
merged 2 commits into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/e2e-chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
wait_for_selector: app=vald-lb-gateway
- name: deploy Chaos Mesh
run: |
make kubectl/install/linux/v1.23.6
curl -sSL https://mirrors.chaos-mesh.org/v2.1.3/install.sh | bash -s -- --k3s
make kubectl/install
curl -sSL https://mirrors.chaos-mesh.org/v2.3.0/install.sh | bash -s -- --k3s
helm install \
--set podChaos.failure.enabled=true \
vald-chaos-test tests/chaos/chart
Expand Down Expand Up @@ -176,8 +176,8 @@ jobs:
wait_for_selector: app=vald-lb-gateway
- name: deploy Chaos Mesh
run: |
make kubectl/install/linux/v1.23.6
curl -sSL https://mirrors.chaos-mesh.org/v2.1.3/install.sh | bash -s -- --k3s
make kubectl/install
curl -sSL https://mirrors.chaos-mesh.org/v2.3.0/install.sh | bash -s -- --k3s
helm install \
--set podChaos.kill.enabled=true \
vald-chaos-test tests/chaos/chart
Expand Down Expand Up @@ -270,8 +270,8 @@ jobs:
wait_for_selector: app=vald-lb-gateway
- name: deploy Chaos Mesh
run: |
make kubectl/install/linux/v1.23.6
curl -sSL https://mirrors.chaos-mesh.org/v2.1.3/install.sh | bash -s -- --k3s
make kubectl/install
curl -sSL https://mirrors.chaos-mesh.org/v2.3.0/install.sh | bash -s -- --k3s
helm install \
--set networkChaos.partition.enabled=true \
vald-chaos-test tests/chaos/chart
Expand Down Expand Up @@ -364,8 +364,8 @@ jobs:
wait_for_selector: app=vald-lb-gateway
- name: deploy Chaos Mesh
run: |
make kubectl/install/linux/v1.23.6
curl -sSL https://mirrors.chaos-mesh.org/v2.1.3/install.sh | bash -s -- --k3s
make kubectl/install
curl -sSL https://mirrors.chaos-mesh.org/v2.3.0/install.sh | bash -s -- --k3s
helm install \
--set networkChaos.bandwidth.enabled=true \
vald-chaos-test tests/chaos/chart
Expand Down
9 changes: 0 additions & 9 deletions Makefile.d/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ $(BINDIR)/reviewdog:
.PHONY: kubectl/install
kubectl/install: $(BINDIR)/kubectl

## WARNING: choas-mesh install.sh check_kubernetes()
## This version information is deprecated and will be replaced with the output from kubectl version --short.
## https://github.com/chaos-mesh/chaos-mesh/blob/master/install.sh#L291
.PHONY: kubectl/install/linux/v1.23.6
kubectl/install/linux/v1.23.6:
curl -L "https://storage.googleapis.com/kubernetes-release/release/v1.23.6/bin/linux/amd64/kubectl" -o ./kubectl
chmod a+x ./kubectl
mv ./kubectl $(BINDIR)/kubectl

ifeq ($(UNAME),Darwin)
$(BINDIR)/kubectl:
curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl" -o $(BINDIR)/kubectl
Expand Down