Commit Graph

541 Commits

Author SHA1 Message Date
renovate[bot]
858943c3f4 chore(deps): update golang docker tag to v1.23 2024-09-10 23:46:49 -04:00
renovate[bot]
d06a81b486 chore(deps): update nginx docker tag to v1.27.1 2024-09-10 23:26:39 -04:00
semantic-release-bot
0df473f16d docs(release): update doc version from 1.8.0-beta.20 to 1.8.0-beta.21 [skip ci] v1.8.0-beta.21 2024-09-11 03:26:15 +00:00
renovate[bot]
4eeb327850 fix(deps): update golang.org/x/exp digest to 701f63a 2024-09-10 23:25:37 -04:00
renovate[bot]
c5537845f4 chore(deps): update mcr.microsoft.com/devcontainers/go docker tag to v1.23 2024-09-10 23:25:28 -04:00
Alexis Couvreur
dc75be5f83 chore: remove old example from root folder 2024-09-10 23:25:09 -04:00
Alexis Couvreur
238df342d4 chore: remove all-contributors
It was not up to date, and Github is doing a better job at this for now.
2024-09-10 23:25:09 -04:00
Alexis Couvreur
ad4cfb4b9c build(docker): reduce image size by ~10%
Switching from alpine to scratch as base image.
2024-09-10 23:25:09 -04:00
Alexis Couvreur
a764ab180a build(binary): reduce binary size by ~30%
Adds `-s -w` ldflags and `-trimpath` go build parameter.
2024-09-10 22:20:44 -04:00
semantic-release-bot
ca9e251f53 docs(release): update doc version from 1.8.0-beta.19 to 1.8.0-beta.20 [skip ci] v1.8.0-beta.20 2024-09-09 14:54:14 +00:00
renovate[bot]
18262ae649 fix(deps): update golang.org/x/exp digest to e7e105d 2024-09-09 10:53:14 -04:00
renovate[bot]
b9c5772212 fix(deps): update module github.com/docker/docker to v27.2.1+incompatible 2024-09-09 10:53:00 -04:00
renovate[bot]
2729e97a69 chore(deps): update alpine docker tag to v3.20.3 2024-09-09 10:52:50 -04:00
semantic-release-bot
83749e7fb6 docs(release): update doc version from 1.8.0-beta.18 to 1.8.0-beta.19 [skip ci] v1.8.0-beta.19 2024-09-06 16:41:42 +00:00
valankar
c7e9f06fd1 fix(api): add Cache-Control header on dynamic page to prevent caching by services like Cloudflare. (#389)
* Disable caching for dynamic page.

* Add test for Cache-Control header.
2024-09-06 12:40:58 -04:00
semantic-release-bot
0128fb815d docs(release): update doc version from 1.8.0-beta.17 to 1.8.0-beta.18 [skip ci] v1.8.0-beta.18 2024-09-03 21:52:33 +00:00
renovate[bot]
12f739faf4 fix(deps): update module github.com/docker/docker to v27.2.0+incompatible 2024-09-03 17:51:51 -04:00
renovate[bot]
932d7d93d5 chore(deps): update rancher/k3s docker tag to v1.31.0 2024-09-03 17:50:56 -04:00
renovate[bot]
c35cb4e39c chore(deps): update apache/apisix docker tag to v3.10.0 2024-09-03 17:50:46 -04:00
semantic-release-bot
11b4d445f0 docs(release): update doc version from 1.8.0-beta.16 to 1.8.0-beta.17 [skip ci] v1.8.0-beta.17 2024-08-23 03:05:08 +00:00
renovate[bot]
554589ff07 fix(deps): update golang.org/x/exp digest to 9b4947d 2024-08-22 23:04:11 -04:00
renovate[bot]
383056efec chore(deps): update rancher/k3s docker tag to v1.30.4 2024-08-21 23:55:49 -04:00
semantic-release-bot
b236b0eeac docs(release): update doc version from 1.8.0-beta.15 to 1.8.0-beta.16 [skip ci] v1.8.0-beta.16 2024-08-14 14:34:39 +00:00
renovate[bot]
a93d5945b1 fix(deps): update module github.com/docker/docker to v27.1.2+incompatible 2024-08-14 10:33:55 -04:00
semantic-release-bot
1e112b6226 docs(release): update doc version from 1.8.0-beta.14 to 1.8.0-beta.15 [skip ci] v1.8.0-beta.15 2024-08-14 00:38:12 +00:00
renovate[bot]
f6792117dc fix(deps): update kubernetes packages to v0.31.0 2024-08-13 20:37:13 -04:00
semantic-release-bot
88847d90a8 docs(release): update doc version from 1.8.0-beta.13 to 1.8.0-beta.14 [skip ci] v1.8.0-beta.14 2024-08-09 04:44:16 +00:00
renovate[bot]
879ba669c2 chore(deps): update traefik docker tag to v3.1.2 2024-08-09 00:42:38 -04:00
renovate[bot]
893878b507 fix(deps): update golang.org/x/exp digest to 0cdaa3a 2024-08-09 00:42:28 -04:00
renovate[bot]
600834254c chore(deps): update dependency go to v1.22.6 2024-08-09 00:42:19 -04:00
renovate[bot]
0ca68b190e fix(deps): update module golang.org/x/sync to v0.8.0 2024-08-09 00:42:08 -04:00
renovate[bot]
5e9f541fe9 chore(deps): update rancher/k3s docker tag to v1.30.3 2024-07-31 23:26:01 -04:00
renovate[bot]
58cccf8f69 chore(deps): update traefik docker tag to v3.1.1 2024-07-31 23:25:49 -04:00
semantic-release-bot
1463a68536 docs(release): update doc version from 1.8.0-beta.12 to 1.8.0-beta.13 [skip ci] v1.8.0-beta.13 2024-07-24 16:17:51 +00:00
renovate[bot]
2862e8166d fix(deps): update golang.org/x/exp digest to 8a7402a 2024-07-24 12:14:08 -04:00
renovate[bot]
4c5d2afd51 chore(deps): update traefik docker tag to v3.1.0 2024-07-24 12:13:56 -04:00
renovate[bot]
5985712abb chore(deps): update envoyproxy/envoy docker tag to v1.31 2024-07-24 12:13:45 -04:00
renovate[bot]
d2f1485bb9 chore(deps): update alpine docker tag to v3.20.2 2024-07-24 12:13:32 -04:00
renovate[bot]
f1a082be18 fix(deps): update module github.com/docker/docker to v27.1.1+incompatible 2024-07-24 12:13:20 -04:00
renovate[bot]
9ea2be9c5d fix(deps): update kubernetes packages to v0.30.3 2024-07-24 12:13:11 -04:00
semantic-release-bot
4b62654382 docs(release): update doc version from 1.8.0-beta.11 to 1.8.0-beta.12 [skip ci] v1.8.0-beta.12 2024-07-10 20:56:40 +00:00
Alexis Couvreur
506577f30e fix(session): properly set state name when started successfully 2024-07-10 16:55:30 -04:00
semantic-release-bot
f9266d6885 docs(release): update doc version from 1.8.0-beta.10 to 1.8.0-beta.11 [skip ci] v1.8.0-beta.11 2024-07-10 15:47:20 +00:00
Alexis Couvreur
38107f8d89 fix(sessions): return and heanlde error everytime 2024-07-10 11:46:34 -04:00
Alexis Couvreur
a7e3ce3e9f fix(kubernetes): use ParseName everywhere with replicas 2024-07-10 11:46:34 -04:00
semantic-release-bot
1b980de642 docs(release): update doc version from 1.8.0-beta.9 to 1.8.0-beta.10 [skip ci] v1.8.0-beta.10 2024-07-08 04:25:50 +00:00
Alexis Couvreur
3422a79147 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-07-08 00:25:01 -04:00
semantic-release-bot
3d00865ca2 docs(release): update doc version from 1.8.0-beta.8 to 1.8.0-beta.9 [skip ci] v1.8.0-beta.9 2024-07-08 04:11:45 +00:00
renovate[bot]
69c56fda2e fix(deps): update golang.org/x/exp digest to 46b0784 2024-07-08 00:10:53 -04:00
Alexis Couvreur
be7ace0e05 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-07-08 00:10:39 -04:00