Skip to content

Commit

Permalink
hcp-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
vshakya committed Feb 6, 2025
1 parent 2c07017 commit 55da42e
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
base_images:
cli:
name: "4.17"
namespace: ocp
tag: cli
cli-ocm:
name: cli-ocm
namespace: ci
tag: latest
rosa-aws-cli:
name: rosa-aws-cli
namespace: ci
tag: latest
upi-installer:
name: "4.17"
namespace: ocp
tag: upi-installer
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.21
images:
- context_dir: .
dockerfile_path: Dockerfile
to: openshift-pipelines-runner
releases:
latest:
candidate:
product: ocp
stream: ci
version: "4.17"
resources:
'*':
limits:
memory: 8Gi
requests:
cpu: "1"
memory: 4Gi
tests:
- as: openshift-pipelines-rosa-hypershift
cron: 0 23 31 2 *
steps:
cluster_profile: aws-cspi-qe
env:
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "openshift-pipelines-install", "failure_type": "all", "classification": "Operator Installation Failure", "jira_project": "LPINTEROP", "group": {"name": "lp-tests", "priority": 1},"jira_additional_labels": ["!default"]},
{"step": "openshift-pipelines-tests", "failure_type": "all", "classification": "Test Failure", "jira_project": "SRVKP", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/rosa/lp-interop.json
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.17-lp","rosa-hypershift-lp","pipelines-lp"]'
FIREWATCH_DEFAULT_JIRA_COMPONENT: '["QA"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
FIREWATCH_JIRA_SERVER: https://issues.redhat.com
OCM_LOGIN_ENV: staging
OPENSHIFT_VERSION: "4.17"
REGION: us-west-2
test:
- ref: cucushift-hypershift-extended-health-check
- ref: openshift-pipelines-install
- ref: openshift-pipelines-tests
workflow: firewatch-rosa-aws-sts-hypershift
zz_generated_metadata:
branch: release-v1.17
org: openshift-pipelines
repo: release-tests
variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,81 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build11
cron: 0 23 31 2 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-v1.17
org: openshift-pipelines
repo: release-tests
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-pipelines-release-tests-release-v1.17-openshift-pipelines-ocp4.17-lp-rosa-hypershift-openshift-pipelines-rosa-hypershift
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
- --target=openshift-pipelines-rosa-hypershift
- --variant=openshift-pipelines-ocp4.17-lp-rosa-hypershift
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: /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: 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
- agent: kubernetes
cluster: build11
cron: 0 23 31 2 *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,64 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )openshift-pipelines-ocp4.17-lp-rosa-classic-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-v1\.17$
- ^release-v1\.17-
cluster: build11
context: ci/prow/openshift-pipelines-ocp4.17-lp-rosa-hypershift-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: openshift-pipelines-ocp4.17-lp-rosa-hypershift
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-pipelines-release-tests-release-v1.17-openshift-pipelines-ocp4.17-lp-rosa-hypershift-images
rerun_command: /test openshift-pipelines-ocp4.17-lp-rosa-hypershift-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=openshift-pipelines-ocp4.17-lp-rosa-hypershift
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( | .* )openshift-pipelines-ocp4.17-lp-rosa-hypershift-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down

0 comments on commit 55da42e

Please sign in to comment.