It’s been a few years since I really looked at GoCD, so my memory is hazy
on this.

You should be able to store artifacts on the GoCD server itself by
configuring a build artifact path. Then downstream stages or pipelines can
grab them from gocd server directly. There’s an S3 plugin as well if you
wanted to persist them in AWS. Then you can upload to artifactory when
you’ve had an artifact pass certain stages for confidence.

You should be able to pass artifacts through stages so that a downstream
stage can fetch an artifact that passed the previous stage. If a stage
depends on the previous stage passing, it cannot run until those conditions
are met, so they won’t run with artifacts that didn’t succeed in upstream
stages.

Once it’s passed production, you can then publish it to artifactory such
that artifactory only has production quality packages.

Does that help?

-Marques

On Wed, Dec 14, 2022 at 7:33 AM Anh Le <[email protected]> wrote:

> Hello everyone,
>
> I'm learning GoCD, I only know how to use the Files and Directories out of
> the box as Artifactory.
> I have few question about artifacts management best practices or your
> preferred approach
> Assumption:
>  - Already has a build pipeline (to generate artifact)
>  - Deploy to QA is manual deploy and depend on build pipeline success
>  - Deploy to Prod is manual deploy and depend on Deploy to QA pipeline
> success
> I'm thinking about things below but something doesn't feel right:
>  - In the build pipeline, after run build tasks, I push the artifact to an
> Artifactory
>     + How to fetch artifact for "Deploy to QA" and "Deploy to Production"?
> if I add build as material (so I can get the artifact) somehow I feel it is
> weird because Production can access to something not already in QA. If I
> publish artifact again in QA to break the dependency of Prod to build then
> I feel that the artifact is duplicated
>
> What are your suggestions?
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/d7155810-ffd1-4ecd-822a-0bddfb7ae419n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/d7155810-ffd1-4ecd-822a-0bddfb7ae419n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAPKX9ja45voKL%2Bz_w6JHeaO%3D-26jA88_3y%3Dfe0JPBsQCr7jLMw%40mail.gmail.com.

Reply via email to