Compare commits

...

3 Commits

Author SHA1 Message Date
Neil Hanlon
cec5dfec9f
add woodpecker CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-07 12:11:31 -04:00
Neil Hanlon
77827af3ac
ipv6 cert 2023-08-07 12:09:12 -04:00
Neil Hanlon
e0802d6618
move to clusterip 2023-08-07 11:27:51 -04:00
4 changed files with 34 additions and 3 deletions

29
.woodpecker.yml Normal file
View File

@ -0,0 +1,29 @@
---
branches: main
pipeline:
woodpecker-ci:
image: woodpeckerci/plugin-docker-buildx
privileged: true
secrets: [repository_username, repository_password]
settings:
dockerfile: woodpecker-ci/Containerfile
platforms: linux/amd64,linux/arm64/v8
registry: git.shrug.pw
repo: git.shrug.pw/neil/cultfiftoctet.org
tag: latest
pull_image: true
auto_tag: true
auto_labels: true
mtu: 1480
username:
from_secret: registry_username
password:
from_secret: registry_password
logins:
- registry: git.shrug.pw
username:
from_secret: registry_username
password:
from_secret: registry_password

View File

@ -2,3 +2,4 @@ FROM docker.io/library/caddy:2.6.0-beta.3
COPY Caddyfile /etc/caddy/Caddyfile COPY Caddyfile /etc/caddy/Caddyfile
COPY index.html /srv/ COPY index.html /srv/
COPY niusgmrvc.txt /srv/

View File

@ -5,7 +5,7 @@ metadata:
name: caddy name: caddy
namespace: cultfifthoctet namespace: cultfifthoctet
spec: spec:
replicas: 3 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: caddy app: caddy
@ -16,7 +16,7 @@ spec:
spec: spec:
containers: containers:
- name: caddy - name: caddy
image: git.shrug.pw/neil/cultfifthoctet:latest image: git.shrug.pw/neil/cultfifthoctet
ports: ports:
- name: tcp - name: tcp
containerPort: 8080 containerPort: 8080
@ -31,7 +31,7 @@ spec:
- port: 8080 - port: 8080
targetPort: 8080 targetPort: 8080
protocol: TCP protocol: TCP
type: LoadBalancer type: ClusterIP
selector: selector:
app: caddy app: caddy

1
niusgmrvc.txt Normal file
View File

@ -0,0 +1 @@
Hi!