ci: Build a wheel for taiga-back too
Now that the project has a `setup.py` script, we can build and publish a wheel for it, making deployment a lot simpler.
parent
e8f6d8566d
commit
a215c026b2
|
@ -3,6 +3,7 @@ FROM fedora:28
|
||||||
RUN useradd -M -l -u 3000018 jenkins
|
RUN useradd -M -l -u 3000018 jenkins
|
||||||
RUN dnf install -y \
|
RUN dnf install -y \
|
||||||
gcc \
|
gcc \
|
||||||
|
git \
|
||||||
libjpeg-devel \
|
libjpeg-devel \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
python3-devel \
|
python3-devel \
|
||||||
|
|
|
@ -3,6 +3,6 @@ python3.6 -m venv .venv
|
||||||
|
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
.venv/bin/pip install --upgrade pip setuptools wheel
|
.venv/bin/pip install --upgrade pip setuptools wheel
|
||||||
.venv/bin/pip wheel -w dist -r requirements.txt
|
.venv/bin/pip wheel -w dist -r requirements.txt .
|
||||||
|
|
||||||
sed -i '/^-i/d' requirements.txt
|
sed -i '/^-i/d' requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue