Skip to content

Commit 9a6c03a

Browse files
committed
The pip coming with the ansible-core 2.11 alpine3 image seems to be too old.
1 parent 1be6253 commit 9a6c03a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ansible-test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
- ''
102102
target:
103103
- ''
104+
extra-constraints:
105+
# Specifying this other than '' likely destroys change detection, but at least it will make
106+
# CI pass when necessary...
107+
- ''
104108
exclude:
105109
- ansible: ''
106110
include:
@@ -117,6 +121,7 @@ jobs:
117121
docker: alpine3
118122
python: ''
119123
target: azp/4/
124+
extra-constraints: urllib3 < 2.0.0
120125
- ansible: '2.11'
121126
docker: alpine3
122127
python: ''
@@ -144,6 +149,7 @@ jobs:
144149
git clone --depth=1 --single-branch https://github.com/ansible-collections/community.crypto.git ../../community/crypto
145150
;
146151
git clone --depth=1 --single-branch https://github.com/ansible-collections/community.general.git ../../community/general
152+
${{ matrix.extra-constraints && format('; echo "''{0}''" >> tests/utils/constraints.txt', matrix.extra-constraints) || '' }}
147153
pull-request-change-detection: 'true'
148154
target: ${{ matrix.target }}
149155
target-python-version: ${{ matrix.python }}

0 commit comments

Comments
 (0)