Skip to content

Commit 73c7c3b

Browse files
shepherdjerredCI Botclaude
authored
fix(ci): helm-push downloads flat cdk8s dist (drop fatal **/* glob) (#1607)
helm-push failed deterministically on every main build (6007: "no artifacts found for downloading"). verify uploads the cdk8s synth as FLAT files (dist/<chart>.k8s.yaml — 32 of them). helm-push's first download was `dist/**/*`, whose `**/*` needs a subdirectory segment, so it matched none of the flat files; buildkite-agent treats "no artifacts found" as fatal and killed the step before the `dist/*` download (which does match) ever ran. Drop the fatal `dist/**/*` line; `dist/*` retrieves the flat synth output. (The `sjer.red/dist/**/*` download elsewhere is fine — that dist has nested `_astro/` subdirs, so it matches.) Co-authored-by: CI Bot <ci@sjer.red> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d6365f4 commit 73c7c3b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.buildkite/pipeline.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,11 @@ steps:
10671067
command: |
10681068
if ! bash .buildkite/scripts/ci-changed.sh helm; then exit 0; fi
10691069
. .buildkite/scripts/toolchain.sh
1070-
buildkite-agent artifact download "packages/homelab/src/cdk8s/dist/**/*" . --step verify
1070+
# cdk8s synth output is flat (`dist/<chart>.k8s.yaml`), so `dist/*` matches
1071+
# it. The former `dist/**/*` download failed fatally here: buildkite-agent's
1072+
# `**/*` needs a subdirectory segment, matches none of the flat files, and
1073+
# treats "no artifacts found" as fatal — killing the step before this
1074+
# `dist/*` download (which does match) ever ran (build 6007).
10711075
buildkite-agent artifact download "packages/homelab/src/cdk8s/dist/*" . --step verify
10721076
bun --no-install packages/homelab/scripts/helm-push.ts "$BUILDKITE_BUILD_NUMBER"
10731077
retry: *retry

0 commit comments

Comments
 (0)