Skip to content

Document how to manually rerun periodic Prow jobs#1217

Open
wallrj-cyberark wants to merge 1 commit into
cert-manager:masterfrom
wallrj-cyberark:doc-rerun-periodic-jobs
Open

Document how to manually rerun periodic Prow jobs#1217
wallrj-cyberark wants to merge 1 commit into
cert-manager:masterfrom
wallrj-cyberark:doc-rerun-periodic-jobs

Conversation

@wallrj-cyberark

@wallrj-cyberark wallrj-cyberark commented Jul 8, 2026

Copy link
Copy Markdown
Member

Motivation

There was no documentation on how to manually retrigger periodic Prow jobs.
This came up during the cert-manager 1.21 release preparation: after merging
a .trivyignore update (cert-manager/cert-manager#8983) to fix trivy scan
failures caused by GO-2026-5932, we needed to retrigger the periodic trivy
jobs rather than waiting for their next cron cycle.

Changes

Adds make list-periodics and make rerun-failed-periodics targets backed
by a prow/periodic-jobs.sh script that queries the Prow API with jq:

  • make list-periodics BRANCH=release-1.21 — lists the latest run of each
    periodic job matching the search term, showing state, start time, and
    ProwJob ID.
  • make rerun-failed-periodics BRANCH=release-1.21 — reruns every
    non-success periodic job for the given branch in one go.

Updates prow/README.md with a "Rerunning periodic jobs" section covering:

  • Why you might need to do this (e.g. pre-release reassurance after
    dependency updates)
  • Prerequisites (GCP IAM role, kubectl cluster credentials)
  • Usage of the make targets

Testing

$ make list-periodics BRANCH=release-1.21
ci-cert-manager-release-1.21-e2e-v1-33: pending (started: 2026-07-10T09:06:40Z, id: c1b96b54-...)
ci-cert-manager-release-1.21-e2e-v1-33-feature-gates-disabled: success (started: 2026-07-09T10:35:40Z, id: 7a8410fd-...)
...

$ make rerun-failed-periodics BRANCH=release-1.21
Rerunning: ci-cert-manager-release-1.21-e2e-v1-33
# (kubectl create would follow with cluster access)

$ make list-periodics
Makefile:51: *** BRANCH is required, e.g. make list-periodics BRANCH=release-1.21.  Stop.

@cert-manager-prow cert-manager-prow Bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Jul 8, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign thatsmrtalbot for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 8, 2026
Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
@wallrj-cyberark wallrj-cyberark force-pushed the doc-rerun-periodic-jobs branch from 8e34547 to e166658 Compare July 10, 2026 09:13
@cert-manager-prow cert-manager-prow Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant