Commit Graph

34 Commits

Author SHA1 Message Date
Alexis Couvreur
0588627d36 fix: bump go 1.25 (#723)
* fix: bump go 1.25

also bump deps and fix golangci lint

* golangci lint fixes
2025-11-10 22:51:07 -05:00
Alexis Couvreur
9430cc3eb3 chore(deps): bump to go1.24.0 (#521)
* chore(deps): bump to go1.24.0

* use proxy-wasm/proxy-wasm-go-sdk

* remove tinygo

* update docker image

* add missing env

* use go tool directive for mockgen

* chore: bump Kong/ngx_wasm_module to pre-release 0.6.0

Thanks to https://github.com/Kong/ngx_wasm_module/issues/682

* fix go mod

* set caddy to go1.23
2025-03-01 15:12:54 -05:00
Alexis Couvreur
648c062e50 test(e2e): use file config for traefik in docker 2024-10-01 17:30:14 -07:00
renovate[bot]
76304993cf chore(deps): update golang docker tag to v1.23 2024-10-01 17:30:14 -07:00
Alexis Couvreur
266dd6546e build(docker): reduce image size by ~10%
Switching from alpine to scratch as base image.
2024-10-01 17:30:14 -07:00
renovate[bot]
307157c2c8 chore(deps): update alpine docker tag to v3.20.3 2024-10-01 17:30:14 -07:00
renovate[bot]
a9f5b24725 chore(deps): update alpine docker tag to v3.20.2 2024-10-01 17:30:14 -07:00
Alexis Couvreur
82ae5e905a fix(docker): move sablier binary from /etc/sablier/sablier to /bin/sablier
As the Dockerfile is using an Alpine image for the final layer, it should try to respect Alpine and Linux FHS as much as possible.

Note that the config file will remain in /etc/sablier/ folder

Fixes #348
2024-10-01 17:30:14 -07:00
renovate[bot]
b59b81c531 chore(deps): update alpine docker tag to v3.20.1 2024-10-01 17:30:14 -07:00
Alexis Couvreur
dd110e8296 fix(deps): update to go 1.22 2024-05-30 11:46:27 -04:00
renovate[bot]
cc0ebb9cf3 chore(deps): update alpine docker tag to v3.20.0 2024-05-30 11:02:55 -04:00
Alexis Couvreur
9167e9c8c8 refactor(theme): themes are loaded at startup instead of every request 2024-04-30 14:07:53 -04:00
Alexis Couvreur
9be18808ce ci(docker): distribute build across multiple runners (#286)
Docker build for multiplatform arch is too slow sequentially on the same runner.

The build is now distributed on multiple runners. Each architecure image is pushed as a digest and is reconciled into a single image afterwards.
2024-04-21 00:20:24 -04:00
renovate[bot]
bde670b902 chore(deps): update alpine docker tag to v3.19.1 2024-02-04 23:14:08 -05:00
renovate[bot]
e310cada5e chore(deps): update alpine docker tag to v3.19.0 2023-12-14 23:44:09 -05:00
renovate[bot]
f301471bdd chore(deps): update alpine docker tag to v3.18.4 2023-10-10 13:32:22 -04:00
Alexis Couvreur
8896864ad6 fix(deps): set Dockerfile alpine version to 3.18.3 2023-09-14 01:33:11 +02:00
Alexis Couvreur
ea1030353e feat(deps): upgrade to go 1.21 2023-08-25 18:11:01 -04:00
Alexis Couvreur
ccf0829274 feat(docker): add default config file 2022-11-11 17:00:35 -05:00
Alexis Couvreur
2e1f2914a9 fix: inject release version inside docker image 2022-11-11 17:00:35 -05:00
Alexis Couvreur
98023a853a feat(config): add --configFile argument to specify custom config file
It will also look by default to `/etc/sablier/` then `$XDG_CONFIG_HOME` then `$HOME/.config/` and then `.`.

Closes #91
2022-11-11 17:00:35 -05:00
Alexis Couvreur
23f7626f6b fix(docker): run container as root by default
To access the docker socket you need to be root or in the docker group.

The GID changes from one machine to the other.

For now the image will be running as root.
2022-10-04 19:06:00 +00:00
Alexis Couvreur
65e98dcac2 build(docker): use Makefile build directive inside Dockerfile 2022-10-04 14:40:28 +00:00
Alexis Couvreur
0daddf377c feat: add new cli system (#51) 2022-10-03 20:27:14 +00:00
Alexis Couvreur
551a146d94 feat: merge service repository into Sablier
Add plugins folder to integrate with multiple reverse proxies

The project is now released as 'Sablier'
2022-10-03 20:27:06 +00:00
Alexis Couvreur
3eb7d480da feat: add persistent storage (#30)
* refactor: remove unused default timeout

* feat: add persistent storage

Allows you to save the state to a file and load it upon restarting the app to restore the previous state.

* chore: upgrade to go 1.18

* use tinykv with generics

* build: add "-buildvcs=false" flag

Git is not available in golang:1.18-alpine image
2022-07-23 12:53:23 -04:00
Alexis Couvreur
a127a0fc86 feat: add multiplatform docker image build (#18)
The build is very slow for some reason. ~15mins
2021-10-01 23:19:33 +02:00
Alexis COUVREUR
e11151c08f ci(docker): expose port 10000 2021-09-28 14:21:55 +02:00
Alexis Couvreur
033f125a5b feat(docker): use ENTRYPOINT for go executable 2021-09-26 14:06:47 +00:00
Alexis Couvreur
c96482ef67 feat: add docker classic support (#9)
Defaults with docker swarm support for retro compatibiliy.
You can add --swarmMode=false to deactivate it.

Closes #4
2021-09-26 00:36:45 +02:00
Alexis Couvreur
f051238f41 Changed image to work 2020-10-21 20:27:13 +02:00
Alexis Couvreur
105e7b6a83 Added executable entrypoint 2020-10-21 20:02:58 +02:00
Alexis Couvreur
2ca72df567 Fix build path 2020-10-21 19:56:12 +02:00
Alexis Couvreur
c733adca93 Added github action build multi arch 2020-10-21 12:57:00 +02:00