Hi all, I am having a conceptual block reasoning about how GoCD works with repositories. Please forgive what's probably a noob question.
Suppose I have an svn repo "scripts", and a Nexus one "binaries". I have two pipelines *DeployTest *and *DeployProduction*. *DeployTest *has the scripts and binaries repos as Pipeline Materials *DeployProduction *has the scripts and binaries repos as materials and also a dependency on some stage.of* DeployTest* The behavior then is: 1) Developer checks scripts or binaries into the repos 2) *DeployTest *gets the latest version of the scripts and binaries and executes the scripts in the Test environment. 3) Tests are executed and on success are cleared for production 4) *DeployProduction *is triggered. It gets the latest version of the scripts and binaries and executes the scripts in the Production Environment Cool! But then I have a more complicated workflow 1) Developer checks scripts or binaries into the repos 2) *DeployTest *gets the latest version of the scripts and binaries and executes the scripts in the Test environment. 3) Tests are executed and on success are cleared for production 4) Developer checks *a new version* of the scripts or binaries into the repos 5) *DeployProduction * is triggered. It gets the latest version of the scripts and binaries and (since new changes were checked in in step 4) executes *the new version* of the scripts* in the Production Environment* This latter workflow is problematic. I can wind up deploying bits to production without having them pass testing! When DeployProduction is triggered I want to to deploy the bits that passed testing in step 3, not the version that was checked in in step 4. What is the best way to accomplish that? I thought maybe I should pass the scripts and binaries from *DeployTest *to *DeployProduction* as Artifacts but that doesn't seem to be the right way either*. * *Is there a reasonable way to pass version information along the pipeline to control which versions are fetched and used by downstream pipelines?* *Thanks!* Jason -- 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.
