is multiple zerops.yml for prod and QA possible?

I want to deploy two projects for prod and QA, but both of them has different setup name and same repo
5 Replies
Michal Saloň
Michal Saloň5d ago
Only one zerops.yaml can be defined, but one file can contain multiple setups.
Aleš
Aleš5d ago
you could even do
zerops:
- setup: base
build: ...
run: ...
- setup: prod
extends: base
- setup: stage
extends: base
zerops:
- setup: base
build: ...
run: ...
- setup: prod
extends: base
- setup: stage
extends: base
minsomai
minsomaiOP4d ago
thanks
Aleš
Aleš4d ago
also if you are using zcli to trigger the pipeline, you can override which setup it will use with --setup the same option will be configurable in github/gitlab repo intergration soon as well
minsomai
minsomaiOP4d ago
thanks, looks like similar to fly

Did you find this page helpful?