Compare commits

..

13 Commits

Author SHA1 Message Date
jblu 5c0d5bc1cc Merge pull request 'dev-cronie' (#1) from dev-cronie into main
ci / docker (push) Successful in 1m16s
Reviewed-on: #1
2026-04-08 17:15:59 -05:00
jblu e83151f74f updated docker file
ci / docker (push) Successful in 32s
2026-04-08 17:10:17 -05:00
jblu 56a887c0fb updated crontabs
ci / docker (push) Successful in 29s
2026-04-08 17:04:06 -05:00
jblu e929d68f3f adjusted crontab
ci / docker (push) Successful in 30s
2026-04-08 17:03:03 -05:00
jblu 564264dbbe fixed entrypoint and changed to not install cronie
ci / docker (push) Successful in 29s
2026-04-08 16:59:29 -05:00
jblu 1d87e47295 testing different crons
ci / docker (push) Successful in 31s
2026-04-08 16:55:18 -05:00
jblu 47fff33a0d updated entrypoint
ci / docker (push) Successful in 31s
2026-04-08 16:40:25 -05:00
jblu e1760f73b5 updated ci
ci / docker (push) Successful in 38s
2026-04-08 13:27:54 -05:00
jblu e9a8b99c20 updated buildx version 2026-04-08 13:13:20 -05:00
jblu 5a8511c8cc updated buildx action
Build and Deploy docker container / build (push) Failing after 4m29s
2026-04-08 13:12:51 -05:00
jblu 5c73549e1c add dev build
Build and Deploy docker container / build (push) Has been cancelled
2026-04-08 13:08:34 -05:00
jblu 22fea0b24d migrate to gitea actions 2026-04-08 13:02:24 -05:00
jblu 289c1cac72 adjusted cron 2026-04-08 12:26:38 -05:00
6 changed files with 66 additions and 37 deletions
-1
View File
@@ -1,5 +1,4 @@
.gitignore
LICENSE
README.md
.drone.yml
Dockerfile
-31
View File
@@ -1,31 +0,0 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: git.jonb.io
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jonb.io/jblu/hottub
tags:
- latest
when:
branch:
- main
- name: docker-test
image: plugins/docker
settings:
registry: git.jonb.io
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jonb.io/jblu/hottub
tags:
- dev
when:
branch:
- dev*
+30
View File
@@ -0,0 +1,30 @@
name: ci
on:
push:
branches:
- dev*
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v4
with:
registry: git.jonb.io
username: '${{ gitea.actor }}'
password: '${{ secrets.JONBIO_CI }}'
-
name: Set up QEMU
uses: docker/setup-qemu-action@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
-
name: Build and push
uses: docker/build-push-action@v7
with:
push: true
tags: git.jonb.io/jblu/hottub:dev
+30
View File
@@ -0,0 +1,30 @@
name: ci
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v4
with:
registry: git.jonb.io
username: '${{ gitea.actor }}'
password: '${{ secrets.JONBIO_CI }}'
-
name: Set up QEMU
uses: docker/setup-qemu-action@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
-
name: Build and push
uses: docker/build-push-action@v7
with:
push: true
tags: git.jonb.io/jblu/hottub:latest
+1 -2
View File
@@ -1,5 +1,4 @@
FROM alpine:latest
COPY . opt
RUN apk add --no-cache supercronic
COPY entrypoint.sh /opt
RUN chmod +x /opt/entrypoint.sh
CMD ["/opt/entrypoint.sh"]
+5 -3
View File
@@ -1,7 +1,9 @@
#!/bin/sh
CRON_CONFIG_FILE="/opt/crontab"
CRON_CONFIG_FILE="/etc/crontabs/root"
echo "${CRON} echo Come in the water is fine. >/dev/null" > $CRON_CONFIG_FILE
echo "${CRON} echo Come in the water is fine! > /opt/output.log" >> $CRON_CONFIG_FILE
echo "${CRON} echo Turn on the bubbles!" >> $CRON_CONFIG_FILE
echo "@reboot echo Come in the water is fine! > /opt/reboot.log" >> $CRON_CONFIG_FILE
exec supercronic -passthrough-logs -quiet $CRON_CONFIG_FILE
exec crond -f