Refactor file path and update workflow name in actions-validate.yml
Add setup-terraform-env action.yml Update setup-k8s-env action.yml with ssh-auth-sock input
This commit is contained in:
@@ -26,20 +26,17 @@ jobs:
|
||||
with:
|
||||
vault-master-password: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ansible-user: ${{ secrets.ANSIBLE_USER }}
|
||||
trusted-hosts: ${{ secrets.TRUSTED_HOSTS }}
|
||||
|
||||
- name: Setup Terraform
|
||||
uses: hashicorp/setup-terraform@v1
|
||||
with:
|
||||
terraform_version: 1.9.6
|
||||
|
||||
- name: Setup Terraform environment
|
||||
uses: ./.github/actions/setup-terraform-env
|
||||
|
||||
- name: Setup Kubernetes Environment
|
||||
uses: ./.github/actions/setup-k8s-env
|
||||
with:
|
||||
vault-master-password: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ansible-user: ${{ secrets.ANSIBLE_USER }}
|
||||
|
||||
- name: Get Host Info
|
||||
- name: Get remote host info
|
||||
uses: ./.github/actions/get-host-info
|
||||
id: get-host-info
|
||||
with:
|
||||
@@ -57,3 +54,7 @@ jobs:
|
||||
- name: Test terraform
|
||||
run: |
|
||||
terraform --version
|
||||
|
||||
- name: Show remote host info
|
||||
run: |
|
||||
echo "System ID: ${{ steps.get-host-info.outputs.system_id }}"
|
||||
|
||||
Reference in New Issue
Block a user