-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.yaml
70 lines (61 loc) · 2.38 KB
/
tasks.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
includes:
- cleanup: ./tasks/cleanup.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.2/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.2/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.2/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.2/tasks/deploy.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.4.2/tasks/setup.yaml
tasks:
- name: default
description: Create K3D Cluster with UDS-Core + Jenkins
actions:
- task: create-jenkins-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- name: create-jenkins-package
description: Create UDS Jenkins Package
actions:
- task: create:package
with:
options: "--skip-sbom"
- name: create-jenkins-test-bundle
description: Create a local UDS Jenkins bundle
actions:
- task: create-jenkins-package
- task: create:test-bundle
- name: create-jenkins-latest-release-bundle
description: Create UDS Jenkins bundle based on the latest release
actions:
- task: pull:latest-package-release
with:
spoof_release: "true"
- task: create:test-bundle
- name: deploy-jenkins-test-bundle
description: Deploy the Jenkins test bundle to local cluster
actions:
- task: deploy:test-bundle
- name: local-all
description: Create then deploy local jenkins bundle
actions:
- task: create-jenkins-test-bundle
- task: deploy:test-bundle
# CI will execute the following (via uds-common/.github/actions/test) so they need to be here with these names
- name: test-package
description: Test the Jenkins package from the current branch
actions:
- task: create-jenkins-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: test:health-check
- task: test:ingress
- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
actions:
- task: create-jenkins-latest-release-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: create-jenkins-test-bundle
- task: deploy:test-bundle
- task: test:health-check
- task: test:ingress