-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathTaskfile.yml
More file actions
66 lines (55 loc) · 1.63 KB
/
Copy pathTaskfile.yml
File metadata and controls
66 lines (55 loc) · 1.63 KB
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
# yaml-language-server: $schema=https://taskfile.dev/schema.json
---
version: "3"
tasks:
default:
desc: List tasks
silent: true
cmds:
- task --list
bootstrap:
desc: Install reference component dependencies
cmds:
- ./scripts/bootstrap.sh
security:
desc: Scan repository for secrets
cmds:
- ./scripts/security.sh
security:trivy:
desc: Scan repository with Trivy
cmds:
- ./scripts/trivy.sh
validate:code:
desc: Validate code and infrastructure
cmds:
- ./scripts/validate-code.sh
validate:audit:
desc: Audit reference component dependencies
cmds:
- ./scripts/audit-deps.sh
validate:containers:
desc: Build reference component containers
cmds:
- ./scripts/validate-containers.sh
validate:containers:trivy:
desc: Build and scan reference component containers with Trivy
cmds:
- ./scripts/scan-containers.sh
validate:
desc: Run complete repository validation
cmds:
- task: bootstrap
- task: security
- task: validate:code
- task: validate:containers
test:skill:
desc: Run the unattended CAIRA skill test
cmds:
- ./scripts/test-skill.sh
clean:
desc: Clean generated outputs
cmds:
- find reference-architectures -name ".terraform" -type d -prune -exec rm -rf {} +
- find reference-architectures -name ".terraform.lock.hcl" -type f -delete
- find reference-architectures -name "*.tfstate*" -type f -delete
- find reference-architectures -type d \( -name node_modules -o -name dist -o -name bin -o -name obj -o -name .terraform \) -prune -exec rm -rf {} +