Last active
September 19, 2020 11:43
-
-
Save travi/f91c73610fa49769d90e3ee3b66cfbee to your computer and use it in GitHub Desktop.
limit npm token to travis instances
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list of IPs from https://docs.travis-ci.com/user/ip-addresses/ | |
## sudo-enabled linux | |
npm token create --cidr=$(echo $(dig +short {nat.gce-us-central1.travisci.net,nat.gce-us-east1.travisci.net}) | sed 's_ _/32,_g')/32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment