Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ base_images:
name: cincinnati-graph-data
namespace: cincinnati-ci-public
tag: stable
operator-sdk:
name: "4.13"
namespace: origin
tag: operator-sdk
build_root:
image_stream_tag:
name: release
Expand All @@ -23,6 +27,16 @@ images:
- dockerfile_path: dev/Dockerfile
from: base
to: cincinnati-graph-data-container
operator:
bundles:
- as: cincinnati-bundle
dockerfile_path: bundle.Dockerfile
skip_building_index: true
substitutions:
- pullspec: quay.io/cincinnati/cincinnati:latest
with: pipeline:cincinnati_operand_latest
- pullspec: controller:latest
with: pipeline:cincinnati-operator
releases:
latest:
release:
Expand Down Expand Up @@ -53,6 +67,31 @@ tests:
commands: make unit-test
container:
from: src
- as: install-bundle
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 1h0m0s
version: "4.13"
steps:
test:
- as: install
cli: latest
commands: |
oc create namespace install-osus-here
operator-sdk run bundle -n install-osus-here "$OO_BUNDLE"
oc wait --for condition=Available -n install-osus-here deployment updateservice-operator
dependencies:
- env: OO_BUNDLE
name: cincinnati-bundle
from: operator-sdk
resources:
requests:
cpu: 500m
memory: 1000Mi
workflow: generic-claim
- as: operator-e2e-410
cluster_claim:
architecture: amd64
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
presubmits:
openshift/cincinnati-operator:
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/ci-bundle-cincinnati-bundle
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-cincinnati-operator-master-ci-bundle-cincinnati-bundle
rerun_command: /test ci-bundle-cincinnati-bundle
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=cincinnati-bundle
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ci-bundle-cincinnati-bundle,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down Expand Up @@ -99,6 +148,69 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/install-bundle
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-cincinnati-operator-master-install-bundle
rerun_command: /test install-bundle
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=install-bundle
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/hive-hive-credentials
name: hive-hive-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: hive-hive-credentials
secret:
secretName: hive-hive-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )install-bundle,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down