Commit Graph

498 Commits

Author SHA1 Message Date
Alexis Couvreur
1685b4e820 fix(session): properly set state name when started successfully 2024-10-01 17:30:14 -07:00
semantic-release-bot
035cf83d87 docs(release): update doc version from 1.8.0-beta.10 to 1.8.0-beta.11 [skip ci] 2024-10-01 17:30:14 -07:00
Alexis Couvreur
ef888f627d fix(sessions): return and heanlde error everytime 2024-10-01 17:30:14 -07:00
Alexis Couvreur
2bb1ad46e8 fix(kubernetes): use ParseName everywhere with replicas 2024-10-01 17:30:14 -07:00
semantic-release-bot
17e8148d20 docs(release): update doc version from 1.8.0-beta.9 to 1.8.0-beta.10 [skip ci] 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
semantic-release-bot
c576144342 docs(release): update doc version from 1.8.0-beta.8 to 1.8.0-beta.9 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
1d8009a44c fix(deps): update golang.org/x/exp digest to 46b0784 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
semantic-release-bot
460e601985 docs(release): update doc version from 1.8.0-beta.7 to 1.8.0-beta.8 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
e58df5ab87 fix(deps): update module golang.org/x/sync to v0.7.0 2024-10-01 17:30:14 -07:00
semantic-release-bot
f35a357ef8 docs(release): update doc version from 1.8.0-beta.6 to 1.8.0-beta.7 [skip ci] 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
Alexis Couvreur
fbb6e38d53 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-10-01 17:30:14 -07:00
semantic-release-bot
0a88d3d330 docs(release): update doc version from 1.8.0-beta.5 to 1.8.0-beta.6 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
57af90f0fa chore(deps): update dependency go to v1.22.5 2024-10-01 17:30:14 -07:00
renovate[bot]
16563eb902 fix(deps): update module github.com/docker/docker to v27.0.3+incompatible 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
tomaszduda23
b2c0cf240d docs(traefik): support blocking strategy (#338)
The blocking for traefik is already supported.
2024-10-01 17:30:14 -07:00
renovate[bot]
fcf03c09b8 chore(deps): update ubuntu docker tag to v24 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
semantic-release-bot
c8cf7b7359 docs(release): update doc version from 1.8.0-beta.4 to 1.8.0-beta.5 [skip ci] 2024-10-01 17:30:14 -07:00
Alexis Couvreur
fec877272b fix(deps): update tinygo to v0.32.0 2024-10-01 17:30:14 -07:00
renovate[bot]
bb26aa44c2 fix(deps): update module github.com/tetratelabs/proxy-wasm-go-sdk to v0.24.0 2024-10-01 17:30:14 -07:00
semantic-release-bot
a5c405e0b2 docs(release): update doc version from 1.8.0-beta.3 to 1.8.0-beta.4 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
d57b02e2d7 fix(deps): update module github.com/stretchr/testify to v1.9.0 2024-10-01 17:30:14 -07:00
renovate[bot]
3eb5ad173b chore(deps): update nginx docker tag to v1.27.0 2024-10-01 17:30:14 -07:00
renovate[bot]
3cebbaca1f chore(deps): update rancher/k3s docker tag to v1.30.2 2024-10-01 17:30:14 -07:00
semantic-release-bot
1c14773c72 docs(release): update doc version from 1.8.0-beta.2 to 1.8.0-beta.3 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
39227ddfd6 fix(deps): update module github.com/docker/docker to v27 2024-10-01 17:30:14 -07:00
semantic-release-bot
17b804c674 docs(release): update doc version from 1.8.0-beta.1 to 1.8.0-beta.2 [skip ci] 2024-10-01 17:30:14 -07:00
renovate[bot]
2d38a34a23 fix(deps): update golang.org/x/exp digest to 7f521ea 2024-10-01 17:30:14 -07:00
renovate[bot]
b970b1662a chore(deps): update apache/apisix docker tag to v3.9.1 2024-10-01 17:30:14 -07:00
Alexis Couvreur
8612e58743 build(release): setup tinygo before release 2024-10-01 17:30:14 -07:00
semantic-release-bot
59b31ffd6f docs(release): update doc version from 1.7.1-beta.1 to 1.8.0-beta.1 [skip ci] 2024-10-01 17:30:14 -07:00
Alexis Couvreur
3891027e23 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-10-01 17:30:14 -07:00
semantic-release-bot
54bc622b45 docs(release): update doc version from 1.7.0 to 1.7.1-beta.1 [skip ci] 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
7ddb6ae6e0 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-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]
54dc83c6d2 chore(deps): update docker/build-push-action action to v6 2024-10-01 17:30:14 -07: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
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
renovate[bot]
d6b71f1dd2 fix(deps): update module github.com/spf13/cobra to v1.8.1 2024-06-15 18:34:35 -04:00
renovate[bot]
cb0c9b0d79 fix(deps): update kubernetes packages to v0.30.2 2024-06-15 18:34:24 -04:00
renovate[bot]
788aaff0a1 chore(deps): update dependency go to v1.22.4 2024-06-04 18:54:21 -04:00
renovate[bot]
ef3dc3135b chore(deps): update caddy docker tag to v2.8.4 2024-06-03 23:19:40 -04:00