remove example cronjobs for now since they don't work

This commit is contained in:
Cassie Tarakajian 2018-09-09 14:06:23 -04:00
parent d2c8140442
commit a7e3c316a1

View file

@ -76,45 +76,45 @@ spec:
kind: Deployment
name: web-editor-node
targetCPUUtilizationPercentage: 80
---
# cronjob for p5.js examples
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: fetch-examples-job
spec:
schedule: "0 0 * * 0"
jobTemplate:
spec:
template:
spec:
containers:
- name: fetch-examples
image: index.docker.io/catarak/p5.js-web-editor:latest
command: ["npm", "run", "fetch-examples:prod"]
imagePullPolicy: Always
envFrom:
- secretRef:
name: web-editor-credentials
restartPolicy: Never
---
# cronjob for generative gestaltung p5.js examples
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: fetch-examples-gg-job
spec:
schedule: "30 0 * * 0"
jobTemplate:
spec:
template:
spec:
containers:
- name: fetch-examples-gg
image: index.docker.io/catarak/p5.js-web-editor:latest
command: ["npm", "run", "fetch-examples-gg:prod"]
imagePullPolicy: Always
envFrom:
- secretRef:
name: web-editor-credentials
restartPolicy: Never
# ---
# # cronjob for p5.js examples
# apiVersion: batch/v1beta1
# kind: CronJob
# metadata:
# name: fetch-examples-job
# spec:
# schedule: "0 0 * * 0"
# jobTemplate:
# spec:
# template:
# spec:
# containers:
# - name: fetch-examples
# image: index.docker.io/catarak/p5.js-web-editor:latest
# command: ["npm", "run", "fetch-examples:prod"]
# imagePullPolicy: Always
# envFrom:
# - secretRef:
# name: web-editor-credentials
# restartPolicy: Never
# ---
# # cronjob for generative gestaltung p5.js examples
# apiVersion: batch/v1beta1
# kind: CronJob
# metadata:
# name: fetch-examples-gg-job
# spec:
# schedule: "30 0 * * 0"
# jobTemplate:
# spec:
# template:
# spec:
# containers:
# - name: fetch-examples-gg
# image: index.docker.io/catarak/p5.js-web-editor:latest
# command: ["npm", "run", "fetch-examples-gg:prod"]
# imagePullPolicy: Always
# envFrom:
# - secretRef:
# name: web-editor-credentials
# restartPolicy: Never