Hi, I am trying to add the can-i-deploy job on my ...
# pact-broker
p
Hi, I am trying to add the can-i-deploy job on my gitlab yml file. This is what I have done so far. (Please see screenshots below) My question : 1. What value is expected in image: ( I am pointing to the external pactbroker : royprakhar.pactflow.io ) 2. What to put in Participant, to args in the pact broker command?
y
you need to install the pact cli tools, it says it can’t find the
pact-broker
executable
😮 1
have you installed them in your image
👀 1
btw you don’t install these tools in the pact-broker or pactflow image, you install them on your client machine (either your CI runner, or your local machine)
in the same way you would install the aws-cli tools to interact with AWS
p
In my organization, we have some devops shared jobs (as shown in the image above)
Copy code
image: <http://harbor.___.com/devops-images/docker-devops:20-ce_edge|harbor.___.com/devops-images/docker-devops:20-ce_edge>
Are you saying that I would need to work with them and get a new image having the pact cli tools baked in them?
y
that is one approach, you could install the tools before running your pact-broker step, or use the pact-cli image. if your normal approach is to bake the tools into your images, then that is a completely satisfactory approach
🙌 1