-
Notifications
You must be signed in to change notification settings - Fork 13
40 lines (37 loc) · 1.01 KB
/
minimal-spinup.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
name: Minimal Jalapeno Spinup
on:
pull_request:
branches: [main]
jobs:
Kill-XRD:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Kill XRD testbed
run: |
cd ${{ github.workspace }}/build/tools/xrd
docker-compose down
Clear-A-Cluster:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Spin it down
run: |
cd ${{ github.workspace }}/install
./destroy_minimal_jalapeno.sh microk8s.kubectl
Run-A-Cluster:
needs: Clear-A-Cluster
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Spin it up
run: |
cd ${{ github.workspace }}/install
./deploy_minimal_jalapeno.sh microk8s.kubectl
- name: Make sure it's up
run: |
cd ${{ github.workspace }}/build/tools
./cluster_up.sh microk8s.kubectl