Refactor file path and update workflow name in actions-validate.yml
This commit is contained in:
@@ -9,50 +9,7 @@ on:
|
||||
- .github/workflows/actions-*.yml
|
||||
|
||||
jobs:
|
||||
test-setup-ansible-actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/setup-env
|
||||
|
||||
- name: Setup Ansible environment
|
||||
uses: ./.github/actions/setup-ansible-env
|
||||
with:
|
||||
vault-master-password: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ansible-user: ${{ secrets.ANSIBLE_USER }}
|
||||
trusted-hosts: ${{ secrets.TRUSTED_HOSTS }}
|
||||
|
||||
- name: Test ansible
|
||||
run: |
|
||||
ansible --version
|
||||
|
||||
test-setup-terraform-actions:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/setup-env
|
||||
|
||||
- name: Setup Terraform
|
||||
uses: hashicorp/setup-terraform@v1
|
||||
with:
|
||||
terraform_version: 1.9.6
|
||||
|
||||
- name: Test terraform
|
||||
run: |
|
||||
terraform --version
|
||||
|
||||
test-setup-terraforms-k8s-actions:
|
||||
test-cicd-actions:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -82,6 +39,13 @@ jobs:
|
||||
vault-master-password: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ansible-user: ${{ secrets.ANSIBLE_USER }}
|
||||
|
||||
- name: Get Host Info
|
||||
uses: ./.github/actions/get-host-info
|
||||
id: get-host-info
|
||||
with:
|
||||
vault-master-password: ${{ secrets.VAULT_MASTER_PASSWORD }}
|
||||
ansible-user: ${{ secrets.ANSIBLE_USER }}
|
||||
|
||||
- name: Test ansible
|
||||
run: |
|
||||
ansible --version
|
||||
|
||||
Reference in New Issue
Block a user