Commit 07371b93 authored by Alexander Couzens's avatar Alexander Couzens

gitlab ci dep

Change-Id: Id6a2af8602fc2c5ed5bc67ea1121a83209e616e4
parent 08358b27
Pipeline #528 passed with stage
in 6 minutes and 59 seconds
---
image: debian:buster
before_script:
- apt-get update
- apt-get install -y dpkg-dev devscripts wget git
- wget "https://code.fe80.eu/$CI_PROJECT_NAMESPACE/libosmocore/-/jobs/artifacts/master/download?job=build-deb" -O libosmocore.zip
- unzip libosmocore.zip
- wget "https://code.fe80.eu/$CI_PROJECT_NAMESPACE/libosmo-abis/-/jobs/artifacts/master/download?job=build-deb" -O libosmo-abis.zip
- unzip libosmo-abis.zip
- wget "https://code.fe80.eu/$CI_PROJECT_NAMESPACE/libosmo-netif/-/jobs/artifacts/master/download?job=build-deb" -O libosmo-netif.zip
- unzip libosmo-netif.zip
- wget "https://code.fe80.eu/$CI_PROJECT_NAMESPACE/osmo-gsm-manuals/-/jobs/artifacts/master/download?job=build-deb" -O osmo-gsm-manuals.zip
- unzip osmo-gsm-manuals.zip
- cd debs/ && dpkg-scanpackages . > Packages
- echo "deb [trusted=yes] file://$PWD ./" > /etc/apt/sources.list.d/local.list
- cd ..
- apt-get update
build-deb:
stage: build
script:
- bash -c "yes "" | mk-build-deps -i"
- dpkg-buildpackage -us -uc
- rm -rf debs/
- mkdir -p debs/
- cp ../*.deb ../*.dsc ../*.tar* ../*.buildinfo ../*changes debs/
- ls -al debs/
artifacts:
paths:
- debs/
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