feat(workflows): init terraform
This commit is contained in:
@@ -36,17 +36,17 @@ jobs:
|
|||||||
make copy-install;
|
make copy-install;
|
||||||
cd ${{ github.workspace }};
|
cd ${{ github.workspace }};
|
||||||
rm -rf blackbox;
|
rm -rf blackbox;
|
||||||
- name: Decrypt secrets
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
|
||||||
blackbox_decrypt_all_files;
|
|
||||||
- uses: hashicorp/setup-terraform@v2
|
- uses: hashicorp/setup-terraform@v2
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.5.7
|
terraform_version: 1.5.7
|
||||||
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Decrypt secrets
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||||
|
blackbox_decrypt_all_files;
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
||||||
with:
|
with:
|
||||||
@@ -108,17 +108,17 @@ jobs:
|
|||||||
make copy-install;
|
make copy-install;
|
||||||
cd ${{ github.workspace }};
|
cd ${{ github.workspace }};
|
||||||
rm -rf blackbox;
|
rm -rf blackbox;
|
||||||
- name: Decrypt secrets
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
|
||||||
blackbox_decrypt_all_files;
|
|
||||||
- uses: hashicorp/setup-terraform@v2
|
- uses: hashicorp/setup-terraform@v2
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.5.7
|
terraform_version: 1.5.7
|
||||||
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Decrypt secrets
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||||
|
blackbox_decrypt_all_files;
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -34,17 +34,17 @@ jobs:
|
|||||||
make copy-install;
|
make copy-install;
|
||||||
cd ${{ github.workspace }};
|
cd ${{ github.workspace }};
|
||||||
rm -rf blackbox;
|
rm -rf blackbox;
|
||||||
- name: Decrypt secrets
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
|
||||||
blackbox_decrypt_all_files;
|
|
||||||
- uses: hashicorp/setup-terraform@v2
|
- uses: hashicorp/setup-terraform@v2
|
||||||
with:
|
with:
|
||||||
terraform_version: 1.5.7
|
terraform_version: 1.5.7
|
||||||
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
cli_config_credentials_token: ${{ secrets.tf-api-token }}
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Decrypt secrets
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||||
|
blackbox_decrypt_all_files;
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
uses: benoitchantre/setup-ssh-authentication-action@1.0.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user