Skip to content
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

Add CI config for RHMI operator branch release-v2.2 #1

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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
base_images:
os:
cluster: https://api.ci.openshift.org
name: ubi
namespace: ocp
tag: "8"
binary_build_commands: make code/compile COMPILE_TARGET="./build/_output/bin/integreatly-operator"
build_root:
image_stream_tag:
cluster: https://api.ci.openshift.org
name: intly-operator-base-image
namespace: integr8ly
tag: latest
images:
- dockerfile_path: build/Dockerfile
from: os
inputs:
bin:
paths:
- destination_dir: .
source_path: /go/src/github.com/integr8ly/integreatly-operator/build
to: integreatly-operator
- dockerfile_path: Dockerfile.functional
from: os
to: integreatly-operator-test-harness
promotion:
name: "2.2"
namespace: integr8ly
resources:
'*':
requests:
cpu: 100m
memory: 250Mi
unit:
requests:
cpu: 200m
memory: 2Gi
tag_specification:
cluster: https://api.ci.openshift.org
name: "4.3"
namespace: ocp
tests:
- as: vendor
commands: make vendor/check
container:
from: src
- as: unit
commands: make test/unit
container:
from: src
- as: format
commands: make code/check
container:
from: src
- as: e2e
commands: make test/e2e/prow
openshift_installer_src:
cluster_profile: aws
- as: manifest
commands: make manifest/check
container:
from: src
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ presubmits:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --lease-server-username=ci
- --lease-server=https://boskos-ci.svc.ci.openshift.org
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/e2e-aws-moderate-cluster-profile
- --target=e2e-aws-moderate
- --template=/usr/local/e2e-aws-moderate
Expand Down Expand Up @@ -58,6 +56,9 @@ presubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -83,6 +84,9 @@ presubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws-moderate,?($|\s.*)
- agent: kubernetes
always_run: true
Expand All @@ -102,10 +106,10 @@ presubmits:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
command:
- ci-operator
Expand All @@ -122,6 +126,9 @@ presubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -133,6 +140,9 @@ presubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
Expand All @@ -151,10 +161,10 @@ presubmits:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=unit
command:
- ci-operator
Expand All @@ -171,6 +181,9 @@ presubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -182,4 +195,7 @@ presubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )unit,?($|\s.*)
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ periodics:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --lease-server-password-file=/etc/boskos/password
- --lease-server-username=ci
- --lease-server=https://boskos-ci.svc.ci.openshift.org
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/etcd-azure-perf-test-daily-cluster-profile
- --target=etcd-azure-perf-test-daily
- --template=/usr/local/etcd-azure-perf-test-daily
Expand Down Expand Up @@ -58,6 +56,9 @@ periodics:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -83,3 +84,6 @@ periodics:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ presubmits:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=build
command:
- ci-operator
Expand All @@ -37,6 +37,9 @@ presubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -48,6 +51,9 @@ presubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )build,?($|\s.*)
- agent: kubernetes
always_run: true
Expand All @@ -66,10 +72,10 @@ presubmits:
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=test
command:
- ci-operator
Expand All @@ -86,6 +92,9 @@ presubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -97,4 +106,7 @@ presubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )test,?($|\s.*)
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,18 @@ postsubmits:
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci-operator.openshift.io/prowgen-controlled: "true"
max_concurrency: 1
name: branch-ci-codeready-toolchain-host-operator-master-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --kubeconfig=/etc/apici/kubeconfig
- --promote
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --target=[images]
command:
- ci-operator
Expand All @@ -134,6 +136,9 @@ postsubmits:
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: apici-ci-operator-credentials
Expand All @@ -145,6 +150,9 @@ postsubmits:
- name: pull-secret
secret:
secretName: regcred
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
branches:
- ^master$
Expand Down
Loading