godummy: cpu/ram endpoints

This commit is contained in:
2026-08-13 11:15:46 +02:00
parent f3710e7b3c
commit 4dd66d50bf
3 changed files with 46 additions and 6 deletions
+2 -4
View File
@@ -1,15 +1,13 @@
zerops:
- setup: app
build:
os: ubuntu
base: go@latest
base: ubuntu/go@latest
buildCommands:
- go build -o app main.go
- go build -ldflags "-X main.BuildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)" -o app main.go
cache: true
deployFiles:
- app
run:
os: ubuntu
base: ubuntu@latest
ports:
- port: 8080