Skip to content

Commit

Permalink
Ручная установка Terraform (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Orlov <[email protected]>
  • Loading branch information
v1km4n and Alexey Orlov authored Sep 24, 2024
1 parent 2042609 commit 9dff125
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
name: 'Test Selectel Terraform modules'
runs-on: self-hosted
env:
terraform_link: https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip
TF_VAR_selectel_domain_name: ${{ secrets.SELECTEL_ID }}
TF_VAR_selectel_user_admin_user: ${{ secrets.SERVICE_USER }}
TF_VAR_selectel_user_admin_password: ${{ secrets.SERVICE_PASSWORD }}
Expand All @@ -25,9 +26,13 @@ jobs:
node-version: 20

- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.5.5"
shell: bash
run: |
curl -o terraform.zip $terraform_link
unzip terraform.zip
rm terraform.zip
chmod 755 terraform
mv terraform /usr/local/bin
# - name: Run Checkov action # suppressed for now because it fails to copy a file inside a self-hosted runner
# uses: bridgecrewio/checkov-action@v12
Expand Down

0 comments on commit 9dff125

Please sign in to comment.