Ryan Quinn
02/07/2024, 7:13 PMMatt (pactflow.io / pact-js / pact-go)
in gitlab, I can’t check out a commitreally? is that a constraint of GitLab itself, or just the way it’s configured? Is that because GitLab doesn’t do a clone of the repository? Presumably your CI build itself could do a
git checkout <commit> even if GitLab won’t do it automatically?Matt (pactflow.io / pact-js / pact-go)
Ryan Quinn
02/08/2024, 12:10 AMRyan Quinn
02/08/2024, 2:40 AMRyan Quinn
02/08/2024, 3:04 AMThis feature would be very useful for integrating with Pact, where for full Pact integration, you need to be able to re-run a GitLab CI/CD job for a specific commit hash that Pact provides, via a webhook. I'm wondering if a reasonable workaround would be to create a tag with the commit hash as part of the pipeline when it first runs, then Pact could re-trigger the job using that tag as the ref?
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Ryan Quinn
02/09/2024, 3:39 AMMatt (pactflow.io / pact-js / pact-go)