Commit Graph

35 Commits

Author SHA1 Message Date
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
bac489ba5e fix: bump to Go 1.23.6 (#516)
* chore(deps): bump to go1.23.6

* go work sync

* sync

* test(swarm): do not close channel to prevent log after test end

* bump caddy version dockerfile
2025-02-09 11:00:28 -05:00
dependabot[bot]
c1faec59ce build(deps): bump nginx (#514)
Bumps nginx from 1.27.3 to 1.27.4.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-09 10:18:48 -05:00
dependabot[bot]
082eec3bd2 build(deps): bump github.com/stretchr/testify in /plugins/proxywasm (#470)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 08:37:33 -05:00
dependabot[bot]
3b535f5347 build(deps): bump ubuntu in /plugins/proxywasm/e2e/nginx (#453)
Bumps ubuntu from 24.10 to 25.04.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-07 12:12:23 -05:00
dependabot[bot]
dd303d82e5 build(deps): bump nginx (#465)
Bumps nginx from 1.27.2 to 1.27.3.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-07 08:28:39 -05:00
dependabot[bot]
a79bdf15c2 build(deps): bump nginx
Bumps nginx from 1.26.0 to 1.27.2.

---
updated-dependencies:
- dependency-name: nginx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 09:42:26 -05:00
Alexis Couvreur
acfd612bc0 ci: fix pipelines (#418)
* ci: fix pipelines

* fix(proxywasm): bump to go 1.23 and tinygo 0.33

* ci: move to sablierapp/sablier

* ci: replace sablierapp/whoami with acouvreur/whoami

This will use mimic later

* fix wrong whoami image

* update nginx docker image for proxywasm
2024-10-23 18:13:56 -07:00
Alexis Couvreur
8b113a3c76 fix: changing module to github.com/sablierapp/sablier 2024-10-20 23:54:53 -04:00
renovate[bot]
7758db8007 chore(deps): update rancher/k3s docker tag to v1.31.1 2024-10-01 17:30:14 -07:00
renovate[bot]
048eb47a02 chore(deps): update dependency go to v1.23.2 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
renovate[bot]
28dc33694b chore(deps): update nginx docker tag to v1.27.1 2024-10-01 17:30:14 -07:00
renovate[bot]
9a57703ac7 fix(deps): update golang.org/x/exp digest to 701f63a 2024-10-01 17:30:14 -07:00
renovate[bot]
322926ca6a fix(deps): update golang.org/x/exp digest to e7e105d 2024-10-01 17:30:14 -07:00
renovate[bot]
6deb65f73f chore(deps): update rancher/k3s docker tag to v1.31.0 2024-10-01 17:30:14 -07:00
renovate[bot]
fa12d6e2be chore(deps): update apache/apisix docker tag to v3.10.0 2024-10-01 17:30:14 -07:00
renovate[bot]
5ee3f2c87b fix(deps): update golang.org/x/exp digest to 9b4947d 2024-10-01 17:30:14 -07:00
renovate[bot]
8af6e90c6e chore(deps): update rancher/k3s docker tag to v1.30.4 2024-10-01 17:30:14 -07:00
renovate[bot]
1df0565c5d fix(deps): update golang.org/x/exp digest to 0cdaa3a 2024-10-01 17:30:14 -07:00
renovate[bot]
2eb0324a28 chore(deps): update rancher/k3s docker tag to v1.30.3 2024-10-01 17:30:14 -07:00
renovate[bot]
6d98c27e29 fix(deps): update golang.org/x/exp digest to 8a7402a 2024-10-01 17:30:14 -07:00
renovate[bot]
46d1ce777a chore(deps): update envoyproxy/envoy docker tag to v1.31 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
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]
fcf03c09b8 chore(deps): update ubuntu docker tag to v24 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
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
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
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