Commit Graph

27 Commits

Author SHA1 Message Date
Alexis Couvreur
8b113a3c76 fix: changing module to github.com/sablierapp/sablier 2024-10-20 23:54:53 -04:00
renovate[bot]
2a2079c541 chore(deps): update traefik docker tag to v3.1.4 2024-10-01 17:30:14 -07:00
Alexis Couvreur
648c062e50 test(e2e): use file config for traefik in docker 2024-10-01 17:30:14 -07:00
renovate[bot]
28dc33694b chore(deps): update nginx docker tag to v1.27.1 2024-10-01 17:30:14 -07:00
renovate[bot]
8b092fd17a chore(deps): update traefik docker tag to v3.1.2 2024-10-01 17:30:14 -07:00
renovate[bot]
89711ffce4 chore(deps): update traefik docker tag to v3.1.1 2024-10-01 17:30:14 -07:00
renovate[bot]
91e28b5f58 chore(deps): update traefik docker tag to v3.1.0 2024-10-01 17:30:14 -07:00
Alexis Couvreur
c6f0628411 perf(providers): retrieve state on start instead of assuming starting (#350)
When an instance does not exist yet and needs to be started, its status is not assumed to be starting anymore.

Instead, the statue will be retrieved from the provider. This changes one thing, it's that you may be able to start and access your services instantly because they'll be instantly seen as ready.

With this change, you might want to make sure that your containers have a proper healthcheck used to determine when the application is able to process incoming requests.

* refactor: add interface guards

* refactor(providers): remove instance.State as a return value from Stop and Start

* test(e2e): add healthcheck on nginx container

Because now the container check is so fast, we need to add a delay on which the container is considered started and healthy to have a proper waiting page.

* fix(tests): using acouvreur/whoami:v1.10.2 instead of containous/whoami:v1.5.0

This image simply retrieve the curl binary from curlimages/curl:8.8.0 to be able to add proper docker healthcheck commands.

Once this is merged with traefik/whoami, I'll update back to the original image.

See https://github.com/traefik/whoami/issues/33
2024-10-01 17:30:14 -07:00
Alexis Couvreur
dfb9bacf59 feat(providers): add provider.auto-stop-on-startup argument (#346)
This feature adds the capability to stop unregistered running instances upon startup.

Previously, you had to stop running instances manually or issue an initial request that will shut down instances afterwards.

With this change, all discovered instances will be shutdown. They need to be registered using labels. E.g.: sablier.enable=true

Fixes #153
2024-10-01 17:30:14 -07:00
renovate[bot]
32a2233561 chore(deps): update traefik docker tag to v3.0.4 2024-10-01 17:30:14 -07:00
renovate[bot]
5e3e031c1e chore(deps): update traefik docker tag to v3 2024-10-01 17:30:14 -07:00
renovate[bot]
372fa39ef5 chore(deps): update traefik docker tag to v2.11.5 2024-10-01 17:30:14 -07:00
renovate[bot]
d883a3dce8 chore(deps): update traefik docker tag to v2.11.4 2024-06-15 18:34:45 -04:00
renovate[bot]
88af2def68 chore(deps): update nginx docker tag to v1.27.0 2024-05-30 18:08:10 -04:00
renovate[bot]
3727d1e85c chore(deps): update traefik docker tag to v2.11.3 2024-05-30 11:02:29 -04:00
renovate[bot]
dc935f534f chore(deps): update nginx docker tag to v1.26.0 2024-04-24 16:48:48 -04:00
renovate[bot]
51ef25197a chore(deps): update nginx docker tag to v1.25.5 2024-04-21 00:46:21 -04:00
renovate[bot]
052f7db91f chore(deps): update traefik docker tag to v2.11.2 2024-04-15 11:37:48 -04:00
renovate[bot]
7b62d5710c chore(deps): update nginx docker tag to v1.25.4 2024-02-14 22:32:15 -05:00
renovate[bot]
f3cc2300e9 chore(deps): update traefik docker tag to v2.11.0 2024-02-14 22:32:03 -05:00
renovate[bot]
2f55e44e5d chore(deps): update traefik docker tag to v2.10.7 2023-12-14 23:45:03 -05:00
renovate[bot]
9f6e10e21e chore(deps): update traefik docker tag to v2.10.6 2023-11-29 12:42:20 -05:00
renovate[bot]
3f1ed9513c chore(deps): update nginx docker tag to v1.25.3 2023-10-25 12:28:34 -04:00
renovate[bot]
990e07d277 chore(deps): update traefik docker tag to v2.10.5 2023-10-18 14:53:00 -04:00
renovate[bot]
f40543edaf chore(deps): update nginx docker tag to v1.25.2 2023-09-14 02:01:26 +02:00
renovate[bot]
8a53e83fae chore(deps): update traefik docker tag to v2.10.4 2023-09-13 11:22:59 -04:00
Alexis Couvreur
85c2a258ef refactor(traefik): move e2e test to new provider based strucutre 2023-04-02 00:05:04 -04:00