Skip to content

Commit

Permalink
chore: rework task ordering (#465)
Browse files Browse the repository at this point in the history
- sign before we push
- push before we create-pyxis-image
- push-rpms before we publish-pyxis-repository
- ensure we always run apply-mapping early on
- make sure create-advisory is last

Signed-off-by: Scott Hebert <[email protected]>
  • Loading branch information
scoheb authored Jul 9, 2024
1 parent 4a4b1c3 commit dbdc4f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions pipelines/rh-advisories/rh-advisories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ spec:
- name: pathInRepo
value: tasks/populate-release-notes-images/populate-release-notes-images.yaml
resolver: git
runAfter:
- apply-mapping
workspaces:
- name: data
workspace: release-workspace
Expand Down Expand Up @@ -253,7 +255,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- embargo-check
- rh-sign-image
- name: collect-pyxis-params
taskRef:
resolver: "git"
Expand Down Expand Up @@ -324,7 +326,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- rh-sign-image
- push-snapshot
- name: publish-pyxis-repository
taskRef:
resolver: "git"
Expand All @@ -348,7 +350,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- create-pyxis-image
- push-rpm-manifests-to-pyxis
- name: push-rpm-manifests-to-pyxis
taskRef:
resolver: "git"
Expand All @@ -369,6 +371,8 @@ spec:
workspaces:
- name: data
workspace: release-workspace
runAfter:
- create-pyxis-image
- name: run-file-updates
params:
- name: fileUpdatesPath
Expand Down Expand Up @@ -442,6 +446,7 @@ spec:
runAfter:
- check-data-keys
- embargo-check
- publish-pyxis-repository
- name: update-cr-status
params:
- name: resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- verify-enterprise-contract
- rh-sign-image
- name: collect-pyxis-params
taskRef:
resolver: "git"
Expand Down Expand Up @@ -257,6 +257,9 @@ spec:
workspaces:
- name: data
workspace: release-workspace
runAfter:
- verify-enterprise-contract
- apply-mapping
- name: create-pyxis-image
taskRef:
resolver: "git"
Expand All @@ -280,7 +283,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- rh-sign-image
- push-snapshot
- name: publish-pyxis-repository
taskRef:
resolver: "git"
Expand All @@ -304,7 +307,7 @@ spec:
- name: data
workspace: release-workspace
runAfter:
- create-pyxis-image
- push-rpm-manifests-to-pyxis
- name: push-rpm-manifests-to-pyxis
taskRef:
resolver: "git"
Expand All @@ -325,6 +328,8 @@ spec:
workspaces:
- name: data
workspace: release-workspace
runAfter:
- create-pyxis-image
- name: run-file-updates
params:
- name: fileUpdatesPath
Expand Down

0 comments on commit dbdc4f3

Please sign in to comment.