Refactor Molecule to support v24 #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: S1 Agent UUID | |
on: | |
push: | |
branches: | |
- "release/**" | |
paths: | |
- "roles/s1_agent_uuid/**" | |
- "!roles/s1_agent_uuid/README.md" | |
- "!roles/s1_agent_uuid/makefile" | |
- "extensions/molecule/uuid" | |
- ".github/workflows/s1_agent_uuid.yml" | |
- ".github/workflows/ci-*.yml" | |
- "!.github/workflows/ci-release.yml" | |
- ".github/actions/ci-setup/action.yml" | |
- "requirements.yml" | |
pull_request: | |
branches: | |
- "main" | |
types: | |
- opened | |
- synchronize | |
- ready_for_review | |
paths: | |
- "roles/s1_agent_uuid/**" | |
- "!roles/s1_agent_uuid/README.md" | |
- "!roles/s1_agent_uuid/makefile" | |
- "extensions/molecule/uuid" | |
- ".github/workflows/s1_agent_uuid.yml" | |
- ".github/workflows/ci-*.yml" | |
- "!.github/workflows/ci-release.yml" | |
- ".github/actions/ci-setup/actions.yml" | |
- "requirements.yml" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
call-ci-lint: | |
name: Lint Role | |
uses: ./.github/workflows/ci-lint.yml | |
with: | |
role-path: ./roles/s1_agent_uuid | |
call-ci-test: | |
name: "Test: ${{ matrix.boxes.display_name }} (${{ matrix.scenario-name }})" | |
needs: call-ci-lint | |
uses: ./.github/workflows/ci-test.yml | |
strategy: | |
fail-fast: false | |
matrix: | |
boxes: | |
- distribution: rocky8 | |
repository: roboxes | |
display_name: Rocky 8 | |
connection: ssh | |
- distribution: ubuntu2204 | |
repository: roboxes | |
display_name: Ubuntu 22.04 | |
connection: ssh | |
- distribution: windows-server-2022-standard | |
repository: gusztavvargadr | |
display_name: Server 2022 | |
connection: ssh | |
group: Windows | |
# Explicitly testing Windows Server 2012r2 is redundant. It is fully | |
# tested by the s1_agent_info role. | |
scenario-name: | |
- uuid | |
with: | |
box-distribution: ${{ matrix.boxes.distribution }} | |
box-repository: ${{ matrix.boxes.repository }} | |
ansible-connection: ${{ matrix.boxes.connection }} | |
ansible-group: ${{ matrix.boxes.group }} | |
display-name: ${{ matrix.boxes.display_name }} | |
scenario-name: ${{ matrix.scenario-name }} | |
# role-path: ./roles/s1_agent_uuid | |
secrets: inherit | |
call-ci-assert: | |
name: Assert Success | |
needs: call-ci-test | |
uses: ./.github/workflows/ci-assert.yml |