postmanlabs / newman-orb

CircleCI Orb for running collections with Newman - https://circleci.com/orbs/registry/orb/postman/newman
MIT License
3 stars 9 forks source link

Bump newman version to 5.2.0 #9

Closed smariapena closed 3 years ago

smariapena commented 4 years ago

I believe this will bump the version of Newman referenced in the Orb to 5.2.0 which is the current version.

With this PR I would like to request an update to the official orb as it is over a year since last update.

Thanks everyone.

kevinswiber commented 4 years ago

Thanks for the PR!

I think, moving forward, we'll have to decide how we want to set the default here. We could choose 5, 5.2, 5.2.0, or even latest. The predictability of how this impacts builds in the wild would depend on how conformant newman releases are to semantic versioning.

I'd vote to merge these changes in, as-is, and cut a new Orb version.

Also, for posterity, here's how to override the Docker image tag in the CircleCI config:

version: 2.1

orbs:
  newman: postman/newman@0.0.2
jobs:
  newman-collection-run:
    executor:
      name: newman/postman-newman-docker
      tag: 5.2.0
    steps:
      - checkout
      - newman/newman-run:
          collection: ./dummy-test.postman_collection.json
          environment: ./test-env.postman_environment.json
workflows:
  version: 2
  workflow:
    jobs:
      - newman-collection-run
smariapena commented 3 years ago

Gone stale and work around given. I'm gonna close this. Thanks!