Commit Graph

502 Commits

Author SHA1 Message Date
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
semantic-release-bot
3b34054758 docs(release): update doc version from 1.8.0-beta.7 to 1.8.0-beta.8 [skip ci] v1.8.0-beta.8 2024-07-04 17:08:42 +00:00
renovate[bot]
23055f4be6 fix(deps): update module golang.org/x/sync to v0.7.0 2024-07-04 13:07:41 -04:00
semantic-release-bot
99556d24df docs(release): update doc version from 1.8.0-beta.6 to 1.8.0-beta.7 [skip ci] v1.8.0-beta.7 2024-07-04 16:07:02 +00:00
Alexis Couvreur
52a7d2195f 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-07-04 12:06:21 -04:00
Alexis Couvreur
7ebfdd50ff docs: add multiversioned documentation (#344)
Documentation is now published on the `gh-pages` branch.

The branch will have a folder `docs` containing the following structure:
- `./docs` the copy from the `main` docs, but only used for the `index.html` page to do the multi-version routing.
- `./docs/main` the copy from the `main` branch docs folder
- `./docs/beta` the copy from the `beta` branch docs folder

Closes #332
2024-07-03 14:56:59 -04:00
semantic-release-bot
c1d578d6ab docs(release): update doc version from 1.8.0-beta.5 to 1.8.0-beta.6 [skip ci] v1.8.0-beta.6 2024-07-03 18:31:00 +00:00
renovate[bot]
9770e7f1cc chore(deps): update dependency go to v1.22.5 2024-07-03 14:30:03 -04:00
renovate[bot]
a2f7617795 fix(deps): update module github.com/docker/docker to v27.0.3+incompatible 2024-07-03 14:29:48 -04:00
renovate[bot]
e9991c27dd chore(deps): update traefik docker tag to v3.0.4 2024-07-03 14:28:59 -04:00
tomaszduda23
168fa07e36 docs(traefik): support blocking strategy (#338)
The blocking for traefik is already supported.
2024-06-29 10:15:49 -04:00
renovate[bot]
18149dda53 chore(deps): update ubuntu docker tag to v24 2024-06-28 16:13:33 -04:00
renovate[bot]
c9af0eed44 chore(deps): update traefik docker tag to v3 2024-06-28 16:03:42 -04:00
semantic-release-bot
f3adb6c288 docs(release): update doc version from 1.8.0-beta.4 to 1.8.0-beta.5 [skip ci] v1.8.0-beta.5 2024-06-28 20:03:03 +00:00
Alexis Couvreur
eb236ab03d fix(deps): update tinygo to v0.32.0 2024-06-28 16:02:11 -04:00
renovate[bot]
52bba90a59 fix(deps): update module github.com/tetratelabs/proxy-wasm-go-sdk to v0.24.0 2024-06-28 16:02:11 -04:00
semantic-release-bot
82cb482bb6 docs(release): update doc version from 1.8.0-beta.3 to 1.8.0-beta.4 [skip ci] v1.8.0-beta.4 2024-06-28 19:55:18 +00:00
renovate[bot]
f6eeee81a2 fix(deps): update module github.com/stretchr/testify to v1.9.0 2024-06-28 15:54:21 -04:00
renovate[bot]
c9db7d91fc chore(deps): update nginx docker tag to v1.27.0 2024-06-28 15:41:17 -04:00
renovate[bot]
83d383e600 chore(deps): update rancher/k3s docker tag to v1.30.2 2024-06-28 14:52:34 -04:00
semantic-release-bot
2442cd64f9 docs(release): update doc version from 1.8.0-beta.2 to 1.8.0-beta.3 [skip ci] v1.8.0-beta.3 2024-06-28 18:02:48 +00:00
renovate[bot]
1b5b953c33 fix(deps): update module github.com/docker/docker to v27 2024-06-28 14:02:00 -04:00
semantic-release-bot
ff6a939b9e docs(release): update doc version from 1.8.0-beta.1 to 1.8.0-beta.2 [skip ci] v1.8.0-beta.2 2024-06-28 17:50:17 +00:00
renovate[bot]
fe5bfafe15 fix(deps): update golang.org/x/exp digest to 7f521ea 2024-06-28 13:49:32 -04:00
renovate[bot]
1f62f35763 chore(deps): update apache/apisix docker tag to v3.9.1 2024-06-28 13:37:39 -04:00
Alexis Couvreur
2d6ff90f31 build(release): setup tinygo before release 2024-06-28 13:28:03 -04:00
semantic-release-bot
8ef1af0e66 docs(release): update doc version from 1.7.1-beta.1 to 1.8.0-beta.1 [skip ci] v1.8.0-beta.1 2024-06-28 17:22:36 +00:00
Alexis Couvreur
70f337d95a feat(plugin): add proxywasm plugin (#284)
* feat(plugin): add `proxywasm` plugin

The `proxywasm` plugin is a WASM Filter following the ProxyWasm ABI Specification using the proxywasm go sdk

This allows extensibility with any reverse proxy who implements the ProxyWasm ABI Specification.

The current WASM Filter was successfully tested with APISIX, Envoy, Nginx with ngx_wasm_module from Kong and Istio.

Fixes #145
2024-06-28 13:22:06 -04:00
semantic-release-bot
b603b57b05 docs(release): update doc version from 1.7.0 to 1.7.1-beta.1 [skip ci] v1.7.1-beta.1 2024-06-28 00:01:11 +00:00
renovate[bot]
977dca14cd chore(deps): update alpine docker tag to v3.20.1 2024-06-27 20:00:39 -04:00
Alexis Couvreur
e692e1f933 fix(docker): ensure connection is established with host
The `docker` and `docker_swarm` providers have been patched to ensure that the connection is properly established upon starting.

If the docker host is not available at starting time, then the application will stop. This will prevent from trying to register to the event stream on a non working client.
2024-06-27 20:00:26 -04:00
Alexis Couvreur
4cc8f25eaf Merge pull request #325 from acouvreur/renovate/traefik-2.x
chore(deps): update traefik docker tag to v2.11.5
2024-06-19 17:46:48 -04:00
renovate[bot]
4c519002d1 chore(deps): update traefik docker tag to v2.11.5 2024-06-18 19:54:40 +00:00
Alexis Couvreur
2ad210d545 Merge pull request #322 from acouvreur/renovate/docker-build-push-action-6.x
chore(deps): update docker/build-push-action action to v6
2024-06-17 22:20:34 -04:00
Alexis Couvreur
8bfb37a756 docs(release): update doc version from 1.7.0-beta.16 to 1.7.0 [skip ci] 2024-06-17 20:47:42 -04:00
renovate[bot]
aed6ec5c6e chore(deps): update docker/build-push-action action to v6 2024-06-17 10:58:52 +00:00
Alexis Couvreur
0f58751390 Merge pull request #321 from acouvreur/beta
Beta
v1.7.0
2024-06-16 20:30:09 -04:00
semantic-release-bot
acd47e436f docs(release): update doc version from 1.7.0-beta.15 to 1.7.0-beta.16 [skip ci] v1.7.0-beta.16 2024-06-15 22:36:00 +00:00
renovate[bot]
2a0d8f77ba fix(deps): update module github.com/docker/docker to v26.1.4+incompatible 2024-06-15 18:34:54 -04:00
renovate[bot]
d883a3dce8 chore(deps): update traefik docker tag to v2.11.4 2024-06-15 18:34:45 -04:00