Commit Graph

296 Commits

Author SHA1 Message Date
Alexis Couvreur
b6d73a3587 tests: pass lock by reference instead of value
fixes vet like "app/providers/mocks/client_mock.go:314:9: Get passes lock by value: github.com/acouvreur/sablier/app/providers/mocks.DeploymentMock contains github.com/stretchr/testify/mock.Mock contains sync.Mutex"
2023-01-09 13:00:06 -05:00
Alexis Couvreur
6cfae917f3 docs: update badge link to build status
resolves badges/shields/issues/8671
2023-01-09 12:28:45 -05:00
Alexis Couvreur
bce92cbec0 chore(github): add workflow 2022-11-23 21:22:52 +00:00
Alexis Couvreur
a2393598a2 chore(github): add issue templates 2022-11-23 16:10:08 -05:00
Alexis Couvreur
3176848116 Merge pull request #115 from acouvreur/beta
Mege Beta into Main
v1.2.0
2022-11-18 13:43:07 -05:00
Alexis Couvreur
a679eb8967 docs(themes): fix file tree indent v1.2.0-beta.1 2022-11-15 14:31:09 +00:00
Alexis Couvreur
920f9bcbc2 refactor: move all commands to instances instead of global variables 2022-11-14 20:09:11 +00:00
Alexis Couvreur
fe954e4372 fix(kubernetes): add deletion event listener 2022-11-14 19:43:19 +00:00
Alexis Couvreur
a550f8a817 fix(swarm): listen for removed services 2022-11-14 19:35:59 +00:00
Alexis Couvreur
93e4fbb901 test(swarm): fix typo SeviceScaledEvent to ServiceScaledEvent 2022-11-14 19:35:59 +00:00
Alexis Couvreur
ec266a66df docs: add API documentation 2022-11-14 19:35:54 +00:00
Alexis Couvreur
2e0dc8320d feat: add healthcheck capabilities 2022-11-14 18:46:38 +00:00
Alexis Couvreur
80f2304375 fix(storage): initialize file to an empty JSON
It will avoir error message like `time="2022-11-14T01:40:49Z" level=error msg="error loading sessionsEOF"`
2022-11-14 15:15:39 +00:00
Alexis Couvreur
fc9e1fa8d2 fix(storage): close file after initialization 2022-11-14 14:57:06 +00:00
Alexis Couvreur
fa5b03701a chore: add devcontainer.json 2022-11-14 14:29:26 +00:00
Alexis Couvreur
989f1d593c test(kuberntes): remove endpoints from resources in ClusterRole 2022-11-14 14:29:26 +00:00
Alexis Couvreur
55ab3711fb docs: add code-server + kubernetes + traefik guide 2022-11-14 14:29:20 +00:00
Alexis Couvreur
406a93b10e fix: typo NotifyInsanceStopped to NotifyInstanceStopped 2022-11-14 03:57:31 +00:00
Alexis Couvreur
1d34a812fd fix: set routes logging to Debug 2022-11-14 01:47:07 +00:00
Alexis Couvreur
6720369dde docs: update reverse-proxy-integration with a white background 2022-11-13 18:14:11 +00:00
Alexis Couvreur
013f6e6f67 docs: add Versioning documentation 2022-11-13 18:13:39 +00:00
Alexis Couvreur
a913bc2a3b docs: add example for the quickstart v1.1.1 2022-11-12 17:34:54 -05:00
Alexis Couvreur
b7e17dc77c fix(provider): use Actor.Attributes["name"] instead of deprecated From 2022-11-12 17:34:54 -05:00
Alexis Couvreur
cca050be08 fix(sessions): request blocking session is stopped upon user cancellation v1.1.0 2022-11-11 17:00:35 -05:00
Alexis Couvreur
73a65d4bea docs: fix quick start example 2022-11-11 17:00:35 -05:00
Alexis Couvreur
caab2d2cdb docs: remove emoji
markdown links are broken
2022-11-11 17:00:35 -05:00
Alexis Couvreur
1ba758f67d docs: set url to absolute path to github 2022-11-11 17:00:35 -05:00
Alexis Couvreur
3cd7a1cc30 docs: add sablier.sample.yaml conf 2022-11-11 17:00:35 -05:00
Alexis Couvreur
ccf0829274 feat(docker): add default config file 2022-11-11 17:00:35 -05:00
Alexis Couvreur
6e2800a1f3 docs: add Install Sablier documentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
24a30a1dc2 ci: add Update Docker Hub Description on release 2022-11-11 17:00:35 -05:00
Alexis Couvreur
90d17717db docs: add custom theme creation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
6dcee76fc0 docs: add traefik reverse proxy middleware plugin link 2022-11-11 17:00:35 -05:00
Alexis Couvreur
1ec9c35fbd docs: fix image name 2022-11-11 17:00:35 -05:00
Alexis Couvreur
64c19e5c00 docs: add blocking strategy config block 2022-11-11 17:00:35 -05:00
Alexis Couvreur
e374db3220 docs: fix getting started JSON indentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
71005b8212 docs: fix typo toi -> to 2022-11-11 17:00:35 -05:00
Alexis Couvreur
aaa57d5768 docs: add glossary for sessions and instances 2022-11-11 17:00:35 -05:00
Alexis Couvreur
2e1f2914a9 fix: inject release version inside docker image 2022-11-11 17:00:35 -05:00
Alexis Couvreur
a9384a37e0 docs: set correct configuration file path 2022-11-11 17:00:35 -05:00
Alexis Couvreur
ad31b9cd19 docs: add configuration options documentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
384261bdf7 docs: add storage documentation
Fixes #73
2022-11-11 17:00:35 -05:00
Alexis Couvreur
d5da881604 feat: add kubernetes event listener
If a deployment or a statefulset is scaled to 0, then it is removed from the store.

In order for this to work, you need the `list` and `watch` verbs in your ClusterRole
2022-11-11 17:00:35 -05:00
Alexis Couvreur
006fb6679b refactor(events): close the channel from the sender 2022-11-11 17:00:35 -05:00
Alexis Couvreur
98023a853a feat(config): add --configFile argument to specify custom config file
It will also look by default to `/etc/sablier/` then `$XDG_CONFIG_HOME` then `$HOME/.config/` and then `.`.

Closes #91
2022-11-11 17:00:35 -05:00
Alexis Couvreur
546b378416 feat(strategy): add option to show instances details
Closes #77
v1.0.0 v1.0.0-beta.11
2022-11-10 11:31:46 -05:00
Alexis Couvreur
77b2611328 docs: moved traefik documentation to traefik folder 2022-11-10 16:31:09 +00:00
Alexis Couvreur
79d1f86ddf fix(swarm): remove suffix match on name
This could bring too much complexity. If a new service was created with exact match, it would take pecedence over the previously suffix matched service.

Closes #85
v1.0.0-beta.10
2022-11-08 15:57:38 -05:00
Alexis Couvreur
a62f098d42 feat: add swarm event listener v1.0.0-beta.9 2022-11-07 17:12:13 -05:00
Alexis Couvreur
8dc7198b54 docs: remove extra brackets in theme preview
Closes #81
2022-11-07 16:54:57 -05:00