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
9 changes: 9 additions & 0 deletions ci-operator/config/openshift/kube-vip/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
reviewers:
- cybertron
- mkowalski
- rbbratta
approvers:
- cybertron
- mkowalski
- rbbratta
- tssurya
26 changes: 26 additions & 0 deletions ci-operator/config/openshift/kube-vip/openshift-kube-vip-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-9-release-golang-1.26-openshift-5.0
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
test_binary_build_commands: go test -race ./...
tests:
- as: unit-tests
commands: make unit-tests
container:
from: src
- as: integration-tests
commands: make integration-tests
container:
from: src
zz_generated_metadata:
branch: main
org: openshift
repo: kube-vip
9 changes: 9 additions & 0 deletions ci-operator/jobs/openshift/kube-vip/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
reviewers:
- cybertron
- mkowalski
- rbbratta
approvers:
- cybertron
- mkowalski
- rbbratta
- tssurya
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
presubmits:
openshift/kube-vip:
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/integration-tests
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-kube-vip-main-integration-tests
rerun_command: /test integration-tests
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=integration-tests
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( | .* )integration-tests,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build01
context: ci/prow/unit-tests
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-kube-vip-main-unit-tests
rerun_command: /test unit-tests
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-tests
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-tests,?($|\s.*)
12 changes: 12 additions & 0 deletions core-services/prow/02_config/openshift/kube-vip/_pluginconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
approve:
- repos:
- openshift/kube-vip
require_self_approval: false
lgtm:
- repos:
- openshift/kube-vip
review_acts_as_lgtm: true
plugins:
openshift/kube-vip:
plugins:
- approve
Comment thread
coderabbitai[bot] marked this conversation as resolved.
57 changes: 57 additions & 0 deletions core-services/prow/02_config/openshift/kube-vip/_prowconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
tide:
queries:
- includedBranches:
- openshift-4.22
- release-4.22
labels:
- approved
- backport-risk-assessed
- jira/valid-bug
- jira/valid-reference
- lgtm
- 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/kube-vip
- includedBranches:
- main
- master
labels:
- approved
- jira/valid-reference
- lgtm
- verified
missingLabels:
- backports/unvalidated-commits
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- jira/invalid-bug
- keep-main-query-separate
- needs-rebase
repos:
- openshift/kube-vip
- excludedBranches:
- main
- master
- openshift-4.22
- release-4.22
labels:
- approved
- jira/valid-reference
- lgtm
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/kube-vip