-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.yaml
37 lines (36 loc) · 1.12 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
includes:
- ci: test/tasks/ci.yaml
- tests: test/tasks/test.yaml
tasks:
- name: clean
description: Clean the repo of all build/test artifacts
actions:
- cmd: rm -f zarf-config.yaml
- cmd: rm -f *.tar.zst
- cmd: rm -rf test/zarf-sbom
- cmd: rm -f test/workflows/*.tar.zst
- name: build-package
description: Builds the production-level zarf package to deploy vanilla argo workflows
actions:
- cmd: uds zarf package create --confirm --flavor vanilla
- name: deploy-package
description: Deploys the zarf package
actions:
- cmd: |
if [ ! -f zarf-config.yaml ]; then \
echo "No zarf-config.yaml found, exiting!"; \
exit 1; \
fi
- cmd: |
uds zarf -l debug --no-log-file --no-progress package deploy \
zarf-package-argo-workflows-*.tar.zst --confirm \
--components=dev-setup
- name: test
description: Run the full end-to-end test suite
actions:
- task: clean
- task: ci:up
- task: tests:template-up
- task: tests:submit-workflow
- task: ci:down
- task: clean