Miek Gieben and GitHub
2ab58d24d4
chore: modernize the codebase using go 1.26 ( #278 )
...
This runs:
```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix ./...
```
over the codebase, as this is using go 1.26, it can also use the new
new() functionallity so AsPtr and boolPtr is are needed anymore.
Signed-off-by: Miek Gieben <miek@miek.nl >
2026-03-21 21:16:09 +10:00
Pasha Sviderski
d5687cd713
chore: combine some e2e tests to reduce the number of ucind clusters hence used system resources
2026-03-09 19:07:00 +10:00
Pasha Sviderski
7b306f25ce
fix: another attempt to fix flaky test container_crashes_on_startup_without_healthcheck
2026-03-06 21:12:23 +10:00
Pasha Sviderski
3c435434a8
fix: flaky test TestDeployment/container_crashes_on_startup_without_healthcheck
2026-03-04 14:03:29 +10:00
Pasha Sviderski
7a9eac593f
feat: implement container health monitoring and rollback during rolling deployment ( closes #24 )
2026-02-27 21:36:40 +10:00
Pasha Sviderski
3056e2af11
feat: add support for healthcheck in Compose
2026-02-25 14:54:24 +10:00
Pasha Sviderski
215f21439d
chore: lint and fix e2e deploy tests with ReplaceContainerOperation
2026-02-09 09:53:51 +00:00
Pasha Sviderski
aa71ab0220
fix: e2e caddy test after changing the config header
2025-12-22 21:22:56 +10:00
Pasha Sviderski
2345ee9856
docs: improve Caddyfile header and note about misconfigured caddy service, minor docs update
2025-12-22 16:31:15 +10:00
Pasha Sviderski
ebd4622592
lint
2025-12-04 14:26:25 +10:00
Pasha Sviderski
4fa30ab8cb
test: e2e test for client.ServiceLogs
2025-12-04 14:24:10 +10:00
Pasha Sviderski
cce81ecaad
chore(images): simplifies ListImages service, server, and client to only list Docker images and not directly access containerd
2025-10-03 18:25:39 +10:00
Pasha Sviderski
f8bf6bccd3
test: basic e2e test for ListImages
2025-10-03 16:55:20 +10:00
Pasha Sviderski
7b88b8b810
fix: write generated Caddyfile to disk only if succesfully loaded into local Caddy (means valid)
2025-09-10 16:59:31 +10:00
Pasha Sviderski
97bdb8eae1
fix: skip validation for user-defined Caddy configs if caddy not running locally
2025-09-10 15:04:45 +10:00
Pasha Sviderski
b046b78398
feat: migrate Caddy to generated Caddyfile, mount persistent data volume
2025-08-22 19:51:15 +10:00
Pasha Sviderski
3cda5cc564
chore: caddy client to get caddy config
2025-08-22 15:58:21 +10:00
Pasha Sviderski
ae9f943404
chore: change default restart policy for service containers always -> unless-stopped
2025-08-07 18:09:35 +10:00
da3634b690
E2E tests use repeated strings for test data where constants add no value ( #97 )
...
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
Co-authored-by: Anton Ovchinnikov <anton@tonyo.info >
2025-07-21 19:30:02 +02:00
Anton Ovchinnikov
05d0078451
chore: Enable more linters
2025-07-14 00:32:26 +02:00
Pavel Sviderski
72bf34632f
chore: map new container properties to Docker container configs
2025-04-24 17:24:58 +10:00
Pavel Sviderski
143e68cc95
chore: do not set default volume driver to local, distinguish behaviour when it's set or not
2025-04-21 16:53:43 +10:00
Pavel Sviderski
f08d9fe405
refactor: 'service run' create missing volumes satisfying all placement constraints
2025-04-20 19:57:30 +10:00
Pavel Sviderski
f71fc57f34
chore: e2e tests for replicated and global deployments with volumes
2025-04-18 17:27:34 +10:00
Pavel Sviderski
1acb0ff110
chore: implement VolumesConstraint to only schedule on machines with required volumes
2025-04-17 21:34:52 +10:00
Pavel Sviderski
f3cb6657ae
chore: replace machine filter with placement constraint in service spec
2025-04-16 22:04:37 +10:00
Pavel Sviderski
590a1b231f
chore(volumes): e2e test when volume doesn't exist
2025-04-13 12:43:23 +10:00
Pavel Sviderski
df4ab40e12
chore(volumes): add client methods for volume management, e2e test
2025-04-10 13:50:08 +10:00
Pavel Sviderski
25b173128a
feat(env): support env vars for services (both run command and compose)
2025-04-03 18:14:17 +10:00
Pavel Sviderski
64f6a4f3d3
chore: use original service spec instead of deriving from container, fixes diff for scale
2025-03-30 12:54:36 +10:00
Pavel Sviderski
1cba1eef0a
refactor: handle CreateContainer server-side
2025-03-28 19:01:19 +10:00
Pavel Sviderski
58b51b974c
refactor: postpone spec resolver initialisation when creating Deployment
2025-03-24 21:56:30 +10:00
Pavel Sviderski
3910101a88
refactor: embed ServiceSpecResolver into Deployment to handle spec only there
2025-03-24 20:10:28 +10:00
Pavel Sviderski
7a9d0cf9db
refactor: move compose and deploy packages under client
2025-03-24 14:41:50 +10:00
Pavel Sviderski
042dd594e0
refactor: decouple deploy and compose packages from client dependency
2025-03-24 14:38:16 +10:00
Pavel Sviderski
b1abd07dde
refactor: move api, client, compose packages to pkg
2025-03-22 18:43:00 +10:00
Pavel Sviderski
3757813b20
refactor: rename main module to github.com/psviderski/uncloud
2025-03-22 18:25:08 +10:00
Pavel Sviderski
fb01604d21
fix: recreate containers only if spec changed by comparing spec hash
2025-03-19 13:11:04 +10:00
Pavel Sviderski
76129ea056
refactor: include service name in deployment plan
2025-03-15 19:34:37 +10:00
Pavel Sviderski
0760ba3b18
test: replicated deployment with machine filter
2025-03-03 11:26:08 +10:00
Pavel Sviderski
0896bd27fb
test: basic replicated deployment, prioritise host with the most up-to-date containers
2025-03-02 10:23:49 +10:00
Pavel Sviderski
435a794fa5
fix: e2e tests
2025-02-28 18:00:02 +10:00
Pavel Sviderski
09bea1d12d
feat(dns): update ingress records in Uncloud DNS when deploying Caddy
2025-02-26 14:23:00 +10:00
Pavel Sviderski
d9897e5d1e
feat: set restart policy for all services to always
2025-02-19 16:53:55 +10:00
Pavel Sviderski
bcb67a4073
refactor: e2e tests for container config validation
2025-02-19 15:19:00 +10:00
Pavel Sviderski
e13408d79f
feat: allow to filter machines for global service deployments
2025-02-17 20:26:40 +10:00
Pavel Sviderski
d0e46186ed
feat: look up latest caddy version tag when deploying caddy service
2025-02-16 21:10:06 +10:00
Pavel Sviderski
625a8baed3
feat: implement 'caddy deploy' command to deploy global service using caddy:latest image
2025-02-15 10:51:02 +10:00
Pavel Sviderski
c4398f9f06
refactor: deploy global service using Deployment with RollingStrategy
2025-02-14 20:45:23 +10:00
Pavel Sviderski
a53fa2c1d8
feat: do not redeploy global service if spec hasn't changed
2025-02-14 17:49:46 +10:00