circleci-orb
circleci-orb copied to clipboard
Allow to set circleci_ip_ranges to use known IP ranges
CircleCI now provides a flag for using known IP ranges. This can be helpful when testing firewalled environments, e.g. staging environments. See https://circleci.com/docs/2.0/ip-ranges/. This is achieved by setting circleci_ip_ranges: true
on the job.
My feature request is to enable this in the orb as an optional setting.
I can submit a PR if this is of interest.
This feature would be very useful! It's currently blocking us from using the orb.
would be very useful indeed, I'm about to stop using the orb because of this
Is this still in progress? My team is looking to get this implemented for our runs, but we'd like to keep using the orb if possible.
I would like to use this, but there seem to be no updates.
I believe passing CircleCI params to the orb should work. Please try upgrading to v3.0.0 of the orb. Please comment if this is still occuring.
Just realised I solved this problem in a different way and forgot my offer to submit a PR. It still stands if v3.0.0 does not solve the issue.
I'm having this issue currently and am not sure how to pass this param to the orb. I am using an anchor to define the job and not able to pass it correctly. I'm not sure if this is just unsupported or if there is a syntax error. I'm receiving Unexpected argument(s): circleci_ip_ranges
You can't pass circleci_ip_ranges
to the cypress/run
job (it'll throw the Unexpected argument...
error) but instead would need to explicitly define your own jobs that call the same commands as cypress/run
:
version: 2.1
orbs:
cypress: cypress-io/[email protected]
jobs:
run:
executor: cypress/default
circleci_ip_ranges: true
steps:
- cypress/install:
working-directory: ./
- cypress/run-tests:
working-directory: ./
workflows:
run-tests:
jobs:
- run