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

Promoting clc-ui-e2e test image #36522

Merged
merged 1 commit into from
Feb 28, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci-operator/config/stolostron/clc-ui-e2e/.config.prowgen
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
private: true
expose: true
9 changes: 9 additions & 0 deletions ci-operator/config/stolostron/clc-ui-e2e/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
approvers:
- ascerra
- dtthuynh
- vboulos
options: {}
reviewers:
- ascerra
- dtthuynh
- vboulos
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.17
images:
- dockerfile_path: Dockerfile.interops
to: clc-ui-e2e
promotion:
name: "2.7"
namespace: acm-qe
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
zz_generated_metadata:
branch: release-2.7
org: stolostron
repo: clc-ui-e2e
9 changes: 9 additions & 0 deletions ci-operator/jobs/stolostron/clc-ui-e2e/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
approvers:
- ascerra
- dtthuynh
- vboulos
options: {}
reviewers:
- ascerra
- dtthuynh
- vboulos
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
postsubmits:
stolostron/clc-ui-e2e:
- agent: kubernetes
always_run: true
branches:
- ^release-2\.7$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stolostron-clc-ui-e2e-release-2.7-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
- --oauth-token-path=/usr/local/github-credentials/oauth
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
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: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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,58 @@
presubmits:
stolostron/clc-ui-e2e:
- agent: kubernetes
always_run: true
branches:
- ^release-2\.7$
- ^release-2\.7-
cluster: build01
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stolostron-clc-ui-e2e-release-2.7-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
4 changes: 4 additions & 0 deletions clusters/app.ci/registry-access/acm-qe/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
approvers:
- ascerra
- dtthuynh
- vboulos
24 changes: 24 additions & 0 deletions clusters/app.ci/registry-access/acm-qe/admin_acm-qe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# this is the Namespace in which your images live
apiVersion: v1
kind: Namespace
metadata:
annotations:
openshift.io/description: Published Images for acm-qe
openshift.io/display-name: acm-qe
name: acm-qe
---
# this grants all authenticated users rights to pull images
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: acm-qe-image-puller-binding
namespace: acm-qe
roleRef:
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
name: system:image-puller
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: Group
name: system:authenticated # this is the set of all authenticated users