Hi team, Does anyone have a good example of a Azu...
# pact-net
m
Hi team, Does anyone have a good example of a Azure ADO yml build pipeline that meets the requirements of the gold nirvana stage (https://docs.pact.io/pact_nirvana/step_5)? Regards MJJ
m
I guess we need to see a version of https://docs.pact.io/pact_broker/webhooks/template_library#azure-devops---trigger-build that accepts the pact url being verified
m
I was looking more for examples of how to publish the pact from a Azure ADO CI pipeline
m
What's the difference? Doesn't seem like we have an example, hopefully you can extrapolate from the other examples to the specific needs of ADO CI
Oh you mean publish, sorry
There was an area sample project somewhere. If you can call the CLI docker that'd be the easiest way to go
m
OK, thanks for your help anyway. Can't find the area sample project anywhere
m
I don’t have a consumer example, but here was a working provider side that also had an azure devops build: https://github.com/pactflow/example-provider-dotnet/blob/master/azure-pipelines.yml
To publish a pact, simply replace one of the docker calls with a docker publish
m
That's really useful. Thanks for your help
👍 1
The pact cli docker image stops straight away when we try and run in locally within Docker desktop
m
The pact cli docker image stops straight away when we try and run in locally within Docker desktop
Can you please elaborate what you mean by that?