Hi, I've got project setup on GO-CD. It consists of 2 mercurial
repositories. App and Utility and I need to run tests only for the App. Got
2 environments - Test and Development.
My current setup is two pipelines - App (stages: deploy-to-test / run-tests
/ deploy-to-development) and Utility (stages: deploy-to-test /
deploy-to-development).
I've looked at the documentation and managing dependencies
(https://docs.go.cd/16.3.0/configuration/managing_dependencies.html) but it
doesn't look like what I imagined.
What I want to do:
1) always deploy automatically to Test environment (stages "deploy-to-test
"in both pipelines) - this part works
2) run tests on App and if it succeeded deploy it to development
environment - this part works also
3) deploy Utility to development environment only if stage 2 for App
("run-tests") succeeded and not after stage "deploy-to-test" in Utility
pipeline succeeded -> could otherwise break development environment - *this
part is my problem*
Is there something as stage dependency and how should I do it?
I was thinking about splitting Utility to 2 pipelines (Test and Dev), so
Test normally deploys to Test, and Dev only starts if both materials from
Mercurial is new and stage "run-tests" from App succeeded...
Can that be done and is it how it *should* be done?
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.