Get the latest commit of the repo always
I have multiple repo to be referred in a pipeline.
Out of which one is the repo that has the configs of CI files, as part of the pipeline I would like to get the latest commit of the CI files always.
So in brief:
I would like to get the latest commit of the repo always whenever the new build is triggered in concourse. trigger:true is not intended since the trigger should happen via another repo.
Hey @sskmail14,
thanks for waiting until I came back to this issue.
I am not really sure I understand the use case needed here.
from my basic understanding, you want to configure 2 resources with one using trigger: true and make sure the other is getting the latest version?
Also, I want to point out that, it is way easier to get help on Discord, there are a lot of folks from the Concourse team, and the community ready to help with your setup. We are happy to discuss problems with resources and feature requests here.
Thanks @YoussB .
Am having two resource
- Git-Resource-1
- Git-Resource-2
Where the build will get triggered once I make any changes as part of Git-Resource-1 but I always want Git-Resource-2 to get the latest commit.
My concern here is if I set the trigger:true the pipeline gets triggered for commit that am making out of that repo. I didn't want the pipeline to get it triggered for that repo change, but it has to pick the latest commit of that branch whenever a build is getting triggered.
Note: Am using webhook from git to trigger the pipelines.