Repository navigation
Commit f28c5bc
Surface unset R2 secrets clearly in the model catalog publish script
The publish-model-catalog workflow was failing with the opaque
"Invalid argument near --bucket" because the R2_MODELS_ACCESS_KEY_ID,
R2_MODELS_SECRET_ACCESS_KEY, R2_ACCOUNT_ID, and R2_MODELS_BUCKET
secrets are not yet configured on this repository, so every flag
value resolved to an empty string. parseArgs now distinguishes a
malformed flag from an empty value and names the offending flag so
the real cause (an unset secret/environment variable) is obvious from
the job log. Also renamed the "Generate Pi-compatible catalog" step
to "Generate model catalog" to match the workflow's own name.
Co-authored-by: Autohand Evolve <code-noreply@autohand.ai>1 parent c47a0f7 commit f28c5bc
3 files changed
Lines changed: 25 additions & 2 deletions
File tree
- .github
- scripts
- workflows
- tests/github
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
93 | 115 | | |
94 | 116 | | |
95 | 117 | | |
| |||
0 commit comments