-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.yaml
97 lines (87 loc) · 3.36 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
includes:
- cleanup: ./tasks/cleanup.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/tasks/deploy.yaml
- upgrade: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/tasks/upgrade.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.12.0/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
# TODO: Remove pinned version after uds-common releases 0.12.1 or later
with:
version: 0.26.1
- task: deploy:test-bundle
- name: default-full
description: Create K3D Cluster with UDS-Core + Jenkins
actions:
- task: create-jenkins-test-bundle
- task: setup:k3d-full-cluster
# TODO: Remove pinned version after uds-common releases 0.12.1 or later
with:
version: 0.26.1
- 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: setup-cluster
description: Setup a K3D cluster with UDS-Core-Slim
actions:
- task: setup:k3d-test-cluster
# TODO: Remove pinned version after uds-common releases 0.12.1 or later
with:
version: 0.26.1
- name: dev
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
# TODO: Remove pinned version after uds-common releases 0.12.1 or later
with:
version: 0.26.1
- task: deploy:test-bundle
- task: setup:create-doug-user
- task: test:health-check
- task: test:ingress
- task: test:ui
- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
actions:
- task: upgrade:create-latest-tag-bundle
- task: setup:k3d-test-cluster
# TODO: Remove pinned version after uds-common releases 0.12.1 or later
with:
version: 0.26.1
- task: deploy:test-bundle
- task: create-jenkins-test-bundle
- task: deploy:test-bundle
- task: setup:create-doug-user
- task: test:health-check
- task: test:ingress
- task: test:ui