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

Intersmash - adding a periodic job configuration #43119

Merged
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 @@ -23,10 +23,6 @@ tests:
commands: |
ls -la .ci/openshift-ci/build-root/
/bin/bash .ci/openshift-ci/build-root/e2e-test.sh
credentials:
fabiobrz marked this conversation as resolved.
Show resolved Hide resolved
- mount_path: /var/run/registry-redhat-io-pull-secret
name: registry-redhat-io-pull-secret
namespace: test-credentials
from: src
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
build_root:
project_image:
dockerfile_path: .ci/openshift-ci/build-root/Dockerfile
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: intersmash-e2e-periodic
cluster_claim:
architecture: amd64
cloud: aws
owner: openshift-ci
product: ocp
timeout: 1h0m0s
version: "4.12"
cron: 0 10 * * SAT
steps:
test:
- as: intersmash-periodic-build
commands: |
ls -la .ci/openshift-ci/build-root/
/bin/bash .ci/openshift-ci/build-root/e2e-test-prod.sh
credentials:
- mount_path: /var/run/registry-redhat-io-pull-secret
name: registry-redhat-io-pull-secret
namespace: test-credentials
from: src
resources:
requests:
cpu: 100m
workflow: generic-claim
zz_generated_metadata:
branch: main
org: Intersmash
repo: intersmash
variant: periodic
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
periodics:
- agent: kubernetes
cluster: build01
fabiobrz marked this conversation as resolved.
Show resolved Hide resolved
cron: 0 10 * * SAT
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: Intersmash
repo: intersmash
labels:
ci-operator.openshift.io/variant: periodic
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-Intersmash-intersmash-main-periodic-intersmash-e2e-periodic
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --hive-kubeconfig=/secrets/hive-hive-credentials/kubeconfig
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=intersmash-e2e-periodic
- --variant=periodic
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/hive-hive-credentials
name: hive-hive-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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: hive-hive-credentials
secret:
secretName: hive-hive-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator