Install refstack with openstack constraints
Refstack does not work with cryptography 37.0.0. In debugging how this passes testing I noticed that Refstack's tox.ini uses openstack constraints. Arguably it shouldn't do this as it isn't part of coinstalled opensdtack services, but since this is how they test things we should mimic it in our deployment. Update the Dockerfile to copy in the upper-contraints file to the /tmp/src dir which the assemble script should honor. Change-Id: I4603702982e5c03b4a1d110363787b1f04887a29
This commit is contained in:
parent
25ba188137
commit
b8bd982daf
@ -31,7 +31,11 @@ RUN apt-get update \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone https://opendev.org/openinfra/refstack /tmp/src
|
||||
# Refstack uses openstack constraints (it probably shouldn't) in CI
|
||||
# unittesting. Install with constraints here to ensure we're installing
|
||||
# what is in theory tested.
|
||||
RUN git clone https://opendev.org/openinfra/refstack /tmp/src \
|
||||
&& curl https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt -o /tmp/src/upper-constraints.txt
|
||||
|
||||
RUN assemble
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user