chore(cicd): render TaskTree production pipeline
This commit is contained in:
@@ -711,9 +711,9 @@ test("artifact reuse paths preserve catalog provenance instead of current planne
|
||||
assert.match(artifactPublish, /envReuseRecipe: servicePlan\.envReuseRecipe \?\? null/u);
|
||||
assert.match(artifactPublish, /componentInputHash: serviceResultValue\(env, service\.serviceId, "COMPONENT_INPUT_HASH"\) \?\? \(reusedServiceImage \? null : service\.componentInputHash \?\? null\)/u);
|
||||
|
||||
const gitopsRender = await readFile("scripts/gitops-render.mjs", "utf8");
|
||||
assert.match(gitopsRender, /const componentInputHash = envReuse \? \(planned\.componentInputHash \|\| service\.componentInputHash \|\| ""\) : \(service\.componentInputHash \|\| ""\);/u);
|
||||
assert.doesNotMatch(gitopsRender, /"component-input-hash": planned\.componentInputHash \|\| service\.componentInputHash \|\| ""/u);
|
||||
const perServicePublish = await readFile("scripts/src/gitops-render/templates/per-service-publish.sh", "utf8");
|
||||
assert.match(perServicePublish, /const componentInputHash = envReuse \? \(planned\.componentInputHash \|\| service\.componentInputHash \|\| ""\) : \(service\.componentInputHash \|\| ""\);/u);
|
||||
assert.doesNotMatch(perServicePublish, /"component-input-hash": planned\.componentInputHash \|\| service\.componentInputHash \|\| ""/u);
|
||||
});
|
||||
|
||||
test("artifact publish ignores stale external reports for envreuse services that do not need current build artifacts", async () => {
|
||||
|
||||
Reference in New Issue
Block a user