generated from actions/hello-world-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
89 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
erlang 25.3.2.2 | ||
erlang 25.3.2.7 | ||
elixir 1.14.4-otp-25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/execlineb -P | ||
# Strip application additional timestamp | ||
# Note: execlineb requires \ to be escaped as \\ and strings to be surrounded by " not ' | ||
pipeline { /bin/sed "s/[0-9]\\{4\\}\\/[0-9]\\{2\\}\\/[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\}\\.[0-9]\\{3\\}//" } | ||
s6-log -b n20 s1000000 T /var/log/<%= name %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
dependencies: | ||
trace: true | ||
build: | ||
- go | ||
- libcap | ||
runtime: | ||
- bash | ||
- curl | ||
- s6 | ||
- jq | ||
- ca-certificates | ||
- uplink-caddy-openrc | ||
|
||
stack: alpine/3.18 | ||
|
||
build: | ||
destinations: | ||
- build | ||
command: | | ||
go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest | ||
mkdir build | ||
~/go/bin/xcaddy build --output ./bin/caddy \ | ||
--with github.com/ss098/certmagic-s3 \ | ||
--with github.com/caddyserver/cache-handler | ||
run: | ||
name: uplink-caddy | ||
services: | ||
- name: server | ||
binary: caddy | ||
path: /usr/sbin | ||
start: | ||
call: run | ||
|
||
package: | | ||
cd "$srcdir" | ||
install -Dm755 bin/caddy "$pkgdir"/usr/sbin/caddy | ||
setcap cap_net_bind_service=+ep "$pkgdir"/usr/sbin/caddy | ||
install -Dm644 "$srcdir"/Caddyfile "$pkgdir"/etc/$pkgname/Caddyfile | ||
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname | ||
install -Dm755 "$srcdir"/$pkgname.run "$pkgdir"/var/lib/$pkgname/service/run | ||
install -Dm755 "$srcdir"/$pkgname.log "$pkgdir"/var/lib/$pkgname/service/log/run | ||
install -Dm755 "$srcdir"/$pkgname.environment "$pkgdir"/var/lib/$pkgname/bin/environment | ||
install -Dm755 "$srcdir"/$pkgname.env-exec "$pkgdir"/var/lib/$pkgname/bin/env-exec | ||
hook: | ||
post-install: | | ||
rc-update add uplink-caddy | ||
pre-upgrade: | | ||
rc-service uplink-caddy stop | ||
post-upgrade: | | ||
rc-service uplink-caddy start | ||
post-deinstall: | | ||
rc-service uplink-caddy stop | ||
rc-update del uplink-caddy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters