-
Notifications
You must be signed in to change notification settings - Fork 1
/
tasks.yaml
67 lines (59 loc) · 2.35 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
includes:
- dependencies: ./tasks/dependencies.yaml
- test: ./tasks/test.yaml
- create: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.10.0/tasks/create.yaml
- lint: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.10.0/tasks/lint.yaml
- pull: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.10.0/tasks/pull.yaml
- deploy: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.10.0/tasks/deploy.yaml
- setup: https://raw.githubusercontent.com/defenseunicorns/uds-common/v0.10.0/tasks/setup.yaml
tasks:
- name: default
description: Create K3D Cluster with UDS-Core-Istio + Zalando Postgres Operator
actions:
- task: create-pg-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- name: create-pg-package
description: Create UDS Postgres Operator Package, No dependencies included
actions:
- task: create:package
with:
options: "--skip-sbom"
- name: create-pg-test-bundle
description: Create UDS Postgres Operator bundle with dependencies
actions:
- task: create-pg-package
- task: dependencies:create
- task: create:test-bundle
- name: create-pg-latest-release-bundle
description: Create UDS Postgres Operator bundle based on the latest release
actions:
- task: pull:latest-package-release
with:
spoof_release: "true"
- task: dependencies:create
- task: create:test-bundle
- name: dev
description: Deploy Postgres Operator on existing cluster
actions:
- task: create-pg-package
- task: dependencies:create
- task: create-pg-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 health of a Postgres Operator deployment
actions:
- task: create-pg-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: test:all
- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
actions:
- task: create-pg-latest-release-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: create-pg-test-bundle
- task: deploy:test-bundle
- task: test:all