File tree Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Original file line number Diff line number Diff line change 6464 DNAME : ${{ secrets.DNAME }}
6565 DPASS : ${{ secrets.DPASS }}
6666 run : make push-chaos-operator
67-
68- tests :
69- needs : pre-checks
70- runs-on : ubuntu-latest
71- steps :
72- # Checkout to the latest commit
73- # On specific directory/path
74- - name : Checkout
75- uses : actions/checkout@v2
76-
77- # Install golang
78- - uses : actions/setup-go@v2
79- with :
80- go-version : 1.22
81-
82- # Install and configure a kind cluster
83- - name : Installing Prerequisites (K3S Cluster)
84- env :
85- KUBECONFIG : /etc/rancher/k3s/k3s.yaml
86- run : |
87- curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.14-rc1+k3s1 sh -s - --docker --write-kubeconfig-mode 664
88- kubectl wait node --all --for condition=ready --timeout=90s
89- mkdir -p $HOME/.kube
90- cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
91- kubectl get nodes
92-
93- - name : Dependency checks
94- run : |
95- make deps
96-
97- - name : Build Docker Image
98- env :
99- DOCKER_REPO : litmuschaos
100- DOCKER_IMAGE : chaos-operator
101- DOCKER_TAG : ci
102- run : |
103- make build-amd64
104-
105- - name : Running Go BDD Test
106- run : |
107- make test
You can’t perform that action at this time.
0 commit comments