Mark Wilson
06/24/2022, 12:34 PM2022/06/24 11:08:29 [INFO] checking pact-mock-service within range >= 3.5.0, < 4.0.0
2022/06/24 11:08:29 [ERROR] CLI tools are out of date, please upgrade before continuing
FAIL <http://github.com/pact-foundation/pact-workshop-go/consumer/client|github.com/pact-foundation/pact-workshop-go/consumer/client> 0.002s
When I run "sudo pact-mock-service version" it returns 3.10.0
I am following the https://github.com/pact-foundation/pact-workshop-go/tree/step3 but stuck on the end of step3 and receiving the above issue. Any ideas?Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
export PATH="<add folder containing your version here>:${PATH}"
then
go test …
Mark Wilson
11/19/2022, 4:09 PMMatt (pactflow.io / pact-js / pact-go)
Hi Matt thanks a lot for this it resolved my issues locally. I am now seeing this when running it in the gitlab runner in my pipeline. Do you know what I would need to export the PATH to be within the pipeline? / Where does the pact binary get installed in a gitlab runner?If you’re running that bash script, it’s relative to the current working directory. So wherever the default
$PWD
is