-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.yaml
93 lines (80 loc) · 3.46 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
# 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.4.0/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/deploy.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/setup.yaml
- actions: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/actions.yaml
- badge: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/badge.yaml
- upgrade: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/upgrade.yaml
- compliance: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/compliance.yaml
- publish: https://raw.githubusercontent.com/defenseunicorns/uds-common/v1.4.0/tasks/publish.yaml
tasks:
- name: default
description: Create K3D Cluster with lite UDS-Core + Confluence
actions:
- task: create-dev-package
- task: setup:k3d-test-cluster
- task: create-deploy-test-bundle
- name: default-full
description: Create K3D Cluster with full UDS-Core + Confluence
actions:
- task: create-dev-package
- task: setup:k3d-full-cluster
- task: create-deploy-test-bundle
- name: create-dev-package
description: Create the Confluence package
actions:
- task: create:package
with:
options: "--skip-sbom"
- name: create-deploy-test-bundle
description: Test and validate cluster is deployed with Confluence
actions:
- task: create-dev-package
- task: dependencies:create
- task: create:test-bundle
- task: deploy:test-bundle
- task: setup:create-doug-user
- task: test:all
- name: dev
description: Create and deploy the bundle on an existing cluster (for iteration/dev speed)
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.yaml) so they need to be here with these names
- name: test-package
description: Test deploying the current branch to a new cluster
actions:
- task: create-dev-package
- task: setup:k3d-test-cluster
- task: create-deploy-test-bundle
- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
actions:
- task: upgrade:create-latest-tag-bundle
with:
dep_commands: "./uds run dependencies:create"
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: create-deploy-test-bundle
- name: publish-package
description: Build and publish the packages
actions:
- description: Create the package
task: create:package
- description: Setup the cluster
task: setup:k3d-test-cluster
- description: Create deploy and test the bundle
task: create-deploy-test-bundle
- description: Publish the packages
task: publish:package
with:
# x-release-please-start-version
version: "7.98.9-uds.0"
# x-release-please-end