Skip to content

Commit

Permalink
update integration workflow - install terraform binary
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Dec 15, 2023
1 parent e245853 commit 8b35059
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,30 @@ jobs:
with:
python-version: ${{ env.python_version }}

# install ansible
# Install ansible
- name: Install ansible-core (${{ env.ansible_version }})
run: >-
python3 -m pip install
https://github.com/ansible/ansible/archive/${{ env.ansible_version }}.tar.gz
--disable-pip-version-check
shell: bash

# Install Terraform binary
- name: Download terraform binary
run: >-
curl
-o terraform.zip
https://releases.hashicorp.com/terraform/1.6.3/terraform_1.6.3_linux_amd64.zip
shell: bash

- name: Install terraform binary
run: |-
zcat terraform.zip > terraform
chmod +x terraform
sudo mv terraform /usr/bin
terraform -v
shell: bash

- name: Pre install collections dependencies first so the collection install does not
run: ansible-galaxy collection install --pre '-r${{ env.source }}/tests/integration/requirements.yml' -p /home/runner/collections/

Expand Down

0 comments on commit 8b35059

Please sign in to comment.