Skip to content
Draft
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
5 changes: 5 additions & 0 deletions ci-operator/config/openshift/sippy/openshift-sippy-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ tests:
commands: HOME=/tmp make lint
container:
from: src
- as: verify-migrations
commands: HOME=/tmp make verify-migrations
container:
from: src
run_if_changed: ^pkg/db/migrations/
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- as: yaml-lint
commands: IS_CONTAINER=TRUE ./hack/yaml-lint.sh
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,72 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )unit,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
context: ci/prow/verify-migrations
decorate: true
decoration_config:
sparse_checkout_files:
- .devcontainer/Dockerfile
- Dockerfile
- chat/Dockerfile
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-sippy-main-verify-migrations
rerun_command: /test verify-migrations
run_if_changed: ^pkg/db/migrations/
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
- --target=verify-migrations
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/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: 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( | .* )verify-migrations,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down