-
Notifications
You must be signed in to change notification settings - Fork 2
/
tasks.yaml
72 lines (62 loc) · 2.53 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/uds-cli/main/tasks.schema.json
includes:
- create: ./tasks/create.yaml
- deploy: ./tasks/deploy.yaml
- delete: ./tasks/delete.yaml
- publish: ./tasks/publish.yaml
- setup: ./tasks/setup/main.yaml
- vars: ./tasks/setup/vars.yaml
variables:
- name: ENV_VAR_FILE
default: .env
type: file
tasks:
# - name: set-preflight-env-vars
# description: "Set environment variables"
# actions:
# - task: vars:convenience-vars
# - task: vars:source-env-vars
# - task: vars:set-runner-vars
# # setup environment for deployment
# ## k3d
# - name: setup-k3d-cluster
# description: "Setup the cluster"
# actions:
# - task: set-preflight-env-vars
# - task: setup:k3d-istio-bundle
# - name: delete-cluster
# actions:
# - task: delete:k3d-delete-cluster
- name: registry-login
actions:
- task: setup:registry-login
with:
registry: ${REGISTRY}
registryUsername: ${REGISTRY_USERNAME}
registryPassword: ${REGISTRY_PASSWORD}
registryRetryInterval: ${REGISTRY_RETRY_INTERVAL}
# Packages and bundles
## zarf packages
### create packages
- name: create-single-zarf-package
description: "Create single zarf with nested ./uds run command, specify the package name with the environment variable ${ZARF_PACKAGE_NAME}"
actions:
- task: create:create-single-zarf-package
- name: create-all-zarf-packages
description: "Create all zarf packages - you need to specify ZARF_ARCHITECTURE and ZARF_CONFIG environment variables"
actions:
- task: create:create-all-zarf-packages
- name: create-single-zarf-package-with-all-architectures
description: "Create single zarf package with all architectures, specify the package name with the environment variable ${ZARF_PACKAGE_NAME}"
actions:
- task: create:create-single-zarf-package-with-all-architectures
- name: create-and-publish-single-zarf-package-with-all-architectures
description: "Create and publish single zarf package, specify the package name with the environment variable ${ZARF_PACKAGE_NAME}"
actions:
- task: create:create-single-zarf-package-with-all-architectures
- task: publish:publish-and-retag-upstream
- name: create-and-publish-all-zarf-packages-all-architectures
description: "Create and publish all zarf packages"
actions:
- task: create:create-all-zarf-packages-all-architectures
# - task: publish:publish-and-retag-upstream