Skip to content

Commit

Permalink
expansion of camel on springboot for ocp 4.18 fips/non-fips (openshif…
Browse files Browse the repository at this point in the history
…t#57608)

* expansion of camel on springboot for ocp 4.18 fips/non-fips
  update cron
  add FIREWATCH_DEFAULT_JIRA_ASSIGNEE
  create .config.prowgen file for slack reporting of results being auto-created with make updates

* Update ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml

Co-authored-by: Diane Frazzette <[email protected]>

* Update ci-operator/jobs/jboss-fuse/csb-tnb-tests-container/jboss-fuse-csb-tnb-tests-container-main-periodics.yaml

Co-authored-by: Diane Frazzette <[email protected]>

---------

Co-authored-by: Diane Frazzette <[email protected]>
  • Loading branch information
vi-patel and dfrazzette authored Oct 14, 2024
1 parent ab31ae5 commit 5e1179f
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
slack_reporter:
- channel: "#csb-qe"
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}}'
job_names:
- csb-interop-aws-latest
- csb-interop-aws-latest-fips
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
base_images:
cli:
name: "4.18"
namespace: ocp
tag: cli
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.18"
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: csb-interop-aws-latest
cron: 0 0 11 6 *
steps:
cluster_profile: aws-cspi-qe
env:
BASE_DOMAIN: cspilp.interop.ccitredhat.com
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "csb-*", "failure_type": "test_failure", "classification": "Test Failure-latest", "jira_project": "CSB", "group": {"name": "lp-tests", "priority": 1}, "jira_epic": "CSB-2628", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "csb-*", "failure_type": "pod_failure", "classification": "Test Execuiton", "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","csb-lp"]'
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: [email protected]
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
USER_TAGS: |
scenario csb
test:
- ref: csb-deploy-resources
- ref: csb-run-tests
workflow: firewatch-ipi-aws
- as: csb-interop-aws-latest-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": "csb-*", "failure_type": "test_failure", "classification": "Test Failure-latest", "jira_project": "CSB", "group": {"name": "lp-tests", "priority": 1}, "jira_epic": "CSB-2628", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "csb-*", "failure_type": "pod_failure", "classification": "Test Execuiton", "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","csb-lp","fips"]'
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: [email protected]
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
USER_TAGS: |
scenario csb
test:
- ref: csb-deploy-resources
- ref: csb-run-tests
workflow: firewatch-ipi-aws
zz_generated_metadata:
branch: main
org: jboss-fuse
repo: csb-tnb-tests-container
variant: csb-ocp4.18-lp-interop
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,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 @@ -389,8 +389,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 @@ -456,3 +456,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: main
org: jboss-fuse
repo: csb-tnb-tests-container
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: csb-ocp4.18-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-jboss-fuse-csb-tnb-tests-container-main-csb-ocp4.18-lp-interop-csb-interop-aws-latest
reporter_config:
slack:
channel: '#csb-qe'
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/csb-interop-aws-latest-cluster-profile
- --target=csb-interop-aws-latest
- --variant=csb-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/csb-interop-aws-latest-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: main
org: jboss-fuse
repo: csb-tnb-tests-container
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: csb-ocp4.18-lp-interop
ci.openshift.io/generator: prowgen
job-release: "4.18"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-jboss-fuse-csb-tnb-tests-container-main-csb-ocp4.18-lp-interop-csb-interop-aws-latest-fips
reporter_config:
slack:
channel: '#csb-qe'
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/csb-interop-aws-latest-fips-cluster-profile
- --target=csb-interop-aws-latest-fips
- --variant=csb-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/csb-interop-aws-latest-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 5e1179f

Please sign in to comment.