Skip to content

Commit

Permalink
CI config for ibm-roks-toolkit release-4.16 (#51481)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-Reilly committed Apr 29, 2024
1 parent f423da7 commit 9757d37
Show file tree
Hide file tree
Showing 4 changed files with 451 additions and 12 deletions.
Expand Up @@ -3,36 +3,36 @@ base_images:
name: roks-toolkit-base
namespace: hypershift-toolkit
tag: latest
openshift_release_rhel-8-release-golang-1.20-openshift-4.15:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.20-openshift-4.15
tag: rhel-8-release-golang-1.21-openshift-4.16
binary_build_commands: make build
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.20-openshift-4.15
tag: rhel-8-release-golang-1.21-openshift-4.16
images:
- from: base
inputs:
openshift_release_rhel-8-release-golang-1.20-openshift-4.15:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.20-openshift-4.15
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: ibm-roks-toolkit
- dockerfile_path: Dockerfile.cpoperator
from: base
inputs:
openshift_release_rhel-8-release-golang-1.20-openshift-4.15:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.20-openshift-4.15
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: control-plane-operator
- dockerfile_path: Dockerfile.metrics
from: base
inputs:
openshift_release_rhel-8-release-golang-1.20-openshift-4.15:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.20-openshift-4.15
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: metrics
- dockerfile_path: hack/releaser/Dockerfile
from: src
Expand All @@ -41,17 +41,17 @@ promotion:
to:
- excluded_images:
- release-base
name: ibm-roks-4.16
name: ibm-roks-4.17
namespace: hypershift-toolkit
releases:
initial:
integration:
name: "4.16"
name: "4.17"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.16"
name: "4.17"
namespace: ocp
resources:
'*':
Expand Down
@@ -0,0 +1,97 @@
base_images:
base:
name: roks-toolkit-base
namespace: hypershift-toolkit
tag: latest
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.21-openshift-4.16
binary_build_commands: make build
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.21-openshift-4.16
images:
- from: base
inputs:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: ibm-roks-toolkit
- dockerfile_path: Dockerfile.cpoperator
from: base
inputs:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: control-plane-operator
- dockerfile_path: Dockerfile.metrics
from: base
inputs:
openshift_release_rhel-8-release-golang-1.21-openshift-4.16:
as:
- registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.21-openshift-4.16
to: metrics
- dockerfile_path: hack/releaser/Dockerfile
from: src
to: release-base
promotion:
to:
- excluded_images:
- release-base
name: ibm-roks-4.16
namespace: hypershift-toolkit
releases:
initial:
integration:
name: "4.16"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.16"
namespace: ocp
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: verify-code
commands: make verify-bindata && make verify-gofmt
container:
from: src
- as: unit
commands: make test
container:
from: src
- as: gosec
commands: make verify-gosec
container:
from: src
- as: makerelease
postsubmit: true
steps:
test:
- as: test
cli: initial
commands: KUBECONFIG=/var/run/appci/kubeconfig GITHUB_TOKEN="$(cat /var/run/github/token)"
make create-release
credentials:
- mount_path: /var/run/github
name: ibm-roks-toolkit-gh-token
namespace: test-credentials
- mount_path: /var/run/appci
name: ibm-roks-appci-kubeconfig
namespace: test-credentials
from: release-base
resources:
requests:
cpu: 100m
memory: 200Mi
zz_generated_metadata:
branch: release-4.16
org: openshift
repo: ibm-roks-toolkit
@@ -0,0 +1,120 @@
postsubmits:
openshift/ibm-roks-toolkit:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.16$
cluster: build03
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-openshift-ibm-roks-toolkit-release-4.16-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
- --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: /secrets/manifest-tool
name: manifest-tool-local-pusher
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: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- 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
- agent: kubernetes
always_run: true
branches:
- ^release-4\.16$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-ibm-roks-toolkit-release-4.16-makerelease
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=makerelease
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/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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- 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

0 comments on commit 9757d37

Please sign in to comment.