17 lines
404 B
YAML
17 lines
404 B
YAML
apiVersion: batch/v1beta1
|
|
kind: CronJob
|
|
metadata:
|
|
name: dancefetcher
|
|
spec:
|
|
schedule: '0 0 * * *'
|
|
concurrencyPolicy: Forbid
|
|
jobTemplate:
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: dancefetcher
|
|
imagePullPolicy: Always
|
|
image: registry.gitlab.com/unboundsoftware/dancefinder/dancefetcher:${COMMIT}
|
|
restartPolicy: OnFailure
|