Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ tests:
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest-421
workflow: hypershift-aws-reqserving-e2e
- as: dependabot-triage
cron: 0 12 * * 5
steps:
workflow: hypershift-dependabot-triage
- as: periodic-jira-agent
cron: 30 8 * * 1
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,70 @@
periodics:
- agent: kubernetes
cluster: build05
cron: 0 12 * * 5
decorate: true
extra_refs:
- base_ref: main
org: openshift
repo: hypershift
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-hypershift-main-dependabot-triage
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=dependabot-triage
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build10
cron: '*/30 * * * *'
Expand Down Expand Up @@ -164,7 +230,7 @@ periodics:
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build08
cluster: build10
cron: 30 8 * * 1
decorate: true
extra_refs:
Expand Down Expand Up @@ -230,7 +296,7 @@ periodics:
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build08
cluster: build10
cron: 0 8-23/3 * * 1-5
decorate: true
extra_refs:
Expand Down
13 changes: 13 additions & 0 deletions ci-operator/step-registry/hypershift/dependabot-triage/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approvers:
- csrwng
- enxebre
- sjenning
- LiangquanLi930
- bryan-cox
- jparrill
reviewers:
- csrwng
- enxebre
- sjenning
- bryan-cox
- jparrill
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"path": "hypershift/dependabot-triage/hypershift-dependabot-triage-workflow.yaml",
"owners": {
"approvers": [
"csrwng",
"enxebre",
"sjenning",
"LiangquanLi930",
"bryan-cox",
"jparrill"
],
"reviewers": [
"csrwng",
"enxebre",
"sjenning",
"bryan-cox",
"jparrill"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
workflow:
as: hypershift-dependabot-triage
steps:
pre:
- ref: hypershift-dependabot-triage-setup
test:
- ref: hypershift-dependabot-triage-process
post:
- ref: hypershift-dependabot-triage-report
documentation: |-
Periodic workflow that triages dependabot PRs in the HyperShift repository.

This workflow:
1. Setup: Clones HyperShift repo from fork, configures git credentials, sets up Claude CLI
2. Process: Queries open dependabot PRs, invokes Claude to process and consolidate into single PR
3. Report: Generates HTML report with token usage, cost estimates, and processing details

The workflow uses the /fix-hypershift-repo-robot-pr command from HyperShift in non-interactive mode.
All dependabot PRs are consolidated into a single PR with organized commits.

Schedule: Weekly on Fridays at 12:00 UTC (7:00 AM ET)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approvers:
- csrwng
- enxebre
- sjenning
- LiangquanLi930
- bryan-cox
- jparrill
reviewers:
- csrwng
- enxebre
- sjenning
- bryan-cox
- jparrill
Loading