Skip to content

Commit

Permalink
osd-example-operator: enable 4.15 branch (#51440)
Browse files Browse the repository at this point in the history
Signed-off-by: Brady Pratt <bpratt@redhat.com>
  • Loading branch information
jbpratt committed Apr 29, 2024
1 parent 43abcc5 commit 9297300
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.19
promotion:
to:
- name: "4.15"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: lint
commands: |
export HOME=$(mktemp -d)
export REPORT_DIR=/tmp/artifacts
make lint
container:
from: src
zz_generated_metadata:
branch: release-4.15
org: openshift
repo: osd-example-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
presubmits:
openshift/osd-example-operator:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.15$
- ^release-4\.15-
cluster: build03
context: ci/prow/lint
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-osd-example-operator-release-4.15-lint
rerun_command: /test lint
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=lint
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
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( | .* )lint,?($|\s.*)

0 comments on commit 9297300

Please sign in to comment.