starting
Unit Tests with docker compose and cargo / unit-test (push) Successful in 4m43s Details
Build image / build (push) Successful in 59m9s Details

This commit is contained in:
Alie 2024-05-29 20:37:25 +02:00
parent 02981fefb3
commit fdad62f0b2
1 changed files with 0 additions and 28 deletions

View File

@ -1,28 +0,0 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: bot-cronjob
spec:
schedule: "* */6 * * *" # Runs every 6 hours
jobTemplate:
spec:
template:
spec:
containers:
- name: bot-job
image: git.fai.st/fedi-image-bot/mastodon-image-uploader-bot:v1.0.0
volumeMounts:
- name: config-toml
mountPath: /app/config.toml
readOnly: true
- name: mastodon-token
mountPath: /app/mastodon-data.toml
readOnly: true
restartPolicy: Never
volumes:
- name: config-toml
configMap:
name: bot-config-toml
- name: mastodon-token
secret:
secretName: mastodon-data