Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WINC-1053: Add community 4.15 periodic with slack alerting #43528

Merged
merged 1 commit into from
Sep 26, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
base_images:
openshift_release_golang-1.20:
name: release
namespace: openshift
tag: golang-1.20
binary_build_commands: make build
build_root:
from_repository: true
use_build_cache: true
images:
- dockerfile_path: build/Dockerfile.ci
inputs:
openshift_release_golang-1.20:
as:
- registry.ci.openshift.org/openshift/release:golang-1.20
to: windows-machine-config-operator-test
releases:
latest:
integration:
include_built_images: true
name: "4.15"
namespace: origin
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 400Mi
src:
limits:
memory: 10Gi
requests:
cpu: 100m
memory: 10Gi
windows-machine-config-operator-test:
limits:
memory: 10Gi
requests:
cpu: 100m
memory: 10Gi
tests:
- as: aws-e2e-operator
cron: 0 0 * * 2,5
steps:
cluster_profile: aws
env:
COMMUNITY: "true"
test:
- ref: windows-e2e-operator-test
workflow: ipi-aws-ovn-hybrid
zz_generated_metadata:
branch: community-4.15
org: openshift
repo: windows-machine-config-operator
variant: okd
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
periodics:
- agent: kubernetes
cluster: build05
cron: 0 0 * * 2,5
decorate: true
extra_refs:
- base_ref: community-4.15
org: openshift
repo: windows-machine-config-operator
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws
ci-operator.openshift.io/variant: okd
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-windows-machine-config-operator-community-4.15-okd-aws-e2e-operator
reporter_config:
slack:
channel: '#forum-ocp-winc'
job_states_to_report:
- failure
- error
report_template: '<!subteam^S025TMX0LF3> :warning: Job *{{.Spec.Job}}* ended
with *{{.Status.State}}*. Commit reference: *{{.Refs.Baselink}}* <{{.Status.URL}}|View
logs>. Please investigate. :warning: Recommended not to use this bundle for
the next community WMCO release.'
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/aws-e2e-operator-cluster-profile
- --target=aws-e2e-operator
- --variant=okd
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/aws-e2e-operator-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
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
- 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
@@ -0,0 +1,51 @@
presubmits:
openshift/windows-machine-config-operator:
- agent: kubernetes
always_run: true
branches:
- ^community-4\.15$
- ^community-4\.15-
cluster: build03
context: ci/prow/okd-images
decorate: true
labels:
ci-operator.openshift.io/variant: okd
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-windows-machine-config-operator-community-4.15-okd-images
rerun_command: /test okd-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=okd
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )okd-images,?($|\s.*)