Compare commits

..
6 Commits
Author SHA1 Message Date
pierre.geeraert c9e072ad38 enable manual build
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
2026-08-26 10:42:24 +01:00
pierre.geeraert 7b4a2aa1dc try tha
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
2026-08-26 10:40:39 +01:00
pi-ux-ce 01bb7d96ad add before deletion
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 7s
2026-08-12 09:57:26 +01:00
pi-ux-ce 26a9b86d3d renaming dockerfile
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m47s
2026-03-02 17:03:30 +00:00
pi-ux-ce 8b7e2602ca delete stash file
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 22s
2026-03-02 16:59:06 +00:00
pi-ux-ce 9dfb945c96 delete pagerduty files
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
2026-03-02 16:58:38 +00:00
10 changed files with 116 additions and 138 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
name: Gitea Actions Demo name: Dockerfile runner
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: on:
push: push:
@@ -8,6 +8,8 @@ on:
- 'dockerfile' - 'dockerfile'
tags-ignore: tags-ignore:
- '*' - '*'
workflow_dispatch: # Enables the manual run UI button
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
@@ -30,6 +32,10 @@ jobs:
username: ${{ secrets.USERNAME_GITEA }} username: ${{ secrets.USERNAME_GITEA }}
password: ${{ secrets.PASSWORD_GITEA }} password: ${{ secrets.PASSWORD_GITEA }}
- name: check docker config
run: |
cat ~/.docker/config.json
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
+4
View File
@@ -1 +1,5 @@
# 2026/08/12
removing nexstcloud ics as we are using a share dcalendar using nextcloud now
sudo docker build -t nextcloud_ics_sync . sudo docker build -t nextcloud_ics_sync .
View File
+2 -1
View File
@@ -18,7 +18,8 @@ spec:
spec: spec:
containers: containers:
- name: nextcloud-ics-sync - name: nextcloud-ics-sync
image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0 image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:latest
imagePullPolicy: Always
volumeMounts: volumeMounts:
- name: nextcloud-ics-sync-log - name: nextcloud-ics-sync-log
mountPath: /var/log/nextcloud-ics-sync-log/ mountPath: /var/log/nextcloud-ics-sync-log/
+103
View File
@@ -0,0 +1,103 @@
apiVersion: batch/v1
kind: Job
metadata:
name: manual-nextcloud-ics-sync
namespace: nextcloud-ics-sync
spec:
backoffLimit: 4
template:
metadata:
labels:
job-name: manual-nextcloud-ics-sync
spec:
containers:
- image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0
imagePullPolicy: Always
name: nextcloud-ics-sync
volumeMounts:
- mountPath: /var/log/nextcloud-ics-sync.log
name: nextcloud-ics-sync-log
dnsConfig:
nameservers:
- 8.8.8.8
restartPolicy: Never
volumes:
- hostPath:
path: /var/log/nextcloud-ics-sync.log
type: File
name: nextcloud-ics-sync-log
apiVersion: batch/v1
kind: Job
metadata:
annotations:
cronjob.kubernetes.io/instantiate: manual
creationTimestamp: "2026-03-02T17:12:54Z"
generation: 1
labels:
batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b
batch.kubernetes.io/job-name: manual-nextcloud-ics-sync
controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b
job-name: manual-nextcloud-ics-sync
name: manual-nextcloud-ics-sync
namespace: nextcloud-ics-sync
ownerReferences:
- apiVersion: batch/v1
blockOwnerDeletion: true
controller: true
kind: CronJob
name: nextcloud-ics-sync
uid: 77a04697-30ee-4294-87b3-2950ae49ffb9
resourceVersion: "224848319"
uid: ae19ce07-ec43-4323-8941-d3bac983c44b
spec:
backoffLimit: 4
completionMode: NonIndexed
completions: 1
parallelism: 1
selector:
matchLabels:
batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b
suspend: false
template:
metadata:
creationTimestamp: null
labels:
batch.kubernetes.io/controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b
batch.kubernetes.io/job-name: manual-nextcloud-ics-sync
controller-uid: ae19ce07-ec43-4323-8941-d3bac983c44b
job-name: manual-nextcloud-ics-sync
spec:
containers:
- image: gitea.tryton.geeraert.eu/pi-ux-ce/nextcloud_ics_sync:1.0.0
imagePullPolicy: Always
name: nextcloud-ics-sync
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/log/nextcloud-ics-sync-log/
name: nextcloud-ics-sync-log
dnsConfig:
nameservers:
- 8.8.8.8
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: nextcloud-ics-sync-log
persistentVolumeClaim:
claimName: nextcloud-ics-sync-log
ttlSecondsAfterFinished: 100
status:
completionTime: "2026-03-02T17:13:17Z"
conditions:
- lastProbeTime: "2026-03-02T17:13:17Z"
lastTransitionTime: "2026-03-02T17:13:17Z"
status: "True"
type: Complete
ready: 0
startTime: "2026-03-02T17:12:55Z"
succeeded: 1
uncountedTerminatedPods: {}
-10
View File
@@ -1,10 +0,0 @@
#!/bin/bash
#install required packages
apk add curl wget
destination_folder="/storage"
pagerduty_webcal_url="https://prometheusgroup.pagerduty.com/private/ec39afcfcc8fad708b335db797b2c1f4324f7f7097b3c1b65c3c0cea08388915/feed/PLHRBFV"
today_date=$(date "+%Y-%m-%d")
curl -s -A "$USER_AGENT" -o "$destination_folder/pagerduty_export_$today_date.ics" "$pagerduty_webcal_url"
-36
View File
@@ -1,36 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: pagerduty-schedule
---
apiVersion: batch/v1
kind: Job
metadata:
name: pagerduty-schedule
namespace: pagerduty-schedule
spec:
template:
spec:
containers:
- name: pagerduty-schedule
image: bash
imagePullPolicy: Always
volumeMounts:
- mountPath: /config
name: scripts
- mountPath: /storage
name: pagerduty-schedule-storage
command:
- bash
- /config/pagerduty-schedule.sh
restartPolicy: Never
volumes:
- configMap:
defaultMode: 0744
name: pagerduty-schedule
name: scripts
- name: pagerduty-schedule-storage
persistentVolumeClaim:
claimName: pagerduty-schedule-storage
backoffLimit: 4
-38
View File
@@ -1,38 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: pagerduty-schedule
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: pagerduty-schedule
namespace: pagerduty-schedule
spec:
schedule: "0 0 * * *"
jobTemplate:
spec:
backoffLimit: 4
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- name: pagerduty-schedule
image: bash
command:
- bash
- /config/pagerduty-schedule.sh
volumeMounts:
- mountPath: /config
name: scripts
- mountPath: /storage
name: pagerduty-schedule-storage
volumes:
- name: scripts
configMap:
defaultMode: 0744
name: pagerduty-schedule
- name: pagerduty-schedule-storage
persistentVolumeClaim:
claimName: pagerduty-schedule-storage
restartPolicy: Never
-18
View File
@@ -1,18 +0,0 @@
apiVersion: v1
data:
pagerduty-schedule.sh: |
#!/bin/bash
#install required packages
apk add curl wget
destination_folder="/storage"
pagerduty_webcal_url="https://prometheusgroup.pagerduty.com/private/ec39afcfcc8fad708b335db797b2c1f4324f7f7097b3c1b65c3c0cea08388915/feed/PLHRBFV"
today_date=$(date "+%Y-%m-%d")
curl -s -A "$USER_AGENT" -o "$destination_folder/pagerduty_export_$today_date.ics" "$pagerduty_webcal_url"
kind: ConfigMap
metadata:
creationTimestamp: null
name: pagerduty-schedule
namespace: pagerduty-schedule
-34
View File
@@ -1,34 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: stash-reddit-dowloader
namespace: stash
spec:
template:
spec:
containers:
- name: stash-reddit-dowloader
image: alpine
imagePullPolicy: Always
volumeMounts:
- mountPath: /config
name: scripts
- mountPath: /data
mountPropagation: None
name: data-pvc
command:
- /bin/sh
- -c
- sleep 3600
# - /config/reddit_downloader.sh Countem1a /data
restartPolicy: Never
volumes:
- configMap:
defaultMode: 365
name: stash-reddit-dowloader
name: scripts
- name: data-pvc
persistentVolumeClaim:
claimName: data-pvc
backoffLimit: 4