Skip to content
Open
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 @@ -86,6 +86,16 @@ tests:
skip_if_only_changed: ^\.tekton/|\.md$|^(LICENSE|OWNERS)$
steps:
workflow: openshift-ci-security
- as: coverage
commands: |
export CODECOV_TOKEN=$(cat /tmp/secret/CODECOV_TOKEN)
make coverage
container:
from: src
minimum_interval: 96h
secret:
mount_path: /tmp/secret
name: kueue-operator-codecov-token
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if this is intended as a periodic job, it would probably make sense to replace the job "test" (on line 60) with this, which adds that extra step to upload the coverage to codecov in PR.

not required though, just a recommendation.

- as: test-e2e-4-18
cluster_claim:
architecture: amd64
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,62 @@
periodics:
- agent: kubernetes
cluster: build04
decorate: true
extra_refs:
- base_ref: main
org: openshift
repo: kueue-operator
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
minimum_interval: 96h
name: periodic-ci-openshift-kueue-operator-main-coverage
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
- --secret-dir=/secrets/kueue-operator-codecov-token
- --target=coverage
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/kueue-operator-codecov-token
name: kueue-operator-codecov-token
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: kueue-operator-codecov-token
secret:
secretName: kueue-operator-codecov-token
- 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: build06
cron: 0 1 1,15 * *
Expand Down