Skip to content

Commit

Permalink
Adding FIPS job to AMQ Broker test run (openshift#55463)
Browse files Browse the repository at this point in the history
* Adding FIPS job to AMQ Broker test run

* fixing typo in periodics YAML file
  • Loading branch information
aviavraham authored Aug 13, 2024
1 parent 07157f0 commit 7492bd9
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,30 @@ tests:
test:
- ref: amq-broker-install-and-tests
workflow: firewatch-ipi-aws
- as: amq-broker-interop-aws-fips
cron: 0 6 11 2 *
steps:
cluster_profile: aws-cspi-qe
env:
BASE_DOMAIN: cspilp.interop.ccitredhat.com
FIPS_ENABLED: "true"
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "amq-broker-install-and-tests", "failure_type": "pod_failure", "classification": "Test Failure", "group": {"name": "lp-tests", "priority": 1}, "jira_additional_labels": ["!default","interop-tests"]},
{"step": "amq-broker-install-and-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "ENTMQBR", "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.17-lp","self-managed-lp","fips","amq-broker-lp"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
USER_TAGS: |
scenario amq-broker
test:
- ref: amq-broker-install-and-tests
workflow: firewatch-ipi-aws
zz_generated_metadata:
branch: lpt
org: rh-messaging-qe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,3 +457,95 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build05
cron: 0 6 11 2 *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: lpt
org: rh-messaging-qe
repo: claire
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: amq-broker-ocp4.17-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.17"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rh-messaging-qe-claire-lpt-amq-broker-ocp4.17-lp-interop-amq-broker-interop-aws-fips
reporter_config:
slack:
channel: '#artemis-qe-lpt'
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/amq-broker-interop-aws-fips-cluster-profile
- --target=amq-broker-interop-aws-fips
- --variant=amq-broker-ocp4.17-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/amq-broker-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

0 comments on commit 7492bd9

Please sign in to comment.