diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6eb706..2240523 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ on: molecule_tests: required: true type: string + root_permission_varname: + required: false + type: string sanity_includes: required: false type: string @@ -18,18 +21,6 @@ on: type: string default: >- [ - { - "python_version": "3.9", - "ansible_version": "stable-2.16" - }, - { - "python_version": "3.9", - "ansible_version": "milestone" - }, - { - "python_version": "3.9", - "ansible_version": "devel" - }, { "python_version": "3.11", "ansible_version": "milestone" @@ -45,6 +36,10 @@ on: { "python_version": "3.12", "ansible_version": "stable-2.16" + }, + { + "python_version": "3.12", + "ansible_version": "stable-2.19" } ] fail_fast: @@ -68,7 +63,7 @@ jobs: strategy: matrix: python_version: ["3.11"] - ansible_version: ["2.16"] + ansible_version: ["2.19"] steps: - name: Check out code uses: actions/checkout@v4 @@ -118,8 +113,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python_version: ["3.9", "3.11", "3.12"] - ansible_version: ["stable-2.15", "stable-2.16", "milestone", "devel"] + python_version: ["3.11", "3.12"] + ansible_version: ["stable-2.16", "stable-2.17", "stable-2.19", "milestone", "devel"] exclude: ${{ fromJSON(inputs.sanity_excludes) }} include: ${{ fromJSON(inputs.sanity_includes) }} steps: @@ -169,7 +164,7 @@ jobs: strategy: matrix: python_version: ["3.11"] - ansible_version: ["2.15", "2.16"] + ansible_version: ["2.16", "2.17", "2.19"] molecule_test: ${{ fromJSON(inputs.molecule_tests) }} fail-fast: ${{ inputs.fail_fast }} steps: @@ -213,7 +208,7 @@ jobs: - name: Run molecule test run: | molecule --version - molecule test -s ${{ matrix.molecule_test }} + molecule test -s ${{ matrix.molecule_test }} -- -e ${{ inputs.root_permission_varname }}=false working-directory: ./ansible_collections/${{ inputs.fqcn }} env: ANSIBLE_VERBOSITY: ${{ inputs.debug_verbosity }} diff --git a/.github/workflows/cish.yml b/.github/workflows/cish.yml index 3020bca..930b1f0 100644 --- a/.github/workflows/cish.yml +++ b/.github/workflows/cish.yml @@ -9,6 +9,9 @@ on: molecule_tests: required: true type: string + root_permission_varname: + required: false + type: string podman_tests_current: required: true type: string @@ -24,18 +27,6 @@ on: type: string default: >- [ - { - "python_version": "3.9", - "ansible_version": "stable-2.16" - }, - { - "python_version": "3.9", - "ansible_version": "milestone" - }, - { - "python_version": "3.9", - "ansible_version": "devel" - }, { "python_version": "3.11", "ansible_version": "milestone" @@ -51,6 +42,10 @@ on: { "python_version": "3.12", "ansible_version": "stable-2.16" + }, + { + "python_version": "3.12", + "ansible_version": "stable-2.19" } ] fail_fast: @@ -74,7 +69,7 @@ jobs: strategy: matrix: python_version: ["3.11"] - ansible_version: ["2.16"] + ansible_version: ["2.19"] steps: - name: Check out code uses: actions/checkout@v4 @@ -124,8 +119,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python_version: ["3.9", "3.11", "3.12"] - ansible_version: ["stable-2.15", "stable-2.16", "milestone", "devel"] + python_version: ["3.11", "3.12"] + ansible_version: ["stable-2.19", "milestone", "devel"] exclude: ${{ fromJSON(inputs.sanity_excludes) }} include: ${{ fromJSON(inputs.sanity_includes) }} steps: @@ -175,7 +170,7 @@ jobs: strategy: matrix: python_version: ["3.11"] - ansible_version: ["2.15", "2.16"] + ansible_version: ["2.16", "2.17", "2.19"] molecule_test: ${{ fromJSON(inputs.molecule_tests) }} fail-fast: ${{ inputs.fail_fast }} steps: @@ -219,7 +214,7 @@ jobs: - name: Run molecule test run: | molecule --version - molecule test -s ${{ matrix.molecule_test }} + molecule test -s ${{ matrix.molecule_test }} -- -e ${{ inputs.root_permission_varname }}=false working-directory: ./ansible_collections/${{ inputs.fqcn }} env: ANSIBLE_VERBOSITY: ${{ inputs.debug_verbosity }} @@ -267,7 +262,7 @@ jobs: - name: Run molecule test run: | molecule --version - molecule test -s ${{ matrix.molecule_test }} + molecule test -s ${{ matrix.molecule_test }} -- -e ${{ inputs.root_permission_varname }}=false working-directory: ./ansible_collections/${{ inputs.fqcn }} env: ANSIBLE_REMOTE_TMP: "/tmp-2.15-${{ matrix.molecule_test }}" @@ -278,7 +273,7 @@ jobs: STAGE_JBOSSNETWORK_API_SECRET: '${{ secrets.STAGE_JBOSSNETWORK_API_SECRET }}' molecule_next: - runs-on: molecule-2.16 + runs-on: molecule-2.19 strategy: matrix: python_version: ["3.11"] @@ -316,10 +311,10 @@ jobs: - name: Run molecule test run: | molecule --version - molecule test -s ${{ matrix.molecule_test }} + molecule test -s ${{ matrix.molecule_test }} -- -e ${{ inputs.root_permission_varname }}=false working-directory: ./ansible_collections/${{ inputs.fqcn }} env: - ANSIBLE_REMOTE_TMP: "/tmp-2.16-${{ matrix.molecule_test }}" + ANSIBLE_REMOTE_TMP: "/tmp-2.19-${{ matrix.molecule_test }}" ANSIBLE_VERBOSITY: ${{ inputs.debug_verbosity }} PROD_JBOSSNETWORK_API_CLIENTID: '${{ secrets.PROD_JBOSSNETWORK_API_CLIENTID }}' PROD_JBOSSNETWORK_API_SECRET: '${{ secrets.PROD_JBOSSNETWORK_API_SECRET }}'