Skip to content

Commit

Permalink
BUILDBOT: Install and update docker-py when upgrading buildbot
Browse files Browse the repository at this point in the history
This makes sure docker-py is installed when starting from scratch and
also ensures that we use an up to date version.
  • Loading branch information
lephilousophe committed Aug 13, 2023
1 parent b159083 commit 9857c5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ BUILDBOT_BASEDIR := buildbot-workdir

BOTTLE_VERSION := 0.12.25
TREQ_VERSION := 22.2.0
DOCKER_PY_VERSION := 6.1.3

# Without toolchains/ part, all is a placeholder for all detected toolchains
TOOLCHAINS_ENABLED := all
Expand Down Expand Up @@ -144,6 +145,7 @@ $(BUILDDIR)/buildbot_installed: Makefile | $(BUILDDIR)
pip install 'buildbot[bundle]==$(BUILDBOT_VERSION)' \
'buildbot-wsgi-dashboards==$(BUILDBOT_VERSION)' \
'treq==$(TREQ_VERSION)' \
'docker==$(DOCKER_PY_VERSION)' \
'bottle==$(BOTTLE_VERSION)'
touch $(BUILDDIR)/buildbot_installed

Expand Down
6 changes: 6 additions & 0 deletions check-versions/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
'prefix': 'release-',
'exclude pattern': r'.*(b|rc).*'
},
('./Makefile', 'DOCKER_PY'): {
'check': 'git tag',
'repository': 'https://github.com/docker/docker-py.git',
'pattern': r'[0-9]',
'exclude pattern': r'.*(b|rc).*'
},

('./toolchains/m4/debian-toolchain-base.m4', 'DEBIAN'): debian_check,

Expand Down

0 comments on commit 9857c5e

Please sign in to comment.