Skip to content
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
24 changes: 24 additions & 0 deletions ci-operator/config/openshift/dra-driver-sriov/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
reviewers:
- wizhaoredhat
- bpickard22
- LionelJouin
- danwinship
- dave-tucker
- abhat
- SchSeba
- zeeke
- SamD2021
- pablmart
- zhiqiangf
approvers:
- wizhaoredhat
- bpickard22
- LionelJouin
- danwinship
- dave-tucker
- abhat
- SchSeba
- zeeke
- SamD2021
- pablmart
- zhiqiangf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
build_root:
from_repository: true
images:
items:
- dockerfile_path: Dockerfile.ocp
to: dra-driver-sriov
promotion:
to:
- name: sriov-5.0
namespace: origin
- name: "5.0"
namespace: ocp
releases:
initial:
integration:
name: "5.0"
namespace: ocp
latest:
integration:
include_built_images: true
name: "5.0"
namespace: ocp
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: GOFLAGS="-mod=mod" make test
container:
from: src
zz_generated_metadata:
branch: main
org: openshift
repo: dra-driver-sriov
24 changes: 24 additions & 0 deletions ci-operator/jobs/openshift/dra-driver-sriov/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
reviewers:
- wizhaoredhat
- bpickard22
- LionelJouin
- danwinship
- dave-tucker
- abhat
- SchSeba
- zeeke
- SamD2021
- pablmart
- zhiqiangf
approvers:
- wizhaoredhat
- bpickard22
- LionelJouin
- danwinship
- dave-tucker
- abhat
- SchSeba
- zeeke
- SamD2021
- pablmart
- zhiqiangf
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
postsubmits:
openshift/dra-driver-sriov:
- agent: kubernetes
always_run: true
branches:
- ^main$
cluster: build01
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile.ocp
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-dra-driver-sriov-main-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: quay-proxy.ci.openshift.org/openshift/ci:ci_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,125 @@
presubmits:
openshift/dra-driver-sriov:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/images
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile.ocp
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-dra-driver-sriov-main-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]
- --target=[release:latest]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_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:
- ^main$
- ^main-
cluster: build01
context: ci/prow/unit
decorate: true
decoration_config:
sparse_checkout_files:
- .ci-operator.yaml
- Dockerfile.ocp
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-dra-driver-sriov-main-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
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( | .* )unit,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
quay.io/openshift/ci:origin_sriov-5.0_dra-driver-sriov quay.io/openshift/origin-dra-driver-sriov:5.0 quay.io/openshift/origin-dra-driver-sriov:5.0.0 quay.io/openshift/origin-dra-driver-sriov:latest
quay.io/openshift/ci:origin_sriov-5.0_ovs-cni quay.io/openshift/origin-ovs-cni:5.0 quay.io/openshift/origin-ovs-cni:5.0.0 quay.io/openshift/origin-ovs-cni:latest
quay.io/openshift/ci:origin_sriov-5.0_pf-status-relay quay.io/openshift/origin-pf-status-relay:5.0 quay.io/openshift/origin-pf-status-relay:5.0.0 quay.io/openshift/origin-pf-status-relay:latest
quay.io/openshift/ci:origin_sriov-5.0_pf-status-relay-operator quay.io/openshift/origin-pf-status-relay-operator:5.0 quay.io/openshift/origin-pf-status-relay-operator:5.0.0 quay.io/openshift/origin-pf-status-relay-operator:latest
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
approve:
- repos:
- openshift/dra-driver-sriov
require_self_approval: false
lgtm:
- repos:
- openshift/dra-driver-sriov
review_acts_as_lgtm: true
plugins:
openshift/dra-driver-sriov:
plugins:
- approve
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tide:
queries:
- labels:
- approved
- lgtm
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- verified
missingLabels:
- backports/unvalidated-commits
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- jira/invalid-bug
- needs-rebase
repos:
- openshift/dra-driver-sriov