open-nomad/.circleci/config/commands/install-vault.yml
Mahmood Ali 17059d0a1e ci: use curl
It's installed by default in macOS unlike wget
2020-03-23 13:27:58 -04:00

12 lines
372 B
YAML

parameters:
version:
type: string
default: 1.2.4
steps:
- run:
name: Install Vault << parameters.version >>
command: |
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*