-
Notifications
You must be signed in to change notification settings - Fork 26
46 lines (36 loc) · 1.04 KB
/
clean-tests.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
44
45
46
---
name: Clean Target Verification
on:
pull_request:
permissions: {}
env:
DEBUG_PRINT: true
jobs:
clean-clusters:
name: Cluster Clean-up
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Deploy clusters
env:
TIMEOUT: 1m
run: make clusters
- name: Clean up clusters
run: make clean-clusters
- name: Check that clusters are gone
run: test "$(kind get clusters 2>&1)" = "No kind clusters found."
clean-generated:
name: Generated Files Clean-up
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Build images
run: make images
- name: Clean up generated files
run: make clean-generated
- name: Check that image markers are gone
run: test package/.image.* = "package/.image.*"