CircleCI-Public / orb-tools-orb

Various tools for authoring and publishing CircleCI orbs
https://circleci.com/orbs/registry/orb/circleci/orb-tools
MIT License
50 stars 74 forks source link

[semver:minor] Add circleci ip range options #218

Closed nanophate closed 11 months ago

nanophate commented 11 months ago

Changes

Customer reported that when they have their GitHub managed allowed IP enabled they can not checkout using the orb tools. To mitigate this issue I added the circleci_ip_ranges options.

Managing allowed IP addresses for your organization: You can restrict access to your organization's private assets by configuring a list of IP addresses that are allowed to connect.

Additional note

I thought of creating an executor that enables this but it looks like circleci_ip_ranges are not supported. There fore I gave up on creating an executor and created a pr to directly address this issue.

Screenshot 2023-07-18 at 15 08 25

related changes: https://github.com/CircleCI-Public/shellcheck-orb/pull/59

nanophate commented 11 months ago

Seems like there is an limitation and need more work to mitigate this issue.

There is currently no support for specifying IP ranges configuration syntax when using the pipeline parameters feature. Find more details in this Discuss post