-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1.09 KB
/
ci.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
42
43
# Qserv operator CI workflow
---
name: "CI"
on:
push:
pull_request:
branches:
- master
jobs:
main:
name: Run k8s advanced exercices
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Stop apparmor
run: |
sudo /etc/init.d/apparmor stop
- uses: actions/setup-go@v3
with:
go-version: '^1.19.2'
- name: Create k8s/kind cluster
run: |
go install github.com/k8s-school/ktbx@v1.1.1-rc17
ktbx create -c
- name: Install ink
run: |
go install github.com/k8s-school/ink@v0.0.1-rc3
- name: Run test on internals
run: |
./labs/1_internals/ci.sh
- name: Run test on authorization
run: |
./labs/2_authorization/ci.sh
- name: Run test on policies
run: |
./labs/3_policies/ci.sh
- name: Run test on computational resources
run: |
./labs/4_computational_resources/ci.sh
- name: Install prometheus
run: |
./labs/B_prometheus/install.sh