File tree Expand file tree Collapse file tree 2 files changed +1
-94
lines changed
Expand file tree Collapse file tree 2 files changed +1
-94
lines changed Original file line number Diff line number Diff line change 3131
3232 image-build :
3333 runs-on : ubuntu-latest
34- needs : tests
3534 steps :
3635 # Checkout to the latest commit
3736 # On specific directory/path
5958 DOCKER_TAG : ci
6059 DNAME : ${{ secrets.DNAME }}
6160 DPASS : ${{ secrets.DPASS }}
62- run : make push-chaos-runner
63-
64- tests :
65- needs : pre-checks
66- runs-on : ubuntu-latest
67- steps :
68- # Checkout to the latest commit
69- # On specific directory/path
70- - name : Checkout
71- uses : actions/checkout@v2
72-
73- # Install golang
74- - uses : actions/setup-go@v2
75- with :
76- go-version : 1.20.0
77-
78- - name : Build chaos-runner image
79- run : make build-amd64
80-
81- # Install and configure a kind cluster
82- - name : Installing Prerequisites (K3S Cluster)
83- env :
84- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
85- run : |
86- curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.11+k3s1 sh -s - --docker --write-kubeconfig-mode 664
87- kubectl wait node --all --for condition=ready --timeout=90s
88- mkdir -p $HOME/.kube
89- cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
90- kubectl get nodes
91-
92- - name : Dependency checks
93- env :
94- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
95- run : |
96- make deps
97-
98- - name : Running Go BDD Test
99- env :
100- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
101- run : |
102- make test
61+ run : make push-chaos-runner
Original file line number Diff line number Diff line change 1818 - name : Checkout
1919 uses : actions/checkout@v2
2020
21- - name : gofmt check
22- run : make gofmt-check
23-
24- - name : golangci-lint
25- uses : reviewdog/action-golangci-lint@v1
26-
27- - name : unused-package check
28- run : make unused-package-check
29-
3021 image-build :
3122 runs-on : ubuntu-latest
32- needs : tests
3323 steps :
3424 # Checkout to the latest commit
3525 # On specific directory/path
7363 DNAME : ${{ secrets.DNAME }}
7464 DPASS : ${{ secrets.DPASS }}
7565 run : make push-chaos-runner
76-
77- tests :
78- needs : pre-checks
79- runs-on : ubuntu-latest
80- steps :
81- # Checkout to the latest commit
82- # On specific directory/path
83- - name : Checkout
84- uses : actions/checkout@v2
85-
86- # Install golang
87- - uses : actions/setup-go@v2
88- with :
89- go-version : 1.20.0
90-
91- # Install and configure a kind cluster
92- - name : Installing Prerequisites (K3S Cluster)
93- env :
94- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
95- run : |
96- curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.21.11+k3s1 sh -s - --docker --write-kubeconfig-mode 664
97- kubectl wait node --all --for condition=ready --timeout=90s
98- mkdir -p $HOME/.kube
99- cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
100- kubectl get nodes
101-
102- - name : Dependency checks
103- run : |
104- make deps
105-
106- - name : Build Docker Image
107- env :
108- DOCKER_REPO : litmuschaos
109- DOCKER_IMAGE : chaos-runner
110- DOCKER_TAG : ci
111- run : |
112- make build-amd64
113-
114- - name : Running Go BDD Test
115- run : |
116- make test
117-
You can’t perform that action at this time.
0 commit comments