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
@@ -1,4 +1,8 @@
base_images:
claude-ai-helpers:
name: claude-ai-helpers
namespace: ci
tag: latest
dev-scripts:
name: test
namespace: ocp-kni
Expand Down Expand Up @@ -422,6 +426,22 @@ tests:
CHECK_MOD_LIST: "false"
test:
- ref: go-verify-deps
- as: periodic-jira-agent
cron: 0 9 * * *
steps:
env:
JIRA_AGENT_MAX_ISSUES: "1"
workflow: ingress-jira-agent
- as: periodic-review-agent
cron: '@yearly'
steps:
workflow: ingress-review-agent
- always_run: false
as: address-review-comments
optional: true
skip_if_only_changed: .*
steps:
workflow: ingress-review-agent-trigger
zz_generated_metadata:
branch: master
org: openshift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,170 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 0 9 * * *
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
extra_refs:
- base_ref: master
org: openshift
repo: cluster-ingress-operator
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cluster-ingress-operator-master-periodic-jira-agent
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=periodic-jira-agent
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: /etc/boskos
name: boskos
readOnly: true
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- 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: build03
cron: '@yearly'
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
extra_refs:
- base_ref: master
org: openshift
repo: cluster-ingress-operator
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cluster-ingress-operator-master-periodic-review-agent
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=periodic-review-agent
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: /etc/boskos
name: boskos
readOnly: true
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- 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: build03
cron: 0 4 * * *
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,89 @@
presubmits:
openshift/cluster-ingress-operator:
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/address-review-comments
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-ingress-operator-master-address-review-comments
optional: true
rerun_command: /test address-review-comments
skip_if_only_changed: .*
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=address-review-comments
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: /etc/boskos
name: boskos
readOnly: true
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- 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
trigger: (?m)^/test( | .* )address-review-comments,?($|\s.*)
- agent: kubernetes
always_run: false
annotations:
Expand Down
32 changes: 32 additions & 0 deletions ci-operator/step-registry/ingress/jira-agent/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
approvers:
- alebedev87
- aswinsuryan
- bentito
- candita
- davidesalerno
- frobware
- gcs278
- grzpiotrowski
- jcmoraisjr
- knobunc
- miciah
- miheer
- rfredette
- rikatz
- thealisyed
reviewers:
- alebedev87
- aswinsuryan
- bentito
- candita
- davidesalerno
- frobware
- gcs278
- grzpiotrowski
- jcmoraisjr
- knobunc
- miciah
- miheer
- rfredette
- rikatz
- thealisyed
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"path": "ingress/jira-agent/ingress-jira-agent-workflow.yaml",
"owners": {
"approvers": [
"alebedev87",
"aswinsuryan",
"bentito",
"candita",
"davidesalerno",
"frobware",
"gcs278",
"grzpiotrowski",
"jcmoraisjr",
"knobunc",
"miciah",
"miheer",
"rfredette",
"rikatz",
"thealisyed"
],
"reviewers": [
"alebedev87",
"aswinsuryan",
"bentito",
"candita",
"davidesalerno",
"frobware",
"gcs278",
"grzpiotrowski",
"jcmoraisjr",
"knobunc",
"miciah",
"miheer",
"rfredette",
"rikatz",
"thealisyed"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
workflow:
as: ingress-jira-agent
steps:
pre:
- ref: jira-agent-setup
- ref: jira-agent-github-app-auth
- ref: jira-agent-slack-pr-notify
- ref: jira-agent-claude-helpers
- ref: jira-agent-jira-helpers
- ref: jira-agent-git-helpers
test:
- ref: jira-agent-process
post:
- ref: jira-agent-report
env:
JIRA_AGENT_DEFAULT_BRANCH: "master"
JIRA_AGENT_AUTH_MODE: "pat"
JIRA_AGENT_FORK_ORG: "jira-solve-bot"
JIRA_AGENT_UPSTREAM_REPO: "openshift/cluster-ingress-operator"
JIRA_AGENT_JQL: '(project = NE OR (project = OCPBUGS AND component = "Networking / router")) AND resolution = Unresolved AND status in (New, "To Do") AND labels = issue-for-agent AND labels != agent-processed'
JIRA_AGENT_TARGET_STATUS: '{"OCPBUGS":"ASSIGNED","NE":"ASSIGNED"}'
JIRA_AGENT_TOOL_SETUP_SCRIPT: "GOFLAGS='' go install golang.org/x/tools/gopls@v0.21.0"
JIRA_AGENT_REVIEW_LANGUAGE: "go"
JIRA_AGENT_SLACK_EMOJI: ":robot:"
documentation: |-
Ingress operator-specific wrapper for the generic Jira Agent workflow.
Uses PAT auth mode — auto-forks openshift/cluster-ingress-operator
into jira-solve-bot and creates PRs against the upstream repo.

Credentials: Uses hypershift-team-claude-prow (shared secret with gh-pat).
Loading