Pasha Sviderski
dde23b5549
chore: increase timeout 5->30s for waiting for machines to be ready in ucind cluster
2025-11-04 12:40:15 +10:00
Pasha Sviderski
c3ecd378f8
feat(build): --push and --push-registry flags to push build images to cluster or registries
2025-11-03 15:38:59 +10:00
Pasha Sviderski
6da8e98c62
chore: add TODO to refactor docker client method
2025-11-03 13:45:45 +10:00
Pasha Sviderski
4d591f9efc
lint
2025-11-01 16:07:36 +10:00
Pasha Sviderski
26c3699a9e
feat: process image templates in compose services, set default git-based tags if not specified
2025-11-01 16:06:52 +10:00
Pasha Sviderski
328ace1fd1
chore: implement image template processing using git repo state (not enabled)
2025-11-01 15:50:36 +10:00
Pasha Sviderski
91bf135a4f
docs: minor README update
2025-11-01 14:01:23 +10:00
Pasha Sviderski
e2b3260926
docs: update README unregistry is already implemented, not coming soon
2025-11-01 14:00:38 +10:00
Pasha Sviderski
179289b504
test: InspectGitState when git not available
2025-10-31 17:34:55 +10:00
Pasha Sviderski
bd8a843972
chore: inspecrt git state without an error if git utility not available
2025-10-31 17:17:29 +10:00
Pasha Sviderski
7e366ff980
chore: add gitutils package to inspect local git repo
2025-10-31 15:57:43 +10:00
Pasha Sviderski
d0c23fa840
lint: fix ineffassign
2025-10-30 21:01:18 +10:00
Pasha Sviderski
4bc47af05b
refactor: strip project name from volume names without mangling project name
2025-10-30 20:54:15 +10:00
Pasha Sviderski
65c3e0a68d
feat(build): print if no services to build, build dependencies --dep, check build configuration --check
2025-10-30 20:54:15 +10:00
Pasha Sviderski
5c4f49b685
feat: new cbuild (compose build) command using Compose implementation
2025-10-30 20:54:15 +10:00
Justin Bradford and GitHub
ba6290d616
feat: add "nearest.<service>.internal" mode to internal DNS ( #159 )
...
* feat: Adding a "nearest.service.local" mode to internal DNS
* Pass listenAddr to internal DNS server (rather than calling into network.MachineIP)
Also adds an exact round-robin via "rr.{service}" mode. Not sure we want that over random or not, though.
* Remove the resolved count and rotating round-robin. "rr.name" mode is now the same as default with random shuffle.
* Add test on nearest internal DNS lookup
* Add docs on internal DNS order modes
2025-10-29 14:25:59 +10:00
Anton Ovchinnikov and GitHub
6af7a9861d
feat: Allow to match containers against truncated ID ( #160 )
2025-10-28 18:44:04 +01:00
Justin Bradford and GitHub
3b4bcb7932
feat: support service.gpus and reservations.devices ( #156 )
...
* feat: support compose.yaml `service.gpus` and `service.deploy.resources.reservations.devices` DeviceRequests to Docker container
* Fix lint error
* Adjust test comments to work with linter
* Rename DeviceRequests to DeviceReservations to be more consistent with compose nomenclature
* Device reservation changes are immutable and should trigger a container recreate rather than update
2025-10-27 16:49:38 +10:00
Luis Lavena and GitHub
0153e9f9e2
fix: progress percent overflow in image push ( #153 )
2025-10-22 14:52:57 +10:00
Pasha Sviderski
9a0b1a4ce3
chore: print (custom Caddy config) for service ENDPOINTS if x-caddy is used
2025-10-21 11:42:18 +10:00
Anton Ovchinnikov
e251dd950b
fix: Improve wording for containerd warning
v0.13.2
2025-10-16 23:33:25 +02:00
Pasha Sviderski
40862df038
fix: compose variables are now interpolated from .env file ( fixes #144 )
2025-10-15 17:45:53 +10:00
Pasha Sviderski
dc569175ef
docs: add info that caddy could be deployed on specific machines
v0.13.1
2025-10-13 20:40:11 +10:00
Pasha Sviderski
6ba98e4576
fix: 'uc image push' closed network connection error if takes >10s ( fixes #141 )
2025-10-13 20:19:46 +10:00
Pasha Sviderski
75b932b66e
docs: regenerate CLI reference docs
2025-10-10 18:57:15 +10:00
Pasha Sviderski
5aa85ab501
fix(push): always provide encoded empty auth config to work around panic in Docker
v0.13.0
2025-10-09 15:14:10 +10:00
Pasha Sviderski
521ccf2026
chore(push): run unregistry only if containerd image store enabled for docker
2025-10-09 12:48:51 +10:00
Pasha Sviderski
e8b4dd0bd1
chore(push): fail 'image push' when containerd image store not used on target machine
2025-10-09 12:11:18 +10:00
Pasha Sviderski
265042e2c8
lint
2025-10-08 16:38:40 +10:00
Justin Bradford and GitHub
1c85112d4f
docs: Rough notes for "services" docs with examples of internal DNS lookups and container ENV ( #136 )
2025-10-08 16:35:52 +10:00
Pasha Sviderski
0fc5032b27
feat(images): add IN USE column to highlight which images are used by any container
2025-10-08 15:43:54 +10:00
Pasha Sviderski
893ab1f9f5
fix: negotiate docker client API version in e2e test
2025-10-08 14:18:11 +10:00
Pasha Sviderski
a30ed600b6
chore: update docker and compose Go dependencies to the latest versions
2025-10-08 13:56:58 +10:00
Pasha Sviderski
a2c6cbe633
chore(images): filter images by name with wildcard pattern using Docker filter
2025-10-08 12:33:13 +10:00
Pasha Sviderski
1f9c2c873d
feat(images): list images filtered by name
2025-10-07 20:39:31 +10:00
Pasha Sviderski
509c9eb7d3
chore(images): format platforms as pills, sort images by name
2025-10-07 19:14:40 +10:00
Pasha Sviderski
fba03b3df7
feat(images): list image platforms and do not group images by machine
2025-10-07 17:06:52 +10:00
Pasha Sviderski
c6d18f5d49
chore: NAME -> IMAGE column name
2025-10-07 15:12:05 +10:00
3e804d9ecc
feat: set UNCLOUD_MACHINE_ID in service container ENV ( #135 )
...
* Set machine id in service container ENV
* Add machine id to clone of the container's env map to avoid exposing serialization format
* fix: panic on setting UNCLOUD_MACHINE_ID env var when Env is nil in the spec
---------
Co-authored-by: Pasha Sviderski <me@psviderski.name >
2025-10-07 14:12:00 +10:00
Pasha Sviderski
784d86d8e8
fix: test build for docker server
2025-10-03 21:10:02 +10:00
Pasha Sviderski
3bac1e61b9
chore: go mod tidy
2025-10-03 20:54:59 +10:00
Pasha Sviderski
6d2e100d63
feat(images): 'uc image ls' and 'uc images' (alias) commands to list images on machines
2025-10-03 20:53:30 +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
82fd9744bf
chore: remove unused imports
2025-10-03 15:03:19 +10:00
Pasha Sviderski
cdff036935
feat(images): gRPC client and server for ListImages
2025-10-03 14:23:18 +10:00
Pasha Sviderski
458d282357
chore: correct comment and add TODO to move machine resolution to grpc-proxy router
2025-10-02 20:12:45 +10:00
Pasha Sviderski
59074a275f
chore(images): initialise Docker service with containerd client
2025-10-02 15:51:54 +10:00
Pasha Sviderski
92975eec51
feat(images): add gRPC proto ListImages
2025-10-02 12:50:53 +10:00
Pasha Sviderski
e0d11a8abc
chore: configure Docker to use containerd image store by default ( closes #129 )
2025-10-01 15:00:19 +10:00