Skip to content

Commit f8e73db

Browse files
committed
Remove upgrade from ansible-version
1 parent 9fd45ac commit f8e73db

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/pull-request-management.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- "eos_cli_config_gen_deprecated_vars"
141141
- "eos_cli_config_gen_negative_unit_tests"
142142
ansible_version:
143-
- "ansible-core<2.19.0 --upgrade"
143+
- "ansible-core<2.19.0"
144144
# Also test minimum ansible version for one scenario.
145145
include:
146146
- avd_scenario: "eos_cli_config_gen"
@@ -151,7 +151,7 @@ jobs:
151151
- uses: actions/checkout@v4
152152
- name: Run molecule test
153153
run: |
154-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
154+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
155155
cd ansible_collections/arista/avd
156156
molecule test --scenario-name ${{ matrix.avd_scenario }}
157157
- name: Check GIT status
@@ -172,14 +172,14 @@ jobs:
172172
fail-fast: true
173173
matrix:
174174
avd_scenario: ["dhcp_configuration", "dhcp_provisioning"]
175-
ansible_version: ["ansible-core<2.19.0 --upgrade"]
175+
ansible_version: ["ansible-core<2.19.0"]
176176
needs: [file-changes]
177177
if: needs.file-changes.outputs.dhcp == 'true'
178178
steps:
179179
- uses: actions/checkout@v4
180180
- name: Run molecule test
181181
run: |
182-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
182+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
183183
cd ansible_collections/arista/avd
184184
molecule test --scenario-name ${{ matrix.avd_scenario }}
185185
- name: Check GIT status
@@ -219,19 +219,19 @@ jobs:
219219
- "example-cv-pathfinder"
220220
ansible_version:
221221
# Testing all scenario with 2.16.x, due to bug with in 2.17.0 with and the way we test eos_designs_negative_unit_tests https://github.com/ansible/ansible/issues/83292
222-
- "ansible-core>=2.16.0,<2.17.0 --upgrade"
222+
- "ansible-core>=2.16.0,<2.17.0"
223223
pip_requirements:
224224
- ".github/requirements-ci-dev.txt"
225225
# Also test minimum ansible version for one scenario.
226226
include:
227227
- avd_scenario: "eos_designs_unit_tests"
228-
ansible_version: "ansible-core==2.16.0 --upgrade"
228+
ansible_version: "ansible-core==2.16.0"
229229
pip_requirements: ".github/requirements-ci-dev.txt"
230230
- avd_scenario: "eos_designs_unit_tests"
231-
ansible_version: "ansible-core<2.18.0 --upgrade"
231+
ansible_version: "ansible-core<2.18.0"
232232
pip_requirements: ".github/requirements-ci-dev.txt"
233233
- avd_scenario: "eos_designs_unit_tests"
234-
ansible_version: "ansible-core<2.19.0 --upgrade"
234+
ansible_version: "ansible-core<2.19.0"
235235
pip_requirements: ".github/requirements-ci-dev.txt"
236236
needs: [file-changes]
237237
if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.config_gen == 'true'
@@ -245,7 +245,7 @@ jobs:
245245
if: matrix.pip_requirements == 'tmp-requirements-minimum.txt'
246246
- name: Run molecule test
247247
run: |
248-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
248+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
249249
cd ansible_collections/arista/avd
250250
molecule test --scenario-name ${{ matrix.avd_scenario }}
251251
- name: Check GIT status
@@ -267,7 +267,7 @@ jobs:
267267
avd_scenario:
268268
- "eos_config_deploy_cvp"
269269
ansible_version:
270-
- "ansible-core<2.19.0 --upgrade"
270+
- "ansible-core<2.19.0"
271271
include:
272272
- avd_scenario: "eos_config_deploy_cvp"
273273
ansible_version: "ansible-core==2.16.0"
@@ -278,7 +278,7 @@ jobs:
278278
- uses: actions/checkout@v4
279279
- name: Run molecule test
280280
run: |
281-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
281+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
282282
cd ansible_collections/arista/avd
283283
molecule test --scenario-name ${{ matrix.avd_scenario }}
284284
- name: Check GIT status
@@ -301,7 +301,7 @@ jobs:
301301
avd_scenario:
302302
- 'anta_runner'
303303
ansible_version:
304-
- 'ansible-core<2.19.0 --upgrade'
304+
- 'ansible-core<2.19.0'
305305
include:
306306
- avd_scenario: 'anta_runner'
307307
ansible_version: 'ansible-core==2.16.0'
@@ -311,7 +311,7 @@ jobs:
311311
- uses: actions/checkout@v4
312312
- name: Run molecule test
313313
run: |
314-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
314+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
315315
cd ansible_collections/arista/avd
316316
molecule test --scenario-name ${{ matrix.avd_scenario }}
317317
- name: Check GIT status
@@ -330,7 +330,7 @@ jobs:
330330
avd_scenario:
331331
- "eos_validate_state"
332332
ansible_version:
333-
- "ansible-core<2.19.0 --upgrade"
333+
- "ansible-core<2.19.0"
334334
include:
335335
- avd_scenario: "eos_validate_state"
336336
ansible_version: "ansible-core==2.16.0"
@@ -340,7 +340,7 @@ jobs:
340340
- uses: actions/checkout@v4
341341
- name: Run molecule test
342342
run: |
343-
pip install ${{ matrix.ansible_version}} -r .github/requirements-ci-dev.txt
343+
pip install "${{ matrix.ansible_version}}" -r .github/requirements-ci-dev.txt
344344
cd ansible_collections/arista/avd
345345
molecule test --scenario-name ${{ matrix.avd_scenario }}
346346
- name: Check GIT status

0 commit comments

Comments
 (0)