diff --git a/.circleci/config.yml b/.circleci/config.yml index 51c7cc2b2..8a6db6de1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,13 +45,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -129,13 +129,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -213,13 +213,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -297,13 +297,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -381,13 +381,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -551,13 +551,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -621,13 +621,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -739,13 +739,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 @@ -883,13 +883,13 @@ jobs: name: install protoc - run: command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/1.6.4/consul_1.6.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* name: Install Consul 1.6.4 - run: command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.2.4/vault_1.2.4_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* name: Install Vault 1.2.4 diff --git a/.circleci/config/commands/install-consul.yml b/.circleci/config/commands/install-consul.yml index d9026659b..cad97da0c 100644 --- a/.circleci/config/commands/install-consul.yml +++ b/.circleci/config/commands/install-consul.yml @@ -6,6 +6,6 @@ steps: - run: name: Install Consul << parameters.version >> command: | - wget -q -O /tmp/consul.zip https://releases.hashicorp.com/consul/<< parameters.version >>/consul_<< parameters.version >>_linux_amd64.zip + curl -SL --fail -o /tmp/consul.zip https://releases.hashicorp.com/consul/<< parameters.version >>/consul_<< parameters.version >>_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/consul.zip rm -rf /tmp/consul* diff --git a/.circleci/config/commands/install-vault.yml b/.circleci/config/commands/install-vault.yml index 74e1864b3..264fbb4b0 100644 --- a/.circleci/config/commands/install-vault.yml +++ b/.circleci/config/commands/install-vault.yml @@ -6,6 +6,6 @@ steps: - run: name: Install Vault << parameters.version >> command: | - wget -q -O /tmp/vault.zip https://releases.hashicorp.com/vault/<< parameters.version >>/vault_<< parameters.version>>_linux_amd64.zip + curl -SL --fail -o /tmp/vault.zip https://releases.hashicorp.com/vault/<< parameters.version >>/vault_<< parameters.version>>_linux_amd64.zip sudo unzip -d /usr/local/bin /tmp/vault.zip rm -rf /tmp/vault* diff --git a/scripts/travis-consul.sh b/scripts/travis-consul.sh index 6dc7a0969..e6d3b8e69 100755 --- a/scripts/travis-consul.sh +++ b/scripts/travis-consul.sh @@ -16,7 +16,7 @@ function install_consul() { fi fi - wget -q -O /tmp/consul.zip ${DOWNLOAD} + curl -sSL --fail -o /tmp/consul.zip ${DOWNLOAD} unzip -d /tmp /tmp/consul.zip mv /tmp/consul /usr/local/bin/consul diff --git a/scripts/travis-vault.sh b/scripts/travis-vault.sh index d19c4a9ed..1ce6743a2 100755 --- a/scripts/travis-vault.sh +++ b/scripts/travis-vault.sh @@ -16,7 +16,7 @@ function install_vault() { fi fi - wget -q -O /tmp/vault.zip ${DOWNLOAD} + curl -sSL --fail -o /tmp/vault.zip ${DOWNLOAD} unzip -d /tmp /tmp/vault.zip mv /tmp/vault /usr/local/bin/vault diff --git a/scripts/vagrant-linux-priv-cni.sh b/scripts/vagrant-linux-priv-cni.sh index 76da2cd7d..bfc9bc0bf 100755 --- a/scripts/vagrant-linux-priv-cni.sh +++ b/scripts/vagrant-linux-priv-cni.sh @@ -12,7 +12,7 @@ function install_cni() { return fi - wget -q -O /tmp/cni-plugins.tar.gz ${DOWNLOAD} + curl -sSL --fail -o /tmp/cni-plugins.tar.gz ${DOWNLOAD} tar -xf /tmp/cni-plugins.tar.gz -C ${TARGET_DIR} touch ${TARGET_DIR}/${VERSION} } diff --git a/scripts/vagrant-linux-priv-consul.sh b/scripts/vagrant-linux-priv-consul.sh index e2c8e523c..5d4eb4762 100755 --- a/scripts/vagrant-linux-priv-consul.sh +++ b/scripts/vagrant-linux-priv-consul.sh @@ -12,7 +12,7 @@ function install_consul() { fi fi - wget -q -O /tmp/consul.zip ${DOWNLOAD} + curl -sSL --fail -o /tmp/consul.zip ${DOWNLOAD} unzip -d /tmp /tmp/consul.zip mv /tmp/consul /usr/bin/consul diff --git a/scripts/vagrant-linux-priv-dev.sh b/scripts/vagrant-linux-priv-dev.sh index f8dce4c58..cc702043b 100755 --- a/scripts/vagrant-linux-priv-dev.sh +++ b/scripts/vagrant-linux-priv-dev.sh @@ -9,7 +9,7 @@ apt-get install -y \ vim # Install Chrome for running tests (in headless mode) -wget -qO- - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - +curl -sSL -o- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list apt-get update apt-get install -y google-chrome-stable diff --git a/scripts/vagrant-linux-priv-go.sh b/scripts/vagrant-linux-priv-go.sh index ed361ee87..780f37d51 100755 --- a/scripts/vagrant-linux-priv-go.sh +++ b/scripts/vagrant-linux-priv-go.sh @@ -10,7 +10,7 @@ function install_go() { return fi - wget -q -O /tmp/go.tar.gz ${download} + curl -sSL --fail -o /tmp/go.tar.gz ${download} tar -C /tmp -xf /tmp/go.tar.gz sudo mv /tmp/go /usr/local diff --git a/scripts/vagrant-linux-priv-protoc.sh b/scripts/vagrant-linux-priv-protoc.sh index d2e3ae853..8e8c6dbf2 100755 --- a/scripts/vagrant-linux-priv-protoc.sh +++ b/scripts/vagrant-linux-priv-protoc.sh @@ -14,7 +14,7 @@ function install_protoc() { fi # Download - wget -q -O /tmp/protoc.zip ${DOWNLOAD} + curl -sSL --fail -o /tmp/protoc.zip ${DOWNLOAD} # Unzip unzip /tmp/protoc.zip -d /tmp/protoc3 diff --git a/scripts/vagrant-linux-priv-vault.sh b/scripts/vagrant-linux-priv-vault.sh index e0f72fa23..ce2a1d5aa 100755 --- a/scripts/vagrant-linux-priv-vault.sh +++ b/scripts/vagrant-linux-priv-vault.sh @@ -12,7 +12,7 @@ function install_vault() { fi fi - wget -q -O /tmp/vault.zip ${DOWNLOAD} + curl -sSL --fail -o /tmp/vault.zip ${DOWNLOAD} unzip -d /tmp /tmp/vault.zip mv /tmp/vault /usr/bin/vault diff --git a/scripts/vagrant-linux-unpriv-ui.sh b/scripts/vagrant-linux-unpriv-ui.sh index 97643759a..bf133371a 100755 --- a/scripts/vagrant-linux-unpriv-ui.sh +++ b/scripts/vagrant-linux-unpriv-ui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Install NVM for simple node.js version management -wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash +curl -sSL --fail -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash # This enables NVM without a logout/login export NVM_DIR="/home/vagrant/.nvm"