Commit dc8a922f authored by Jens Langhammer's avatar Jens Langhammer

only build one debian package

parent 0fa0d26a
Pipeline #3363 failed with stages
in 12 minutes and 56 seconds
......@@ -53,54 +53,29 @@ package-helm:
only:
- tags
- /^debian/.*$/
package-3.5:
package:
before_script:
- apt update
- apt install -y build-essential debhelper devscripts equivs python3 python3-pip
- cp debian/control-3.5 debian/control
- apt install -y --no-install-recommends build-essential debhelper devscripts equivs python3 python3-pip
- mk-build-deps debian/control
- apt install ./*build-deps*deb -f -y
- "python3 -m pip install -U virtualenv"
- "python3 -m pip install -U virtualenv pip"
- "virtualenv env"
- "source env/bin/activate"
- "pip3 install -U -r requirements.txt -r requirements-dev.txt"
image: debian
image: ubuntu:18.04
script:
- debuild -us -uc
- cp ../pyazo*.deb .
- ./manage.py nexus_upload --method post --url $NEXUS_URL --user $NEXUS_USER --password $NEXUS_PASS --repo apt ../pyazo-python3.*
- ./manage.py nexus_upload --method post --url $NEXUS_URL --user $NEXUS_USER --password $NEXUS_PASS --repo apt ../pyazo*
artifacts:
paths:
- pyazo-python3.5*deb
- pyazo*deb
expire_in: 2 days
stage: build
only:
- tags
- /^debian/.*$/
package-3.6:
before_script:
- apt update
- apt install -y build-essential debhelper devscripts equivs python3.6 python3-pip
- cp debian/control-3.6 debian/control
- mk-build-deps debian/control
- apt install ./*build-deps*deb -f -y
- "python3 -m pip install -U virtualenv"
- "virtualenv env"
- "source env/bin/activate"
- "pip3 install -U -r requirements.txt -r requirements-dev.txt"
image: debian:buster
script:
- debuild -us -uc
- cp ../pyazo*.deb .
- ./manage.py nexus_upload --method post --url $NEXUS_URL --user $NEXUS_USER --password $NEXUS_PASS --repo apt ../pyazo-python3.*
artifacts:
paths:
- pyazo-python3.6*deb
expire_in: 2 days
stage: build
only:
- tags
- /^debian/.*$r
docs:
stage: docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment