-
Notifications
You must be signed in to change notification settings - Fork 28
/
tasks.yaml
133 lines (120 loc) · 4.31 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/uds-cli/v0.16.0/tasks.schema.json
includes:
- badge: https://raw.githubusercontent.com/defenseunicorns/uds-common/82e63be82766a2e550a847af904b2d738c9d3478/tasks/badge.yaml
tasks:
- name: nightly-uds-badge-verification
description: "Runs in a pipeline and produces a report for archiving"
actions:
- description: "Create Reports Directory"
cmd: |
mkdir -p reports
- description: "Run UDS Badge Verification Task"
cmd: |
uds run verify-uds-badge-cpu --no-progress 2>&1 | tee ./reports/intermediate-report.txt
- description: "Clean Up Final Report"
cmd: |
python3 .github/scripts/uds_verification_report.py | tee ./reports/final-report.txt
#############
# BADGE TASKS
#############
- name: verify-uds-badge-cpu
description: "Runs through all CPU UDS bundle packages with the UDS badge verification test"
actions:
- task: verify-uds-badge-api
- task: verify-uds-badge-ui
- task: verify-uds-badge-llama-cpp-python
- task: verify-uds-badge-text-embeddings
- task: verify-uds-badge-whisper
- task: verify-uds-badge-supabase
- name: verify-uds-badge-gpu
description: "Runs through all GPU UDS bundle packages with the UDS badge verification test"
actions:
- task: verify-uds-badge-api
- task: verify-uds-badge-ui
- task: verify-uds-badge-vllm
- task: verify-uds-badge-text-embeddings
- task: verify-uds-badge-whisper
- task: verify-uds-badge-supabase
#######################
# RE-USABLE BADGE TASKS
#######################
- name: verify-uds-badge-api
actions:
- description: "Verify API"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="true" \
--set PACKAGE_DIR="packages/api" \
--no-progress
- name: verify-uds-badge-ui
actions:
- description: "Verify UI"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/ui" \
--no-progress
- name: verify-uds-badge-llama-cpp-python
actions:
- description: "Verify LLaMA-CPP-Python"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/llama-cpp-python" \
--no-progress
- name: verify-uds-badge-vllm
actions:
- description: "Verify vLLM"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/vllm" \
--no-progress
- name: verify-uds-badge-text-embeddings
actions:
- description: "Verify Text-Embeddings"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/text-embeddings" \
--no-progress
- name: verify-uds-badge-whisper
actions:
- description: "Verify Whisper"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/whisper" \
--no-progress
- name: verify-uds-badge-repeater
actions:
- description: "Verify Repeater"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/repeater" \
--no-progress
- name: verify-uds-badge-supabase
actions:
- description: "Verify Supabase"
cmd: |
uds run badge:verify-badge \
--set CHART_PATH="chart" \
--set GROUP_NAME="package" \
--set COMMON_ZARF="false" \
--set PACKAGE_DIR="packages/supabase" \
--no-progress