Skip to content

Commit

Permalink
install tools for docs publishing (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman authored Jan 14, 2022
1 parent e90e5fb commit f8a2af0
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ references:
sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
sudo systemctl restart docker
EOF
install_vault: &install_vault
install_vault_alpine: &install_vault_alpine
run:
name: install hashicorp vault
command: |
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
steps:
- checkout
- setup_remote_docker
- *install_vault
- *install_vault_alpine
- rok8s/get_vault_env:
vault_path: repo/global/env
- run: echo 'export FAIRWINDS_TOKEN="${INSIGHTS_OSS_TOKEN}"' >> $BASH_ENV
Expand All @@ -91,7 +91,7 @@ jobs:
- setup_remote_docker:
version: 20.10.6
- *enable_experimental_docker_features
- *install_vault
- *install_vault_alpine
- rok8s/get_vault_env:
vault_path: repo/global/env
- rok8s/get_vault_env:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
shell: /bin/bash
steps:
- checkout
- *install_vault
- *install_vault_alpine
- rok8s/get_vault_env:
vault_path: repo/global/env
- *install_circleci
Expand All @@ -146,12 +146,27 @@ jobs:
npm run check-links
npm run build
- run:
name: Install AWS CLI
name: Install Tools
command: |
cd /tmp
echo "Installing AWS CLI"
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
- *install_vault
echo "Installing Hashicorp Vault"
curl -LO https://releases.hashicorp.com/vault/1.9.2/vault_1.9.2_linux_amd64.zip
unzip vault_1.9.2_linux_amd64.zip
sudo mv vault /usr/bin/vault
sudo chmod +x /usr/bin/vault
vault --version
echo "Installing yq"
curl -LO https://github.com/mikefarah/yq/releases/download/v4.16.2/yq_linux_amd64.tar.gz
tar -zxvf yq_linux_amd64.tar.gz
sudo mv yq_linux_amd64 /usr/bin/yq
sudo chmod +x /usr/bin/yq
yq --version
- rok8s/get_vault_env:
vault_path: repo/pluto/env
- run:
Expand All @@ -163,7 +178,7 @@ jobs:
docker:
- image: quay.io/reactiveops/ci-images:v11-alpine
steps:
- *install_vault
- *install_vault_alpine
- rok8s/get_vault_env:
vault_path: repo/pluto/env
- run:
Expand Down

0 comments on commit f8a2af0

Please sign in to comment.