fix: accept YAML-declared artifact lanes
This commit is contained in:
@@ -52,7 +52,7 @@ const sourceStates = new Set([
|
||||
"source-present",
|
||||
"intentionally-disabled"
|
||||
]);
|
||||
const runtimeArtifactLanePattern = /^v\d{2,}$/u;
|
||||
const runtimeArtifactLanePattern = /^[a-z][a-z0-9-]*$/u;
|
||||
|
||||
const ciArtifactIdentityEnvNames = [
|
||||
"HWLAB_CI_ARTIFACT_RUN_ID",
|
||||
@@ -205,7 +205,7 @@ function printHelp() {
|
||||
"Commit-pinned artifact build/publish helper for controlled CI execution.",
|
||||
"",
|
||||
"options:",
|
||||
" --lane LANE node or runtime lane vNN; default: node",
|
||||
" --lane LANE node or a lane declared in deploy.lanes; default: node",
|
||||
` --catalog-path PATH default: ${defaultCatalogPath}`,
|
||||
` --deploy-config PATH default: ${defaultDeployPath}`,
|
||||
" --image-tag-mode MODE short or full; v02 uses full source commit IDs",
|
||||
|
||||
Reference in New Issue
Block a user