Skip to content

WIP: STOR-2452: add configuration for volume data source validator CI #65021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
19 changes: 19 additions & 0 deletions ci-operator/config/openshift/volume-data-source-validator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
approvers:
- dfajmon
- dobsonj
- gnufied
- jsafrane
- mpatlasov
- rhrmo
- romanbednar
- tsmetana
options: {}
reviewers:
- dfajmon
- dobsonj
- gnufied
- jsafrane
- mpatlasov
- rhrmo
- romanbednar
- tsmetana
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
base_images:
ocp_4.19_base-rhel9:
name: 4.20-priv
namespace: ocp-private
tag: base-rhel9
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
name: builder
namespace: ocp
tag: rhel-9-golang-1.23-openshift-4.19
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile
inputs:
ocp_4.19_base-rhel9:
as:
- registry.ci.openshift.org/ocp/4.19:base-rhel9
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
as:
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
to: volume-data-source-validator
promotion:
to:
- name: 4.20-priv
namespace: ocp-private
releases:
initial:
integration:
name: 4.20-priv
namespace: ocp-private
latest:
integration:
include_built_images: true
name: 4.20-priv
namespace: ocp-private
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: make test
container:
from: src
zz_generated_metadata:
branch: master
org: openshift
repo: volume-data-source-validator
19 changes: 19 additions & 0 deletions ci-operator/jobs/openshift/volume-data-source-validator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
approvers:
- dfajmon
- dobsonj
- gnufied
- jsafrane
- mpatlasov
- rhrmo
- romanbednar
- tsmetana
options: {}
reviewers:
- dfajmon
- dobsonj
- gnufied
- jsafrane
- mpatlasov
- rhrmo
- romanbednar
- tsmetana
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
postsubmits:
openshift/volume-data-source-validator:
- agent: kubernetes
always_run: true
branches:
- ^master$
cluster: build05
decorate: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-volume-data-source-validator-master-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
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/push-secret
name: push-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: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
presubmits:
openshift/volume-data-source-validator:
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build05
context: ci/prow/images
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-volume-data-source-validator-master-images
rerun_command: /test images
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=[images]
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( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build05
context: ci/prow/unit
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-volume-data-source-validator-master-unit
rerun_command: /test unit
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=unit
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( | .* )unit,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approve:
- commandHelpLink: ""
repos:
- openshift/volume-data-source-validator
require_self_approval: false
lgtm:
- repos:
- openshift/volume-data-source-validator
review_acts_as_lgtm: true
plugins:
openshift/volume-data-source-validator:
plugins:
- approve
Loading