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