Skip to content

Commit 0c8e3ac

Browse files
committed
feat(ISV-7220): switch pipelines to rh-direct-sign-image
Replace rh-sign-image with rh-direct-sign-image in the rh-advisories, rh-push-to-registry-redhat-io, and rh-push-helm-chart-to-registry-redhat-io pipelines. Remove the releasePlanAdmissionPath param that is not used by the new task and update references in tests, READMEs, and task description. JIRA: ISV-7220, ISV-7219
1 parent ea05ae3 commit 0c8e3ac

8 files changed

Lines changed: 15 additions & 27 deletions

File tree

integration-tests/rh-advisories-idempotent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This test validates idempotent re-release behavior for the `rh-advisories` pipel
5757
## Acceptance Criteria
5858

5959
- Second release: all major tasks (`create-advisory`, `push-snapshot`, `verify-conforma`,
60-
`rh-sign-image`, etc.) appear in `skippedTasks`
60+
`rh-direct-sign-image`, etc.) appear in `skippedTasks`
6161
- `advisory.url` present in second release `status.artifacts` (written by
6262
`update-cr-status-skipped` from filter result, not `create-advisory`)
6363

integration-tests/rh-advisories-idempotent/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ verify_release_contents() {
282282
"populate-release-notes"
283283
"embargo-check"
284284
"set-advisory-severity"
285-
"rh-sign-image"
285+
"rh-direct-sign-image"
286286
"rh-sign-image-cosign"
287287
"push-snapshot"
288288
"create-pyxis-image"

integration-tests/rh-advisories-large-snapshot/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The `test-report` finally task always runs and actively diagnoses failures:
122122

123123
- **Pre-pipeline failures** (e.g. `generate-large-snapshot.sh` errors): the
124124
failed component, step, command, and exit code are shown.
125-
- **Managed pipeline failures** (e.g. `apply-mapping`, `rh-sign-image`): the
125+
- **Managed pipeline failures** (e.g. `apply-mapping`, `rh-direct-sign-image`): the
126126
`test-report` task queries the cluster directly and shows the failed task
127127
name, TaskRun name, Tekton condition message, and — if the pod has not yet
128128
been garbage-collected — the last matching error lines from the pod log

pipelines/managed/rh-advisories/rh-advisories.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,8 @@ spec:
593593
- name: taskGitRevision
594594
value: "$(params.taskGitRevision)"
595595
runAfter:
596-
- rh-sign-image
597-
- name: rh-sign-image
596+
- rh-direct-sign-image
597+
- name: rh-direct-sign-image
598598
timeout: "6h00m0s"
599599
when:
600600
- input: "$(tasks.filter-already-released-advisory-images.results.skip_release)"
@@ -609,19 +609,15 @@ spec:
609609
- name: revision
610610
value: $(params.taskGitRevision)
611611
- name: pathInRepo
612-
value: tasks/managed/rh-sign-image/rh-sign-image.yaml
612+
value: tasks/managed/rh-direct-sign-image/rh-direct-sign-image.yaml
613613
params:
614614
- name: snapshotPath
615615
value: "$(tasks.collect-data.results.snapshotSpec)"
616616
- name: dataPath
617617
value: "$(tasks.collect-data.results.data)"
618-
- name: releasePlanAdmissionPath
619-
value: "$(tasks.collect-data.results.releasePlanAdmission)"
620618
- name: requester
621619
value: $(tasks.extract-requester-from-release.results.output-result)
622620
- name: requestTimeout
623-
# The RADAS timeout when it fails to receive a response is 5 mins.
624-
# Give RADAS enough time to retry its request.
625621
value: 1800
626622
- name: pipelineRunUid
627623
value: $(context.pipelineRun.uid)
@@ -1054,7 +1050,7 @@ spec:
10541050
- embargo-check
10551051
- push-rpm-data-to-pyxis
10561052
- run-file-updates
1057-
- rh-sign-image
1053+
- rh-direct-sign-image
10581054
- rh-sign-image-cosign
10591055
- set-advisory-severity
10601056
- name: close-advisory-issues

pipelines/managed/rh-push-helm-chart-to-registry-redhat-io/rh-push-helm-chart-to-registry-redhat-io.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ spec:
426426
- name: taskGitRevision
427427
value: "$(params.taskGitRevision)"
428428
runAfter:
429-
- rh-sign-image
430-
- name: rh-sign-image
429+
- rh-direct-sign-image
430+
- name: rh-direct-sign-image
431431
timeout: "6h00m0s"
432432
retries: 3
433433
taskRef:
@@ -438,19 +438,15 @@ spec:
438438
- name: revision
439439
value: $(params.taskGitRevision)
440440
- name: pathInRepo
441-
value: tasks/managed/rh-sign-image/rh-sign-image.yaml
441+
value: tasks/managed/rh-direct-sign-image/rh-direct-sign-image.yaml
442442
params:
443443
- name: snapshotPath
444444
value: "$(tasks.collect-data.results.snapshotSpec)"
445445
- name: dataPath
446446
value: "$(tasks.collect-data.results.data)"
447-
- name: releasePlanAdmissionPath
448-
value: "$(tasks.collect-data.results.releasePlanAdmission)"
449447
- name: requester
450448
value: $(tasks.extract-requester-from-release.results.output-result)
451449
- name: requestTimeout
452-
# The RADAS timeout when it fails to receive a response is 5 mins.
453-
# Give RADAS enough time to retry its request.
454450
value: 1800
455451
- name: pipelineRunUid
456452
value: $(context.pipelineRun.uid)

pipelines/managed/rh-push-to-registry-redhat-io/rh-push-to-registry-redhat-io.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ spec:
397397
- name: taskGitRevision
398398
value: "$(params.taskGitRevision)"
399399
runAfter:
400-
- rh-sign-image
401-
- name: rh-sign-image
400+
- rh-direct-sign-image
401+
- name: rh-direct-sign-image
402402
timeout: "6h00m0s"
403403
retries: 3
404404
taskRef:
@@ -409,19 +409,15 @@ spec:
409409
- name: revision
410410
value: $(params.taskGitRevision)
411411
- name: pathInRepo
412-
value: tasks/managed/rh-sign-image/rh-sign-image.yaml
412+
value: tasks/managed/rh-direct-sign-image/rh-direct-sign-image.yaml
413413
params:
414414
- name: snapshotPath
415415
value: "$(tasks.collect-data.results.snapshotSpec)"
416416
- name: dataPath
417417
value: "$(tasks.collect-data.results.data)"
418-
- name: releasePlanAdmissionPath
419-
value: "$(tasks.collect-data.results.releasePlanAdmission)"
420418
- name: requester
421419
value: $(tasks.extract-requester-from-release.results.output-result)
422420
- name: requestTimeout
423-
# The RADAS timeout when it fails to receive a response is 5 mins.
424-
# Give RADAS enough time to retry its request.
425421
value: 1800
426422
- name: pipelineRunUid
427423
value: $(context.pipelineRun.uid)

tasks/managed/publish-pyxis-repository/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ requires_terms=true), one repository string per line, e.g. "rhtas/cosign-rhel9".
2121
Only standard (non-flatpak) repositories are included; flatpak repos are never added.
2222

2323
Note: This task runs quite early on in the pipeline, because we need the result it produces
24-
for the signing tasks (and `rh-sign-image` runs quite early to begin with). So this means
24+
for the signing tasks (and `rh-direct-sign-image` runs quite early to begin with). So this means
2525
that if you're releasing to a repo for the first time, the repository might get published
2626
even before the actual image is pushed and published. But we checked with RHEC team and this
2727
shouldn't cause any problems, because RHEC will ignore repos with no published images.

tasks/managed/publish-pyxis-repository/publish-pyxis-repository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
Only standard (non-flatpak) repositories are included; flatpak repos are never added.
3030
3131
Note: This task runs quite early on in the pipeline, because we need the result it produces
32-
for the signing tasks (and `rh-sign-image` runs quite early to begin with). So this means
32+
for the signing tasks (and `rh-direct-sign-image` runs quite early to begin with). So this means
3333
that if you're releasing to a repo for the first time, the repository might get published
3434
even before the actual image is pushed and published. But we checked with RHEC team and this
3535
shouldn't cause any problems, because RHEC will ignore repos with no published images.

0 commit comments

Comments
 (0)