Skip to content

Commit 9a7dd1d

Browse files
authored
Fix promote job: use explicit paths in metalink put step (#403)
Concourse's inputs:detect cannot resolve glob patterns like compiled-linux-*/* to actual artifact names. Only version-semver was detected from the version param, so compiled-linux-amd64 and compiled-windows-amd64 task outputs were not mounted into the resource container. filepath.Glob() in the metalink resource's out script found zero files, producing a metalink with no <file> nodes, causing: 'bad metalink: content error: missing file node'. Replace globs with explicit directory names in the files param so inputs:detect can resolve them correctly.
1 parent 528a757 commit 9a7dd1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,6 @@ jobs:
641641
- put: bosh-agent-index
642642
params:
643643
files:
644-
- compiled-linux-*/*
645-
- compiled-windows-*/*
644+
- compiled-linux-amd64/*
645+
- compiled-windows-amd64/*
646646
version: version-semver/number

0 commit comments

Comments
 (0)