Hey - Question regarding the `pactfoundation/pact-...
# general
s
Hey - Question regarding the
pactfoundation/pact-cli:latest
How to run a pact message provider test by using the docker image ? There is a verifier command but no mention about how to run message provider pact test. Any pointers please ?
m
Actually, you should use this tool for verifying message pacts (if you aren’t going to use a client SDK): https://github.com/pact-foundation/pact-reference/tree/master/rust/pact_verifier_cli
Is there a reason you can’t use a client language? (e.g. JS, JVM etc.)
s
We are using pact-cli and using pact-js to run message provider pact. Issue is we have alphine linux gitlab runners and we are facing issues in running the tests
pact-core@14.0.5: Failed to find native module for linux-x64: TypeError: Cannot read properties of undefined (reading 'pactffiInitWithLogLevel')
@Matt (pactflow.io / pact-js / pact-go)
Used a node docker image based on ubuntu to resolve the issue in running the pact verficiation using pact-js
☝️ 1