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

Add telcov10n-ci infra-image-mirroring job #60901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
50 changes: 50 additions & 0 deletions ci-operator/jobs/infra-image-mirroring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -888,3 +888,53 @@ periodics:
- configMap:
name: image-mirror-mappings
name: config
- agent: kubernetes
cluster: app.ci
cron: '@hourly'
decorate: true
decoration_config:
timeout: 5h0m0s
labels:
ci.openshift.io/area: telcov10n-ci
ci.openshift.io/role: image-mirroring
name: periodic-image-mirroring-telcov10n-ci
reporter_config:
slack:
channel: '#eco-ci-cd-notifications'
job_states_to_report:
- failure
- error
report_template: ' :volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*.
<{{.Status.URL}}|View logs> :volcano: '
spec:
automountServiceAccountToken: true
containers:
- command:
- /tp-entrypoint.sh
env:
- name: HOME
value: /home/mirror
- name: MAPPING_FILE_PREFIX
value: mapping_telcov10n-ci
- name: dry_run
value: "false"
image: registry.ci.openshift.org/ci/image-mirror:oc-415
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /home/mirror/.docker/config.json
name: push
readOnly: true
subPath: config.json
- mountPath: /etc/imagemirror
name: config
volumes:
- name: push
secret:
secretName: registry-push-credentials-quay-io-telcov10n-ci
- configMap:
name: image-mirror-mappings
name: config