Skip to content

Commit

Permalink
add helm ocp 4.18 osci config + fips (#57592)
Browse files Browse the repository at this point in the history
  • Loading branch information
amp-rh authored Oct 10, 2024
1 parent cfd2261 commit a3a60d6
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 8 deletions.
1 change: 1 addition & 0 deletions ci-operator/config/redhat-developer/helm/.config.prowgen
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ slack_reporter:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
job_names:
- helm-interop-aws
- helm-interop-aws-fips
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
base_images:
base:
name: "4.18"
namespace: ocp
tag: base
binary_build_commands: make -f openshift-ci/Makefile build
build_root:
project_image:
dockerfile_path: openshift-ci/Dockerfile.tests
images:
- dockerfile_path: openshift-ci/Dockerfile.tests
from: base
to: helm
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.18"
resources:
'*':
requests:
cpu: 200m
memory: 200Mi
tests:
- as: helm-interop-aws
cron: 0 0 11 6 *
steps:
cluster_profile: aws-cspi-qe
env:
BASE_DOMAIN: cspilp.interop.ccitredhat.com
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "helm-acceptance-test", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "helm-acceptance-test", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "HELM", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]}
]
}
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.18-lp","self-managed-lp","helm-lp"]'
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: [email protected]
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
USER_TAGS: |
scenario helm
test:
- as: helm-acceptance-test
commands: |
make -f openshift-ci/Makefile build test-acceptance
mv acceptance-testing/.acceptance/results.xml acceptance-testing/.acceptance/junit_results.xml
cp -r acceptance-testing/.acceptance/junit_*.xml ${ARTIFACT_DIR}/
cp -r acceptance-testing/.acceptance/*.html ${ARTIFACT_DIR}/
from: helm
resources:
requests:
cpu: 100m
workflow: firewatch-ipi-aws
- as: helm-interop-aws-fips
cron: 0 0 11 6 *
steps:
cluster_profile: aws-cspi-qe
env:
BASE_DOMAIN: cspilp.interop.ccitredhat.com
FIPS_ENABLED: "true"
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "helm-acceptance-test", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "helm-acceptance-test", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "HELM", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]}
]
}
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.18-lp","self-managed-lp","fips","helm-lp"]'
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: [email protected]
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
USER_TAGS: |
scenario helm
test:
- as: helm-acceptance-test
commands: |
make -f openshift-ci/Makefile build test-acceptance
mv acceptance-testing/.acceptance/results.xml acceptance-testing/.acceptance/junit_results.xml
cp -r acceptance-testing/.acceptance/junit_*.xml ${ARTIFACT_DIR}/
cp -r acceptance-testing/.acceptance/*.html ${ARTIFACT_DIR}/
from: helm
resources:
requests:
cpu: 100m
workflow: firewatch-ipi-aws
zz_generated_metadata:
branch: release-3.11
org: redhat-developer
repo: helm
variant: helm-ocp4.18-lp-interop
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ periodics:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire:
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
Expand Down Expand Up @@ -205,8 +205,8 @@ periodics:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire:
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
Expand Down Expand Up @@ -387,8 +387,8 @@ periodics:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire:
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
Expand Down Expand Up @@ -570,8 +570,8 @@ periodics:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :success: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :dumpster-fire:
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
spec:
Expand Down Expand Up @@ -729,3 +729,187 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build10
cron: 0 0 11 6 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-3.11
org: redhat-developer
repo: helm
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: helm-ocp4.18-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-redhat-developer-helm-release-3.11-helm-ocp4.18-lp-interop-helm-interop-aws
reporter_config:
slack:
channel: '#helm-interop'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
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/helm-interop-aws-cluster-profile
- --target=helm-interop-aws
- --variant=helm-ocp4.18-lp-interop
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/helm-interop-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-cspi-qe
- 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: build10
cron: 0 0 11 6 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-3.11
org: redhat-developer
repo: helm
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: helm-ocp4.18-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-redhat-developer-helm-release-3.11-helm-ocp4.18-lp-interop-helm-interop-aws-fips
reporter_config:
slack:
channel: '#helm-interop'
job_states_to_report:
- success
- failure
- error
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
logs> {{end}}'
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/helm-interop-aws-fips-cluster-profile
- --target=helm-interop-aws-fips
- --variant=helm-ocp4.18-lp-interop
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/helm-interop-aws-fips-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-cspi-qe
- 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
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,61 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )helm-ocp4.17-lp-interop-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-3\.11$
- ^release-3\.11-
cluster: build09
context: ci/prow/helm-ocp4.18-lp-interop-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: helm-ocp4.18-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-redhat-developer-helm-release-3.11-helm-ocp4.18-lp-interop-images
rerun_command: /test helm-ocp4.18-lp-interop-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=helm-ocp4.18-lp-interop
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( | .* )helm-ocp4.18-lp-interop-images,?($|\s.*)

0 comments on commit a3a60d6

Please sign in to comment.