Skip to content
Snippets Groups Projects
Commit 832e4e21 authored by Georges Racinet's avatar Georges Racinet
Browse files

install_heptapod: doing py-heptapod first

py-heptapod is directly installed typically for intermediate
versions that aren't published on PyPI. In some cases (major version
change), it can happen that the requirements shipping with the Rails
app would be satisfied only by the developement version of py-heptapod.

In case of releases, we always have the requirements from the Rails app
directly referring a published version on PyPI, and the install script
does not install py-heptapod from version control.
parent 3d43b3d6
No related branches found
No related tags found
No related merge requests found
......@@ -338,6 +338,9 @@
upgrade_pip(python=python)
py_heptapod = revisions.get('py-heptapod')
if py_heptapod is not None:
hgpip(python=python, target=PY_HEPTAPOD_REPO, **py_heptapod)
apply_pip_requirements(python=python)
hg_git = revisions.get('hg-git')
......@@ -346,9 +349,6 @@
logging_mod = revisions.get('hgext-loggingmod')
if logging_mod is not None:
hgpip(python=python, target=LOGGINGMOD_REPO, **logging_mod)
py_heptapod = revisions.get('py-heptapod')
if py_heptapod is not None:
hgpip(python=python, target=PY_HEPTAPOD_REPO, **py_heptapod)
fixup_hgrc_inclusion("/opt/gitlab/etc/docker.hgrc", python=python)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment