Skip to content

Commit

Permalink
Use a default 4h task timeout in rh-advisories pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Jan 28, 2025
1 parent 8376e33 commit 3235f13
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pipelines/managed/rh-advisories/rh-advisories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ spec:
value: $(tasks.create-advisory.results.advisory_url)
tasks:
- name: verify-access-to-resources
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand All @@ -90,6 +91,7 @@ spec:
- name: requireInternalServices
value: "true"
- name: collect-data
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand Down Expand Up @@ -118,6 +120,7 @@ spec:
runAfter:
- verify-access-to-resources
- name: reduce-snapshot
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand All @@ -144,6 +147,7 @@ spec:
runAfter:
- collect-data
- name: extract-requester-from-release
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand Down Expand Up @@ -171,6 +175,7 @@ spec:
runAfter:
- verify-access-to-resources
- name: apply-mapping
timeout: "4h"
retries: 3
taskRef:
resolver: "git"
Expand Down Expand Up @@ -227,6 +232,7 @@ spec:
runAfter:
- apply-mapping
- name: populate-release-notes-images
timeout: "4h"
params:
- name: dataPath
value: "$(tasks.collect-data.results.data)"
Expand All @@ -247,6 +253,7 @@ spec:
- name: data
workspace: release-workspace
- name: embargo-check
timeout: "4h"
params:
- name: dataPath
value: "$(tasks.collect-data.results.data)"
Expand All @@ -271,6 +278,7 @@ spec:
runAfter:
- populate-release-notes-images
- name: collect-cosign-params
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand Down Expand Up @@ -318,6 +326,7 @@ spec:
- push-snapshot
- collect-cosign-params
- name: push-snapshot
timeout: "4h"
retries: 5
when:
- input: "$(tasks.apply-mapping.results.mapped)"
Expand Down Expand Up @@ -345,6 +354,7 @@ spec:
runAfter:
- rh-sign-image
- name: collect-pyxis-params
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand Down Expand Up @@ -408,6 +418,7 @@ spec:
- publish-pyxis-repository
- extract-requester-from-release
- name: create-pyxis-image
timeout: "4h"
retries: 5
taskRef:
resolver: "git"
Expand Down Expand Up @@ -435,6 +446,7 @@ spec:
runAfter:
- push-snapshot
- name: publish-pyxis-repository
timeout: "4h"
retries: 5
taskRef:
resolver: "git"
Expand Down Expand Up @@ -463,6 +475,7 @@ spec:
- collect-pyxis-params
- apply-mapping
- name: push-rpm-data-to-pyxis
timeout: "4h"
retries: 5
taskRef:
resolver: "git"
Expand All @@ -486,6 +499,7 @@ spec:
runAfter:
- create-pyxis-image
- name: update-component-sbom
timeout: "4h"
when:
- input: "$(tasks.collect-atlas-params.results.secretName)"
operator: notin
Expand Down Expand Up @@ -513,6 +527,7 @@ spec:
- push-rpm-data-to-pyxis
- populate-release-notes-images
- name: upload-component-sbom
timeout: "4h"
when:
- input: "$(tasks.collect-atlas-params.results.secretName)"
operator: notin
Expand Down Expand Up @@ -541,6 +556,7 @@ spec:
runAfter:
- update-component-sbom
- name: run-file-updates
timeout: "4h"
params:
- name: fileUpdatesPath
value: $(tasks.collect-data.results.data)
Expand Down Expand Up @@ -572,6 +588,7 @@ spec:
- name: data
workspace: release-workspace
- name: check-data-keys
timeout: "4h"
params:
- name: dataPath
value: "$(tasks.collect-data.results.data)"
Expand All @@ -598,6 +615,7 @@ spec:
runAfter:
- populate-release-notes-images
- name: collect-atlas-params
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand All @@ -616,6 +634,7 @@ spec:
runAfter:
- collect-data
- name: create-product-sbom
timeout: "4h"
when:
- input: "$(tasks.collect-atlas-params.results.secretName)"
operator: notin
Expand All @@ -639,6 +658,7 @@ spec:
- collect-atlas-params
- populate-release-notes-images
- name: upload-product-sbom
timeout: "4h"
when:
- input: "$(tasks.collect-atlas-params.results.secretName)"
operator: notin
Expand Down Expand Up @@ -667,6 +687,7 @@ spec:
runAfter:
- create-product-sbom
- name: create-advisory
timeout: "4h"
retries: 5
params:
- name: releasePlanAdmissionPath
Expand Down Expand Up @@ -699,6 +720,7 @@ spec:
- rh-sign-image
- rh-sign-image-cosign
- name: update-cr-status
timeout: "4h"
params:
- name: resource
value: $(params.release)
Expand All @@ -720,6 +742,7 @@ spec:
- create-advisory
finally:
- name: cleanup
timeout: "4h"
taskRef:
resolver: "git"
params:
Expand Down

0 comments on commit 3235f13

Please sign in to comment.