Skip to content

Commit

Permalink
Merge pull request openshift#25791 from varshab1210/UpdateCIVersion_KAM
Browse files Browse the repository at this point in the history
Adding Openshift CI version 4.9 for KAM
  • Loading branch information
openshift-merge-robot authored Jan 31, 2022
2 parents e1e9461 + 67bd16b commit f73f797
Show file tree
Hide file tree
Showing 2 changed files with 195 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
base_images:
cli:
name: "4.9"
namespace: ocp
tag: cli
binary_build_commands: make bin
build_root:
project_image:
dockerfile_path: openshift-ci/build-root/Dockerfile
images:
- context_dir: openshift-ci/build-root/source-image
from: src
inputs:
cli:
paths:
- destination_dir: .
source_path: /usr/bin/oc
to: oc-bin-image
releases:
initial:
integration:
name: "4.9"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.9"
namespace: ocp
resources:
'*':
requests:
cpu: 800m
memory: 6Gi
tests:
- as: integration-e2e
steps:
cluster_profile: aws
test:
- as: integration-e2e-steps
commands: scripts/openshiftci-presubmit-all-tests.sh
credentials:
- mount_path: /var/run/kam-data/kam-test-secrets
name: kam-test-secrets
namespace: test-credentials
env:
- default: /var/run/kam-data/kam-test-secrets/github-token.txt
name: KAM_GITHUB_TOKEN_FILE
- default: /var/run/kam-data/kam-test-secrets/github-username.txt
name: KAM_GITHUB_USER_NAME_FILE
- default: /var/run/kam-data/kam-test-secrets/github-password.txt
name: KAM_GITHUB_PASSWORD_FILE
- default: /var/run/kam-data/kam-test-secrets/kambot-auth.json
name: KAM_QUAY_DOCKER_CONF_SECRET_FILE
- default: /var/run/kam-data/kam-test-secrets/id_rsa
name: KAM_SSH_PRIVATE_KEY_FILE
- default: /var/run/kam-data/kam-test-secrets/id_rsa.pub
name: KAM_SSH_PUBLIC_KEY_FILE
from: oc-bin-image
resources:
requests:
cpu: "2"
memory: 6Gi
workflow: ipi-aws
zz_generated_metadata:
branch: master
org: redhat-developer
repo: kam
variant: v4.9
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,130 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.8-integration-e2e,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/v4.9-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: v4.9
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-redhat-developer-kam-master-v4.9-images
rerun_command: /test v4.9-images
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=[images]
- --variant=v4.9
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( | .* )v4.9-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/v4.9-integration-e2e
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci-operator.openshift.io/variant: v4.9
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-redhat-developer-kam-master-v4.9-integration-e2e
rerun_command: /test v4.9-integration-e2e
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=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/integration-e2e-cluster-profile
- --target=integration-e2e
- --variant=v4.9
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/integration-e2e-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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
secret:
secretName: cluster-secrets-aws
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.9-integration-e2e,?($|\s.*)

0 comments on commit f73f797

Please sign in to comment.