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
Clark Boylan 7 months ago
parent 25ba188137
commit b8bd982daf

@ -31,7 +31,11 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN git clone /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 /tmp/src \
&& curl -o /tmp/src/upper-constraints.txt
RUN assemble