-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.yaml
85 lines (76 loc) · 3.3 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
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
includes:
- dependencies: ./tasks/dependencies.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/create.yaml
- publish: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/publish.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/deploy.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/setup.yaml
- actions: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/actions.yaml
- badge: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/badge.yaml
- upgrade: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/upgrade.yaml
- compliance: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.5.1/tasks/compliance.yaml
tasks:
- name: default
description: Create K3D Cluster with UDS-Core (Dev) and Renovate
actions:
- task: create-dev-package
- task: setup:k3d-test-cluster
- task: dependencies:deploy
- task: create-deploy-test-bundle
- name: create-dev-package
description: Create the Renovate package
actions:
- task: create:package
with:
options: "--skip-sbom"
- name: create-deploy-test-bundle
description: Test and validate cluster is deployed with Renovate
actions:
- task: create:test-bundle
- task: deploy:test-bundle
- task: setup:create-doug-user
- task: test:all
- name: dev
description: Create and deploy the bundle against an existing cluster
actions:
- task: create-dev-package
- task: create:test-bundle
- task: deploy:test-bundle
# CI will execute the following (via uds-common/.github/workflows/callable-[test|publish].yaml) so they need to be here with these names
- name: test-install
description: Test the health of a Renovate deployment
actions:
- task: create-dev-package
- task: setup:k3d-test-cluster
- task: dependencies:deploy
- task: create-deploy-test-bundle
- task: compliance:validate
- 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
- task: dependencies:deploy
- task: deploy:test-bundle
- task: compliance:validate
- task: create-dev-package
- task: create-deploy-test-bundle
- task: compliance:validate
- task: compliance:evaluate
- name: publish-release
description: Build and publish the packages
actions:
- task: actions:determine-arch
- task: create:package
- task: setup:k3d-test-cluster
if: ${{ ne .variables.ARCH "arm64" }}
- task: dependencies:deploy
if: ${{ ne .variables.ARCH "arm64" }}
- task: create-deploy-test-bundle
if: ${{ ne .variables.ARCH "arm64" }}
- description: Publish the package
task: publish:package