Skip to content

Commit

Permalink
ci(chaos): update chaos integration (#174)
Browse files Browse the repository at this point in the history
* ci(chaos): chaos integration

* update
  • Loading branch information
zhengjianhui committed Mar 15, 2022
1 parent 42f2a0f commit c926fb9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
build:
runs-on: self-hosted
environment: chaos
steps:
- name: Git checkout
uses: actions/checkout@v3
Expand All @@ -16,9 +17,6 @@ jobs:
- name: Run chaos
run: |
kubectl delete -f /home/ckb/axon-devops/axon-chaos/axon-chaso.yaml
kubectl delete -f /home/ckb/axon-devops/k8s-deploy/k8s/benchmark/axon-benchmark.yaml
kubectl delete -f /home/ckb/axon-devops/k8s-deploy/k8s/axon
kubectl apply -f /home/ckb/axon-devops/k8s-deploy/k8s/axon
kubectl apply -f /home/ckb/axon-devops/axon-chaos/axon-chaso.yaml
kubectl apply -f /home/ckb/axon-devops/k8s-deploy/k8s/benchmark/axon-benchmark.yaml
cd /home/ckb/axon-devops/axon-chaos/axon-chaos-integration
yarn install
node index.js ${{ secrets.CHAOS_URL }}

0 comments on commit c926fb9

Please sign in to comment.