Skip to content

Commit

Permalink
enable CI for release-4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjalKatiyar committed Oct 4, 2023
1 parent 02e49fe commit 96db31f
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
build_root:
from_repository: true
images:
- dockerfile_path: Dockerfile.ci
to: odf-console
releases:
initial:
integration:
name: "4.14"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.14"
namespace: ocp
resources:
'*':
limits:
memory: 12Gi
requests:
cpu: 100m
memory: 1Gi
odf-console-e2e-aws:
requests:
cpu: 1000m
memory: 8Gi
tests:
- as: odf-console-e2e-aws
steps:
allow_skip_on_success: true
cluster_profile: aws
dependencies:
ODF_CONSOLE_FULL_IMG_NAME: odf-console
env:
COMPUTE_NODE_TYPE: m5.2xlarge
ZONES_COUNT: "3"
test:
- as: tests
cli: latest
commands: |
export PULL_SECRET="$(cat /etc/odf-console-e2e/odf-e2e-credentials/config-pull-secret)"
node --version
./test-prow-e2e.sh ${ODF_CONSOLE_FULL_IMG_NAME}
credentials:
- mount_path: /var/run/operator-secret
name: operator-secret
namespace: test-credentials
- mount_path: /etc/odf-console-e2e/odf-e2e-credentials
name: odf-e2e-credentials
namespace: test-credentials
dependencies:
- env: ODF_CONSOLE_FULL_IMG_NAME
name: odf-console-img
from: src
resources:
requests:
cpu: 1000m
memory: 8Gi
workflow: ipi-aws
zz_generated_metadata:
branch: release-4.14
org: red-hat-storage
repo: odf-console
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
presubmits:
red-hat-storage/odf-console:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.14$
- ^release-4\.14-
cluster: build03
context: ci/prow/images
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-red-hat-storage-odf-console-release-4.14-images
rerun_command: /test 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]
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/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: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-4\.14$
- ^release-4\.14-
cluster: build05
context: ci/prow/odf-console-e2e-aws
decorate: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-red-hat-storage-odf-console-release-4.14-odf-console-e2e-aws
rerun_command: /test odf-console-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=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/odf-console-e2e-aws-cluster-profile
- --target=odf-console-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: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/odf-console-e2e-aws-cluster-profile
name: cluster-profile
- 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: 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: 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
trigger: (?m)^/test( | .* )odf-console-e2e-aws,?($|\s.*)

0 comments on commit 96db31f

Please sign in to comment.