Files
zcli-playground/ls-stress/zerops.yml
T

40 lines
751 B
YAML

zerops:
- setup: c1a
build: &build
base: go@1
buildCommands:
- go build -o app main.go
deployFiles: app
run: &run-data1
base: go@1
ports:
- port: 8080
httpSupport: true
volume:
hostname: data1
mountPath: /mnt/data
start: ./app
- setup: c1b
build: *build
run: *run-data1
- setup: c1c
build: *build
run: *run-data1
- setup: c2a
build: *build
run: &run-data2
base: go@1
ports:
- port: 8080
httpSupport: true
volume:
hostname: data2
mountPath: /mnt/data
start: ./app
- setup: c2b
build: *build
run: *run-data2
- setup: c2c
build: *build
run: *run-data2