-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtasks.yaml
39 lines (38 loc) · 1.21 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
includes:
- dev: tasks/dev.yaml
- ci: tasks/ci.yaml
- tests: tasks/tests.yaml
- local: tasks/local.yaml
tasks:
- name: clean
description: Clean the repo of all build/test artifacts
actions:
- cmd: rm -rf zarf/*.tar.zst
- cmd: rm -rf zarf/zarf-sbom
- cmd: rm -rf test/zarf-sbom
- name: build-package
description: 'Builds the production-level zarf package from all locally-built artifacts. Does not require the docker image to be pushed to the registry.'
actions:
- cmd: scripts/build_zarf_package.sh
- name: deploy-package
description: 'Deploys the zarf package to the currently configured K8s cluster.'
actions:
- dir: zarf
cmd: |
if [ ! -f zarf-config.yaml ]; then \
echo "No zarf-config.yaml found, exiting!"; \
exit 1; \
fi
- dir: zarf
cmd: |
./uds zarf -l debug --no-log-file --no-progress package deploy \
zarf-package-*-$(../scripts/get_arch.sh)-*.tar.zst --confirm
- name: test
description: Run the full end-to-end test suite
actions:
- task: clean
- task: ci:down
- task: ci:up
- task: tests:e2e
- task: ci:down
- task: clean