bodhi: Log the last commit in the repo at the time of the build

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-02-20 14:00:35 +01:00
parent 234ac60c3b
commit c1e23f8ef5

View file

@ -48,6 +48,7 @@ RUN dnf install -y \
#RUN git clone -b 5.1 https://github.com/fedora-infra/bodhi.git /srv/bodhi && \
RUN git clone -b 5.1 https://github.com/pypingou/bodhi.git /srv/bodhi && \
cd /srv/bodhi && \
git log -1 && \
python3 -m pip install . --no-use-pep517 && \
mkdir -p /usr/share/bodhi && \
cp /srv/bodhi/apache/bodhi.wsgi /usr/share/bodhi/bodhi.wsgi