Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59f166c245 | ||
|
|
5067c8d25e | ||
|
|
9e101c3672 | ||
|
|
80ba2fb404 | ||
|
|
aa98598705 | ||
|
|
f21c229d2c | ||
|
|
0b89d187fb | ||
|
|
a857ae6b4c | ||
|
|
36d2dc8371 | ||
|
|
1fe1eaaa35 | ||
|
|
824e96091f | ||
|
|
681fc0f781 | ||
|
|
0aeebb5d98 | ||
|
|
e2a4506f94 | ||
|
|
9a46b316df |
@@ -2,14 +2,15 @@ name: Check
|
|||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
"Lint Ansible Files":
|
"Lint Ansible Files":
|
||||||
runs-on: ubuntu-22.04
|
runs-on: node-22-bullseye
|
||||||
steps:
|
steps:
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
|
- run: apt-get upgrade -y
|
||||||
- run: apt-get install -y python3 python3-pip python3-venv
|
- run: apt-get install -y python3 python3-pip python3-venv
|
||||||
- run: python3 --version
|
- run: python3 --version
|
||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- run: python3 -m venv venv
|
- run: python3 -m venv venv
|
||||||
- run: venv/bin/pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
|
- run: venv/bin/python3 -m pip --disable-pip-version-check install ansible ansible-lint
|
||||||
- run: venv/bin/ansible-lint -c .ansible-lint ansible
|
- run: venv/bin/ansible-lint -c .ansible-lint ansible
|
||||||
# TODO: Reimplement ansible-play --check step from old drone config
|
# TODO: Reimplement ansible-play --check step from old drone config
|
||||||
|
|||||||
@@ -17,3 +17,7 @@ ansible-lint --offline
|
|||||||
```
|
```
|
||||||
|
|
||||||
to avoid checking for a new version every single run.
|
to avoid checking for a new version every single run.
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
|
||||||
|
- [ ] Migrate to `community.docker.docker_compose_v2` (`v1` is deprecated)
|
||||||
|
|||||||
@@ -109,11 +109,11 @@
|
|||||||
# that Gitea is reachable before those configurations are deployed.
|
# that Gitea is reachable before those configurations are deployed.
|
||||||
- name: Set up caddy and gitea containers
|
- name: Set up caddy and gitea containers
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose_v2:
|
||||||
project_src: "/etc/pbri/docker/{{ item.name }}"
|
project_src: "/etc/pbri/docker/{{ item.name }}"
|
||||||
state: "{{ item.state }}"
|
state: "{{ item.state }}"
|
||||||
build: true
|
build: "always"
|
||||||
debug: true
|
pull: "always"
|
||||||
loop:
|
loop:
|
||||||
- name: caddy
|
- name: caddy
|
||||||
state: present
|
state: present
|
||||||
@@ -132,11 +132,11 @@
|
|||||||
delay: 5 # Retry every 5 seconds
|
delay: 5 # Retry every 5 seconds
|
||||||
- name: Set up other containers
|
- name: Set up other containers
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_compose:
|
community.docker.docker_compose_v2:
|
||||||
project_src: "/etc/pbri/docker/{{ item.name }}"
|
project_src: "/etc/pbri/docker/{{ item.name }}"
|
||||||
state: "{{ item.state }}"
|
state: "{{ item.state }}"
|
||||||
build: true
|
build: "always"
|
||||||
debug: true
|
pull: "always"
|
||||||
loop:
|
loop:
|
||||||
- name: drone
|
- name: drone
|
||||||
state: present
|
state: present
|
||||||
@@ -146,10 +146,11 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: utoy
|
- name: utoy
|
||||||
state: present
|
state: present
|
||||||
- name: score
|
|
||||||
state: present
|
|
||||||
|
|
||||||
|
# Keep these to ensure they're down
|
||||||
- name: factorio
|
- name: factorio
|
||||||
state: absent
|
state: absent
|
||||||
- name: glebby
|
- name: glebby
|
||||||
state: absent
|
state: absent
|
||||||
|
- name: score
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -44,7 +44,3 @@ plantuml.pbrinkmeier.de {
|
|||||||
utoy.beany.club {
|
utoy.beany.club {
|
||||||
reverse_proxy utoy:3000
|
reverse_proxy utoy:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
score.brocke.net {
|
|
||||||
reverse_proxy score:8080
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# Webserver for static files and reverse proxy
|
# Webserver for static files and reverse proxy
|
||||||
web:
|
web:
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
codi:
|
codi:
|
||||||
image: hackmdio/hackmd:2.4.2
|
image: hackmdio/hackmd:2.5.4
|
||||||
user: hackmd
|
user: hackmd
|
||||||
environment:
|
environment:
|
||||||
# Admin stuff
|
# Admin stuff
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
drone:
|
drone:
|
||||||
image: drone/drone:2
|
image: drone/drone:2
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
image: pbrinkmeier/factorio
|
image: pbrinkmeier/factorio
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
image: gitea/gitea:1.20.3
|
image: gitea/gitea:1.20.3
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ runner:
|
|||||||
# ubuntu:22.04 here is not enough.
|
# ubuntu:22.04 here is not enough.
|
||||||
labels:
|
labels:
|
||||||
- "ubuntu-22.04:docker://node:16-bullseye"
|
- "ubuntu-22.04:docker://node:16-bullseye"
|
||||||
|
- "node-22-bullseye:docker://node:22-bullseye"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
# Enable cache server to use actions/cache.
|
# Enable cache server to use actions/cache.
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
glebby:
|
glebby:
|
||||||
image: git.pbrinkmeier.de/paul/glebby:1.1-prod
|
image: git.pbrinkmeier.de/paul/glebby:1.1-prod
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
jupyter:
|
jupyter:
|
||||||
image: git.pbrinkmeier.de/paul/jup:1.5
|
image: git.pbrinkmeier.de/paul/jup:1.5
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# score
|
||||||
|
|
||||||
|
Seems to not be maintained anymore.
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
score:
|
score:
|
||||||
image: ghcr.io/lbrocke/score:v1.0.2
|
image: ghcr.io/lbrocke/score:v1.0.2
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
utoy:
|
utoy:
|
||||||
image: git.pbrinkmeier.de/paul/utoy:0.6
|
image: git.pbrinkmeier.de/paul/utoy:0.6
|
||||||
|
|||||||
+13
-13
@@ -1,14 +1,14 @@
|
|||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
35623364633833623964623536646534373634663736613561333561343136333965306638396532
|
39313233643634366432366630303965663035633564343330643331623366616663623262653931
|
||||||
6162393239383936386338666565306132646230383066630a336337613636383431623738343663
|
6565356236613236333336383230363934663839323130300a656137663366663733326565663132
|
||||||
61343262363631376665383035323139313863626331666439336134613035663439376231343863
|
35316163643530356162383835396236306666326231663364336163353636356531383235356133
|
||||||
3032353139643138640a383365356630323835383538393734643134343133653033383663333464
|
6630396339666265320a623364623863353364646363623961363064613561633438303035343232
|
||||||
62386361633435633664306531623835353665326432393932336163316561653866343137323030
|
38313966376138663633636339393134303735396436386337626135663965653362306331333362
|
||||||
63643262323436356166373533363235366238393633336631336266373837373932313134303563
|
37396164333430343561316438616264633332303936336339333133666432313131626465323137
|
||||||
65633337393938623134636538653561356565333831356638373862376333336163363438626438
|
34623865303238326564373835376635303537323661653039383365636334336535663730333261
|
||||||
39343436383732313561396236656530303064363961663636353538346264633532633866333162
|
36376463386136326130623731343438363939626465386234313837636561313039333837323063
|
||||||
35303032303662646166333537373566316462633536333463323433353539623363323036643763
|
39636334643361316662356337653238643363643133616364653035663938303261613163623934
|
||||||
34376365613932303133366236613235636238643139666663356436326532616437383432303437
|
36633531623731666363653137393536316363666366643835666661366638326463373134323034
|
||||||
39376535656266383465373837643634383937656431323265386163373138336164383666383962
|
61626465636137393933663731393766336566633431386431316164633039396162343165306563
|
||||||
64623762613332363731323739666238613634646237396331666463363663313461313966356233
|
39326239303537363838643833643036666135353065306537303331376231376163306164303536
|
||||||
30653362353061333739303234336461373337346632646433623462623765353330
|
30346366333564323261383162376336663534636436383931613038343466343662
|
||||||
|
|||||||
Generated
+6
-6
@@ -5,11 +5,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685518550,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1686259070,
|
"lastModified": 1719936093,
|
||||||
"narHash": "sha256-bJ2TqJHMdU27o3+AlYzsDooUzneFHwvK5LaRv5JYit4=",
|
"narHash": "sha256-oe5wiTSfxeDLisswomHcMGMV01hkBGuCJyMzjqCDdPY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8a7d5c039cacc83bd1926aaabc04d541e04a1460",
|
"rev": "f593f9129f3cbf39261a8bbc86f6b4ceb4624881",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Reference in New Issue
Block a user