Skip to content

Commit

Permalink
fix chaos test (#1757)
Browse files Browse the repository at this point in the history
* fix chaos test

* update chaos-mesh
  • Loading branch information
datelier authored Aug 4, 2022
1 parent a9f5755 commit e589db0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
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

0 comments on commit e589db0

Please sign in to comment.