Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Alexander Couzens
osmo-hlr
Commits
07371b93
Commit
07371b93
authored
Apr 16, 2020
by
Alexander Couzens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab ci dep
Change-Id: Id6a2af8602fc2c5ed5bc67ea1121a83209e616e4
parent
08358b27
Pipeline
#528
passed with stage
in 6 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
.gitlab-ci.yml
.gitlab-ci.yml
+31
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
07371b93
---
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/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment