Skip to content

Instantly share code, notes, and snippets.

@travi
Last active September 19, 2020 11:43

Revisions

  1. travi revised this gist Dec 19, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion create-travis-token.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # 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) | sed 's_ _/32,_g')/32
    npm token create --cidr=$(echo $(dig +short {nat.gce-us-central1.travisci.net,nat.gce-us-east1.travisci.net}) | sed 's_ _/32,_g')/32
  2. travi revised this gist Jun 28, 2019. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions create-travis-token.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,4 @@
    # list of IPs from https://docs.travis-ci.com/user/ip-addresses/

    ## container linux
    npm token create --cidr=$(echo $(dig +short nat.linux-containers.travisci.net) | sed 's_ _/32,_g')/32

    ## sudo-enabled linux
    npm token create --cidr=$(echo $(dig +short nat.gce-us-central1.travisci.net) | sed 's_ _/32,_g')/32
  3. travi revised this gist Oct 4, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion create-travis-token.sh
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,4 @@
    npm token create --cidr=$(echo $(dig +short nat.linux-containers.travisci.net) | sed 's_ _/32,_g')/32

    ## sudo-enabled linux
    npm token create --cidr=$(echo $(nat.gce-us-central1.travisci.net) | sed 's_ _/32,_g')/32
    npm token create --cidr=$(echo $(dig +short nat.gce-us-central1.travisci.net) | sed 's_ _/32,_g')/32
  4. travi revised this gist Sep 13, 2018. No changes.
  5. travi revised this gist Sep 13, 2018. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion create-travis-token.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,7 @@
    # list of IPs from https://docs.travis-ci.com/user/ip-addresses/
    npm token create --cidr={34.233.56.198,34.234.4.53,52.3.55.28,52.45.185.117,52.45.220.64,52.54.31.11,52.54.40.118,54.208.31.17,147.75.192.163}/32

    ## container linux
    npm token create --cidr=$(echo $(dig +short nat.linux-containers.travisci.net) | sed 's_ _/32,_g')/32

    ## sudo-enabled linux
    npm token create --cidr=$(echo $(nat.gce-us-central1.travisci.net) | sed 's_ _/32,_g')/32
  6. travi created this gist Jul 12, 2018.
    2 changes: 2 additions & 0 deletions create-travis-token.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # list of IPs from https://docs.travis-ci.com/user/ip-addresses/
    npm token create --cidr={34.233.56.198,34.234.4.53,52.3.55.28,52.45.185.117,52.45.220.64,52.54.31.11,52.54.40.118,54.208.31.17,147.75.192.163}/32