File tree 2 files changed +1
-44
lines changed
2 files changed +1
-44
lines changed Original file line number Diff line number Diff line change 31
31
32
32
image-build :
33
33
runs-on : ubuntu-latest
34
- needs : tests
35
34
steps :
36
35
# Checkout to the latest commit
37
36
# On specific directory/path
59
58
DOCKER_TAG : ci
60
59
DNAME : ${{ secrets.DNAME }}
61
60
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 20
20
21
21
image-build :
22
22
runs-on : ubuntu-latest
23
- needs : tests
24
23
steps :
25
24
# Checkout to the latest commit
26
25
# On specific directory/path
You can’t perform that action at this time.
0 commit comments