Skip to content

Commit

Permalink
Merge pull request #19713 from gabemontero/add-shared-resources-operator
Browse files Browse the repository at this point in the history
BUILD-159: add shared-resources-operator repository
  • Loading branch information
openshift-merge-robot committed Jun 25, 2021
2 parents 940800e + 3364fae commit da6f1ef
Show file tree
Hide file tree
Showing 6 changed files with 249 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci-operator/config/openshift/shared-resources-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- adambkaplan
- gabemontero
options: {}
reviewers:
- coreydaley
- otaviof
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
base_images:
base:
name: "4.9"
namespace: ocp
tag: base
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.16
promotion:
name: "4.9"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.9"
namespace: ocp
tests:
- as: test
commands: |
make test
container:
from: src
- as: verify
commands: |
make verify
container:
from: src
- as: e2e-aws
steps:
cluster_profile: aws
workflow: openshift-e2e-aws
zz_generated_metadata:
branch: master
org: openshift
repo: shared-resources-operator
10 changes: 10 additions & 0 deletions ci-operator/jobs/openshift/shared-resources-operator/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- adambkaplan
- gabemontero
options: {}
reviewers:
- coreydaley
- otaviof
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
presubmits:
openshift/shared-resources-operator:
- agent: kubernetes
always_run: true
branches:
- master
cluster: build01
context: ci/prow/e2e-aws
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-shared-resources-operator-master-e2e-aws
rerun_command: /test e2e-aws
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/usr/local/e2e-aws-cluster-profile
- --target=e2e-aws
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-aws-cluster-profile
name: cluster-profile
- 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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-aws,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build01
context: ci/prow/test
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-shared-resources-operator-master-test
rerun_command: /test test
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=test
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( | .* )test,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build01
context: ci/prow/verify
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-shared-resources-operator-master-verify
rerun_command: /test verify
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=verify
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( | .* )verify,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- adambkaplan
- gabemontero
options: {}
reviewers:
- coreydaley
- otaviof
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approve:
- commandHelpLink: ""
repos:
- openshift/shared-resources-operator
require_self_approval: false
lgtm:
- repos:
- openshift/shared-resources-operator
review_acts_as_lgtm: true
plugins:
openshift/shared-resources-operator:
plugins:
- approve

0 comments on commit da6f1ef

Please sign in to comment.