Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,33 @@ resources:
cpu: 500m
memory: 1Gi
tests:
- as: daily-network-doca4
capabilities:
- intranet
cron: 30 0 * * *
reporter_config:
channel: '#wg-nvidia-dpf-ci'
job_states_to_report:
- success
- failure
- error
- aborted
report_template: |-
{{- $emoji := ":warning:" }}{{- if eq .Status.State "success" }}{{- $emoji = ":white_check_mark:" }}{{- end }}
{{- $prInfo := "" }}{{- if .Spec.Refs.Pulls }}{{- $pull := index .Spec.Refs.Pulls 0 }}{{- $prInfo = printf " (<%s|PR #%d> by %s)" $pull.Link $pull.Number $pull.Author }}{{- end -}}
{{$emoji}} Job *{{.Spec.Job}}*{{$prInfo}} ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{$emoji}}
{{- if eq .Status.State "aborted" }}
The job was aborted, check for orphaned cloud resources.
{{- end }}
restrict_network_access: false
steps:
cluster_profile: metal-dpf-doca4
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-load-kubeconfig
- ref: dpf-hypervisor-sanity-existing
- ref: dpf-hypervisor-network-tests
timeout: 6h0m0s
- always_run: false
as: deploy-cluster
capabilities:
Expand All @@ -43,6 +70,7 @@ tests:
cluster_profile: metal-dpf-doca8
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
- always_run: false
as: deploy-cluster-doca4
Expand All @@ -67,6 +95,7 @@ tests:
cluster_profile: metal-dpf-doca4
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
- always_run: false
as: sanity
Expand Down Expand Up @@ -188,6 +217,7 @@ tests:
cluster_profile: metal-dpf-doca8
test:
- ref: dpf-hypervisor-load-kubeconfig
- ref: dpf-hypervisor-sanity-existing
- ref: dpf-hypervisor-network-tests
timeout: 2h0m0s
- always_run: false
Expand All @@ -213,6 +243,7 @@ tests:
cluster_profile: metal-dpf-doca4
test:
- ref: dpf-hypervisor-load-kubeconfig
- ref: dpf-hypervisor-sanity-existing
- ref: dpf-hypervisor-network-tests
timeout: 2h0m0s
- always_run: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ tests:
cluster_profile: metal-dpf-doca8
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
- always_run: false
as: deploy-cluster-doca4
Expand All @@ -68,6 +69,7 @@ tests:
cluster_profile: metal-dpf-doca4
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
zz_generated_metadata:
branch: main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ tests:
OPENSHIFT_DPF_BRANCH: release-4.22
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
- always_run: false
as: deploy-cluster-doca4
Expand All @@ -71,6 +72,7 @@ tests:
OPENSHIFT_DPF_BRANCH: release-4.22
test:
- ref: dpf-hypervisor-deploy-cluster
- ref: dpf-hypervisor-sanity-existing
timeout: 6h0m0s
- always_run: false
as: sanity
Expand Down Expand Up @@ -145,6 +147,7 @@ tests:
cluster_profile: metal-dpf-doca8
test:
- ref: dpf-hypervisor-load-kubeconfig
- ref: dpf-hypervisor-sanity-existing
- ref: dpf-hypervisor-network-tests
timeout: 2h0m0s
- always_run: false
Expand All @@ -170,6 +173,7 @@ tests:
cluster_profile: metal-dpf-doca4
test:
- ref: dpf-hypervisor-load-kubeconfig
- ref: dpf-hypervisor-sanity-existing
- ref: dpf-hypervisor-network-tests
timeout: 2h0m0s
- always_run: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
periodics:
- agent: kubernetes
cluster: build07
cron: 30 0 * * *
decorate: true
decoration_config:
sparse_checkout_files:
- Containerfile
timeout: 6h0m0s
extra_refs:
- base_ref: main
org: rh-ecosystem-edge
repo: openshift-dpf
sparse_checkout_files:
- Containerfile
labels:
capability/intranet: intranet
ci-operator.openshift.io/cloud: external
ci-operator.openshift.io/cloud-cluster-profile: metal-dpf-doca4
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-rh-ecosystem-edge-openshift-dpf-main-daily-network-doca4
reporter_config:
slack:
channel: '#wg-nvidia-dpf-ci'
job_states_to_report:
- success
- failure
- error
- aborted
report_template: |-
{{- $emoji := ":warning:" }}{{- if eq .Status.State "success" }}{{- $emoji = ":white_check_mark:" }}{{- end }}
{{- $prInfo := "" }}{{- if .Spec.Refs.Pulls }}{{- $pull := index .Spec.Refs.Pulls 0 }}{{- $prInfo = printf " (<%s|PR #%d> by %s)" $pull.Link $pull.Number $pull.Author }}{{- end -}}
{{$emoji}} Job *{{.Spec.Job}}*{{$prInfo}} ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{$emoji}}
{{- if eq .Status.State "aborted" }}
The job was aborted, check for orphaned cloud resources.
{{- 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
- --target=daily-network-doca4
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
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