Skip to content

Commit

Permalink
updated ansible-core versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sugetha24 committed Aug 13, 2024
1 parent b563573 commit f30c060
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
matrix:
ansible_version:
- 'ansible-core>=2.15.0,<2.18.0 --upgrade'
avd_scenario:
cvp_scenario:
- cv_configlet_loose
- cv_configlet_strict
- cv_device
Expand All @@ -183,27 +183,25 @@ jobs:
with:
molecule_parentdir: 'ansible_collections/arista/cvp'
molecule_command: 'test'
molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'
molecule_args: '--scenario-name ${{ matrix.cvp_scenario }}'
pip_file: ansible_collections/arista/cvp/requirements.txt
galaxy_file: "ansible_collections/arista/cvp/collections.yml"
ansible: "${{ matrix.ansible_version }}"
check_git: true
check_git_enforced: false
- uses: actions/upload-artifact@v3
with:
name: molecule-${{ matrix.avd_scenario }}-artifacts
path: ansible_collections/arista/cvp/molecule/${{ matrix.avd_scenario }}
name: molecule-${{ matrix.cvp_scenario }}-artifacts
path: ansible_collections/arista/cvp/molecule/${{ matrix.cvp_scenario }}

molecule_dhcp:
name: Validate Roles for DHCP management
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
# ansible_version: ['ansible-core==2.11.3', 'ansible-core>=2.11.3']
# XXX:
ansible_version: ['ansible-core==2.15.0', 'ansible-core>=2.17.0']
avd_scenario:
ansible_version: ['ansible-core==2.15.0', 'ansible-core<2.18.0']
cvp_scenario:
- dhcp_management_mac
- dhcp_management_offline
- dhcp_system_mac
Expand All @@ -220,7 +218,7 @@ jobs:
with:
molecule_parentdir: 'ansible_collections/arista/cvp'
molecule_command: 'test'
molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'
molecule_args: '--scenario-name ${{ matrix.cvp_scenario }}'
pip_file: ansible_collections/arista/cvp/requirements.txt
galaxy_file: "ansible_collections/arista/cvp/collections.yml"
ansible: "${{ matrix.ansible_version }}"
Expand Down

0 comments on commit f30c060

Please sign in to comment.