mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: extend Uncloud-in-Docker section in HACKING.md
This commit is contained in:
1 parent
ba73259887
commit
9fb20c30b3
2 files changed
+52
-12
No files matched your search
@@ -10,6 +10,9 @@ protoc = "27.3"
|
||||
protoc-gen-go = "1.34.2"
|
||||
protoc-gen-go-grpc = "1.5.1"
|
||||
|
||||
[vars]
|
||||
ucind_image = "ghcr.io/psviderski/ucind:latest"
|
||||
|
||||
[env]
|
||||
_.file = ".env"
|
||||
|
||||
@@ -42,6 +45,18 @@ protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=p
|
||||
--proto_path=. --proto_path=internal/machine/api/vendor internal/machine/api/pb/*.proto
|
||||
"""
|
||||
|
||||
[tasks.uc]
|
||||
description = "Run the Uncloud CLI"
|
||||
run = "go run ./cmd/uncloud"
|
||||
|
||||
[tasks.ucind]
|
||||
description = "Run ucind CLI for managing local Docker-based clusters"
|
||||
run = "go run ./cmd/ucind"
|
||||
|
||||
[tasks."ucind:image"]
|
||||
description = "Build the ucind Docker image"
|
||||
run = "docker build -t {{vars.ucind_image}} --target ucind ."
|
||||
|
||||
[tasks."ucind:cleanup"]
|
||||
description = "Remove ucind managed containers and networks"
|
||||
run = """
|
||||
|
||||
Reference in new issue
Block a user