File tree Expand file tree Collapse file tree 2 files changed +1
-44
lines changed Expand file tree Collapse file tree 2 files changed +1
-44
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-operator
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.22
77-
78- # Install and configure a kind cluster
79- - name : Installing Prerequisites (K3S Cluster)
80- env :
81- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
82- run : |
83- curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.14-rc1+k3s1 sh -s - --docker --write-kubeconfig-mode 664
84- kubectl wait node --all --for condition=ready --timeout=90s
85- mkdir -p $HOME/.kube
86- cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
87- kubectl get nodes
88-
89- - name : Dependency checks
90- run : |
91- make deps
92-
93- - name : Build Docker Image
94- env :
95- DOCKER_REPO : litmuschaos
96- DOCKER_IMAGE : chaos-operator
97- DOCKER_TAG : ci
98- run : |
99- make build-amd64
100-
101- - name : Running Go BDD Test
102- run : |
103- make test
61+ run : make push-chaos-operator
Original file line number Diff line number Diff line change 2020
2121 image-build :
2222 runs-on : ubuntu-latest
23- needs : tests
2423 steps :
2524 # Checkout to the latest commit
2625 # On specific directory/path
You can’t perform that action at this time.
0 commit comments