-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.yaml
73 lines (64 loc) · 2.47 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
includes:
- cleanup: ./tasks/cleanup.yaml
- dependencies: ./tasks/dependencies.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.6.0/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.6.0/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.6.0/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.6.0/tasks/deploy.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.6.0/tasks/setup.yaml
tasks:
- name: default
description: Create K3D Cluster with UDS-Core + Confluence
actions:
- task: create-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- name: create-package
description: Create UDS Confluence Package, No dependencies included
actions:
- task: create:package
with:
options: "--skip-sbom"
- name: create-test-bundle
description: Create a local UDS Confluence bundle with dependencies
actions:
- task: create-package
- task: dependencies:create
- task: create:test-bundle
- name: create-latest-release-bundle
description: Create UDS Confluence bundle with dependencies based on the latest release
actions:
- task: pull:latest-package-release
with:
spoof_release: "true"
- task: dependencies:create
- task: create:test-bundle
- name: setup-cluster
description: Setup a K3D cluster with UDS-Core-Slim
actions:
- task: setup:k3d-test-cluster
- name: local-all
description: Create then deploy local confluence bundle
actions:
- task: create-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 Confluence package from the current branch
actions:
- task: create-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-latest-release-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: create-test-bundle
- task: deploy:test-bundle
- task: test:health-check
- task: test:ingress