-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 1.22 KB
/
smoke_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Run smoke test
on: [push]
jobs:
smoke_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install minikube helmfile and plugins
run : |
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
install minikube-linux-amd64 /usr/local/bin/minikube
minikube version
HELMFILE_VERSION=0.153.1
curl -LO https://github.com/helmfile/helmfile/releases/download/v${HELMFILE_VERSION}/helmfile_${HELMFILE_VERSION}_linux_amd64.tar.gz
tar -xzf helmfile_${HELMFILE_VERSION}_linux_amd64.tar.gz -C /usr/local/bin/
helm plugin install https://github.com/databus23/helm-diff
- name: setup
run : |
cd local-kubernetes
make kube
make install
kubectl get pod -n rococo
kubectl wait --for=condition=Ready pods --all -n rococo --timeout=900s
kubectl get pod -n rococo
- name: Tests
run : |
pwd
(cd local-kubernetes && make web-ci)
pwd
./tests/smoke_test.sh
- uses: actions/upload-artifact@v3
with:
name: web
path: output