Alexis Couvreur
a9e0ffd7e7
mod tidy
2025-03-09 18:00:34 -04:00
Alexis Couvreur
f793b4fbfd
refactor: remove discovery package
2025-03-09 01:19:27 -05:00
dependabot[bot]
8e5d5758a9
build(deps): bump golang.org/x/sync from 0.11.0 to 0.12.0 ( #548 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sync/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
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>
2025-03-08 23:25:45 -05:00
Alexis Couvreur
edbf7d9d15
fix(kubernetes): consider workload not ready when scaled to 0 ( #543 )
...
* test(kubernetes): use testcontainers for test
* fix(kubernetes): get state properly reports the workload as down when scaled to 0
* refactor(kubernetes): split provider in multiple files
* refactor(provider): use Instance prefix for actions
* test(testcontainers): use provider.PullImage
* squash
* Revert "test(testcontainers): use provider.PullImage"
This reverts commit 6f958c48a5 .
* test: add random generator thread safety
2025-03-02 23:30:59 -05:00
dependabot[bot]
a496857973
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.1 ( #525 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.1 to 1.9.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
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>
2025-03-01 17:29:43 -05:00
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
dependabot[bot]
f53df0d143
build(deps): bump github.com/valkey-io/valkey-go from 1.0.54 to 1.0.55 ( #534 )
...
Bumps [github.com/valkey-io/valkey-go](https://github.com/valkey-io/valkey-go ) from 1.0.54 to 1.0.55.
- [Release notes](https://github.com/valkey-io/valkey-go/releases )
- [Commits](https://github.com/valkey-io/valkey-go/compare/v1.0.54...v1.0.55 )
---
updated-dependencies:
- dependency-name: github.com/valkey-io/valkey-go
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-26 00:47:52 -05:00
dependabot[bot]
22b5457525
build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 ( #533 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
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>
2025-02-26 00:47:41 -05:00
dependabot[bot]
b196b2fbf4
build(deps): bump the k8s-io group across 1 directory with 3 updates ( #522 )
...
Bumps the k8s-io group with 2 updates in the / directory: [k8s.io/api](https://github.com/kubernetes/api ) and [k8s.io/client-go](https://github.com/kubernetes/client-go ).
Updates `k8s.io/api` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/api/compare/v0.32.1...v0.32.2 )
Updates `k8s.io/apimachinery` from 0.32.1 to 0.32.2
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.32.1...v0.32.2 )
Updates `k8s.io/client-go` from 0.32.1 to 0.32.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.1...v0.32.2 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-io
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-14 19:00:38 -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
Alexis Couvreur
8844a36e4a
refactor(logging): use slog instead of logrus ( #501 )
...
Everything uses slog now and the logger is part of every struct
2025-02-02 23:01:51 -05:00
Alexis Couvreur
f29b13a55a
refactor(storage): add store.Store interface
...
There is a first implementation with ValKey that will allow to use redis APIs as a backend for Sablier with Hight Availability
2025-02-02 18:13:45 -05:00
dependabot[bot]
0eb92edcca
build(deps): bump golang.org/x/net from 0.26.0 to 0.33.0 ( #495 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.26.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-02 09:15:42 -05:00
Alexis Couvreur
00cc153d7a
fix: add http error responses ( #494 )
...
This features adds rfc7807 Problem detail responses when an error happens processing a request.
This will greatly improve the common issues with "blank pages" and "404 pages" issues which should now properly tell the user what input was wrong (group that does not exist, container name that does not exist, etc.)
2025-02-02 00:00:49 -05:00
dependabot[bot]
79f83d7870
build(deps): bump github.com/docker/docker ( #480 )
...
Build / Build (push) Has been cancelled
Docker / Build Sablier Docker image (linux/amd64) (push) Has been cancelled
Docker / Build Sablier Docker image (linux/arm/v7) (push) Has been cancelled
Docker / Build Sablier Docker image (linux/arm64) (push) Has been cancelled
Build Sablier plugins / Build Sablier docker image once and share it to E2E jobs (push) Has been cancelled
Build Sablier plugins / Build Traefik Sablier Plugin (push) Has been cancelled
Build Sablier plugins / Build Caddy Sablier Plugin (push) Has been cancelled
Build Sablier plugins / Build Caddy docker image once and share it to Caddy E2E jobs (push) Has been cancelled
Build Sablier plugins / Build ProxyWasm Plugin once and share it to ProxyWasm E2E jobs (push) Has been cancelled
Release / Release (push) Has been cancelled
Docker / Merge and Publish multiarch (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Traefik middleware (docker) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Traefik middleware (docker_swarm) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Traefik middleware (kubernetes) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Nginx NJS module with Sablier (docker) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Nginx NJS module with Sablier (docker_swarm) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Caddy middleware (docker) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Caddy middleware (docker_swarm) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Proxywasm middleware on Apache APISIX (docker) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Proxywasm middleware on Envoy (docker) (push) Has been cancelled
Build Sablier plugins / Run Sablier E2E tests for Proxywasm middleware on Nginx (docker) (push) Has been cancelled
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 27.4.0+incompatible to 27.4.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v27.4.0...v27.4.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
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-24 08:50:32 -05:00
dependabot[bot]
30080df3b1
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 ( #475 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.24.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 08:38:17 -05:00
dependabot[bot]
bb06f82afc
build(deps): bump github.com/docker/docker ( #469 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 27.3.1+incompatible to 27.4.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v27.3.1...v27.4.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
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:50 -05:00
dependabot[bot]
09538bd233
build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 ( #460 )
...
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-07 11:52:02 -05:00
dependabot[bot]
5d41baf4e2
build(deps): bump k8s.io/client-go from 0.31.2 to 0.31.3 ( #458 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.31.2 to 0.31.3.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.2...v0.31.3 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
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 11:51:35 -05:00
dependabot[bot]
68051956d7
build(deps): bump k8s.io/apimachinery from 0.31.2 to 0.31.3 ( #456 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.31.2 to 0.31.3.
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.31.2...v0.31.3 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
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:32:30 -05:00
dependabot[bot]
a5fa44c3f3
build(deps): bump golang.org/x/sync from 0.8.0 to 0.10.0 ( #467 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.8.0 to 0.10.0.
- [Commits](https://github.com/golang/sync/compare/v0.8.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
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-07 08:28:08 -05:00
dependabot[bot]
a958703db7
build(deps): bump k8s.io/client-go from 0.31.0 to 0.31.2
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.31.0 to 0.31.2.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.31.0...v0.31.2 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-05 09:43:42 -05:00
dependabot[bot]
edd7721e69
build(deps): bump k8s.io/api from 0.31.0 to 0.31.2
...
Bumps [k8s.io/api](https://github.com/kubernetes/api ) from 0.31.0 to 0.31.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.31.0...v0.31.2 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-05 09:41:45 -05:00
Alexis Couvreur
8b113a3c76
fix: changing module to github.com/sablierapp/sablier
2024-10-20 23:54:53 -04:00
renovate[bot]
5a1e9ff0f2
fix(deps): update module github.com/docker/docker to v27.3.1+incompatible
2024-10-01 17:30:14 -07:00
renovate[bot]
9e6aada020
fix(deps): update module github.com/docker/docker to v27.2.1+incompatible
2024-10-01 17:30:14 -07:00
renovate[bot]
a44aef0bd4
fix(deps): update module github.com/docker/docker to v27.2.0+incompatible
2024-10-01 17:30:14 -07:00
renovate[bot]
486bba56c6
fix(deps): update module github.com/docker/docker to v27.1.2+incompatible
2024-10-01 17:30:14 -07:00
renovate[bot]
799aaef77f
fix(deps): update kubernetes packages to v0.31.0
2024-10-01 17:30:14 -07:00
renovate[bot]
a99cc9d9ee
fix(deps): update module golang.org/x/sync to v0.8.0
2024-10-01 17:30:14 -07:00
renovate[bot]
d5c6d51154
fix(deps): update module github.com/docker/docker to v27.1.1+incompatible
2024-10-01 17:30:14 -07:00
renovate[bot]
72a13651f6
fix(deps): update kubernetes packages to v0.30.3
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
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]
16563eb902
fix(deps): update module github.com/docker/docker to v27.0.3+incompatible
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
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
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]
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]
6724e2e633
fix(deps): update module github.com/spf13/viper to v1.19.0
2024-06-02 14:53:29 -04:00
renovate[bot]
f40fe10d59
fix(deps): update module github.com/docker/docker to v26
2024-05-30 12:10:00 -04:00
renovate[bot]
8b6d7f4c06
fix(deps): update kubernetes packages to v0.30.1
2024-05-30 11:51:44 -04:00
Alexis Couvreur
dd110e8296
fix(deps): update to go 1.22
2024-05-30 11:46:27 -04:00
renovate[bot]
cb0a268937
fix(deps): update module github.com/gin-gonic/gin to v1.10.0
2024-05-11 10:46:20 -04:00
renovate[bot]
2a479e9e2e
fix(deps): update kubernetes packages to v0.29.3
2024-04-04 06:11:33 +09:00
renovate[bot]
f55f21060b
fix(deps): update module github.com/docker/docker to v25.0.5+incompatible
2024-04-04 06:11:20 +09:00
renovate[bot]
8203f35179
fix(deps): update module github.com/docker/docker to v25.0.4+incompatible
2024-03-09 16:51:41 -05:00
renovate[bot]
d50bc82f9f
fix(deps): update module github.com/stretchr/testify to v1.9.0
2024-03-09 16:51:33 -05:00
renovate[bot]
755d97b5f2
fix(deps): update kubernetes packages to v0.29.2
2024-02-15 08:18:56 -05:00