Commit Graph

31 Commits

Author SHA1 Message Date
Alexis Couvreur
0588627d36 fix: bump go 1.25 (#723)
* fix: bump go 1.25

also bump deps and fix golangci lint

* golangci lint fixes
2025-11-10 22:51:07 -05:00
Alexis Couvreur
8f82cfd8b6 ci: pin to SHA versions 2025-11-09 17:59:23 -05:00
Alexis Couvreur
6d880928c7 fix\!: remove plugins from the repository 2025-11-09 17:28:18 -05:00
Alexis Couvreur
b65fbcd514 feat: add podman provider (#648) 2025-07-26 00:46:11 -04:00
Alexis Couvreur
a897c65d39 feat: add blocking refresh frequency (#558)
* feat: add blocking refresh frequency

The refresh frequency when using the blocking strategy was set to 5 seconds. This is now configurable with a default value of 5 seconds.

* fail ci if codecov fail

* always upload codecov even if ci fails

* remove useless panic

* use fork

* add -short - revert later

* remove short

* publish test results
2025-03-12 21:06:28 -04:00
Alexis Couvreur
fca9c79289 refactor: reorganize code structure (#556)
* refactor: rename providers to Provider

* refactor folders

* fix build cmd

* fix build cmd

* fix build cmd

* fix cmd start
2025-03-10 14:11:40 -04:00
Alexis Couvreur
b1e8fc2f20 test(docker): use testcontainers (#519)
* refactor: move app/theme to pkg/theme

* refactor

* wip

* use dockerindocker

* add providertest

* wip

* wip

* test(docker): get state  now uses dind container to test against a real provider

* test(docker): move to docker_test package

* refactor(docker): create container_inspect.go

* test(docker): add more dind test

* test(docker): event test now use docker in docker

* refactor: remove unused instance  type props

* refactor test docker

* fix instance list  sort

* stabilize test

* remove testcontainers custom config
2025-03-01 19:34:36 -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
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
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
Alexis Couvreur
6c25b10a48 docs(caddy): update documentation with remote Dockerfile build (#442)
* docs(caddy): update documentation with remote Dockerfile build

* update doc version script
2024-11-05 20:46:11 -08:00
Alexis Couvreur
8b113a3c76 fix: changing module to github.com/sablierapp/sablier 2024-10-20 23:54:53 -04:00
Alexis Couvreur
266dd6546e build(docker): reduce image size by ~10%
Switching from alpine to scratch as base image.
2024-10-01 17:30:14 -07:00
Alexis Couvreur
36a70a1723 build(binary): reduce binary size by ~30%
Adds `-s -w` ldflags and `-trimpath` go build parameter.
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
Alexis Couvreur
dd110e8296 fix(deps): update to go 1.22 2024-05-30 11:46:27 -04:00
Alexis Couvreur
b0b7981e9e docs: add theme preview images
Closes #276
2024-04-15 12:56:19 -04:00
Alexis Couvreur
1b8faafd36 ci: stabilize e2e tests 2023-09-14 01:33:11 +02:00
Alexis Couvreur
ea1030353e feat(deps): upgrade to go 1.21 2023-08-25 18:11:01 -04:00
Alexis Couvreur
4fd8a24e4c dics: website documentation 2023-06-17 17:06:25 -04:00
Alexis Couvreur
60b50971b7 feat(plugins): add Caddy reverse proxy integration 2023-04-02 00:05:04 -04:00
Alexis Couvreur
27fa7020b1 fix(release): update Traefik module version 2023-02-19 00:55:11 -05:00
Alexis Couvreur
13d75c18fc ci(docs): add automated version change for documentation
fixes #99
2023-01-15 19:54:59 +00:00
Alexis Couvreur
2e1f2914a9 fix: inject release version inside docker image 2022-11-11 17:00:35 -05:00
Alexis Couvreur
235c939771 build: remove "build" target from Makefile
You can invoke directly "make linux/arm"
2022-10-06 23:50:21 -04:00
Alexis Couvreur
7fbc0df429 fix: set gin to release mode 2022-10-04 14:41:39 +00:00
Alexis Couvreur
65e98dcac2 build(docker): use Makefile build directive inside Dockerfile 2022-10-04 14:40:28 +00:00
Alexis Couvreur
0daddf377c feat: add new cli system (#51) 2022-10-03 20:27:14 +00:00
Alexis Couvreur
551a146d94 feat: merge service repository into Sablier
Add plugins folder to integrate with multiple reverse proxies

The project is now released as 'Sablier'
2022-10-03 20:27:06 +00:00
Alexis Couvreur
fab46ad4c6 ci: release go binaries for linux/amd64 linux/arm64 linux/arm/v7 (#19) 2021-10-29 00:07:21 +02:00