mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chore: extend Uncloud-in-Docker section in HACKING.md
This commit is contained in:
@@ -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