Pact-js: Support tagging provider versions when publishing verification results

Created on 8 Nov 2019  Â·  9Comments  Â·  Source: pact-foundation/pact-js

The option to the underlying pact-provider-verifier command is --provider-version-tag TAG and this can be repeated multiple times. See https://github.com/pact-foundation/pact-provider-verifier#usage

enhancement help wanted

Most helpful comment

Wow, quick turn around.... thank you... I'm impressed!

All 9 comments

Wow, quick turn around.... thank you... I'm impressed!

Thanks! Give it a few minutes though, the change has been committed but is in the process of a release (v9.3.0").

I've just been trying this and I'm getting this error:

    Error reading file from --provider-version-tag

    No such file or directory @ rb_sysopen - --provider-version-tag 

.. im not sure if this is related to this new feature?

Hmm, so it looks like --provider-app-version isn't available in the current binary supplied to Pact Node. Let me find out why...

Screen Shot 2019-11-09 at 9 15 32 am

OK so it looks like the standalone package needs updating as it doesn't contain this flag. I'll update that, and then update pact-node to include that in the latest binary. I have a few things on this morning, but will sort it out when I'm back a little later today.

Hmm, so it looks like --provider-app-version isn't available in the current binary supplied to Pact Node.

I assume you mean --provider-version-tag ?

Yes that, I originally thought it was a documentation error and copied the
wrong tag. I didn't update the comment after it seems

On Sat, Nov 9, 2019, 9:43 AM Stephen Rhodes notifications@github.com
wrote:

Hmm, so it looks like --provider-app-version isn't available in the
current binary supplied to Pact Node.

I assume you mean --provider-version-tag ?

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pact-foundation/pact-js/issues/394?email_source=notifications&email_token=AAANFDBAYOHIFVRSJPOXOTDQSXTQRA5CNFSM4JKUOZC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDTSJEA#issuecomment-552019088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANFDF5LL2ZDJ5GVECCL43QSXTQRANCNFSM4JKUOZCQ
.

Just an FYI, this release is held up a little as we investigate a minor difference in beaviour in the latest verifier. See https://github.com/pact-foundation/pact-provider-verifier/issues/42 for detail.

Ok take 2, the latest release should have this fix. Apologies for the delay.

Was this page helpful?
0 / 5 - 0 ratings