Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI config for ibm-roks-toolkit release-4.16 (#51481)
- Loading branch information
1 parent
f423da7
commit 9757d37
Showing
4 changed files
with
451 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 97 additions & 0 deletions
97
ci-operator/config/openshift/ibm-roks-toolkit/openshift-ibm-roks-toolkit-release-4.16.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
120 changes: 120 additions & 0 deletions
120
.../jobs/openshift/ibm-roks-toolkit/openshift-ibm-roks-toolkit-release-4.16-postsubmits.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.