Skip to content

Commit 4c75ca9

Browse files
committed
ci: upgrade docker lib to 7.1.0
Upgrade docker lib to work around the below regression in requests. ``` Not supported URL scheme http+docker ``` Issue: docker/docker-py#3256 Fix: docker/docker-py#3257 Signed-off-by: Chase Qi <[email protected]>
1 parent 180c077 commit 4c75ca9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
*.swp
2+
cache

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ codestyle:
2222
# Run the tests #
2323
#################
2424
.lavafed: &lavafed
25-
only: [schedules]
25+
# only: [schedules]
2626
stage: lavafed
2727
image: docker:dind
2828
variables:
2929
DOCKER_DRIVER: overlay2
3030
DOCKER_HOST: "unix:///var/run/docker.sock"
3131
before_script:
3232
- apk add gcc git python3-dev
33-
- apk add docker-py py3-beautifulsoup4 py3-lxml py3-netifaces py3-pyaml
33+
- apk add docker-py py3-beautifulsoup4 py3-lxml py3-netifaces py3-pyaml py3-pip
34+
# Workaround for https://github.com/docker/docker-py/issues/3256
35+
- python3 -m pip install --upgrade --break-system-packages docker==7.1.0
3436
script:
3537
- 'dockerd -l fatal &'
3638
- 'while [ -z "$(docker ps 2>/dev/null)" ]; do echo "waiting"; sleep 1; done'

0 commit comments

Comments
 (0)