Commit Graph

18 Commits

Author SHA1 Message Date
Oliver Smith d6c5c7a034 debian-stretch-jenkins: install libelf-dev
Add libelf-dev to be able to build kernel modules with
defconfig_x86_64.

Related: OS#5407
Change-Id: Id72d19ad08681cd7cb3194de2226292f19e96df5
2022-02-04 12:36:06 +01:00
Harald Welte ab69bcc39b debian-{buster,stretch}-*: Explicitly specify DISTRO variables
It seems a manual 'make' in the respective directories no longer
works, as always the default distro is used as upstream reference.

Let's work around this by adding DISTRO variable assignments to the
respective makefiles.

Change-Id: I8769d504ca7afde07d4a0ad1f03aaaec892bf576
2021-12-15 18:05:19 +00:00
Oliver Smith 8c04ad26ac Don't run "dpkg --add-architecture i386" on ARM
Building debian-stretch-jenkins on ARM currently results in a few
libraries getting installed for the i386 architecture. This results in
the following build failures for master-osmo-trx and master-osmo-pcu:

  checking for LIBGNUTLS... no
  configure: error: Package requirements (gnutls >= 2.12.0) were not met:

  No package 'gnutls' found

It is weird that we are only seeing this now, the dpkg-line has been in
debian-stretch-jenkins since the Dockerfile was added to osmo-ci four
years ago in Icb0406f96b0c18e77be51ad8317c2668fb23a45e. I'm also
wondering why it was added in the first place, and if we need it
anymore. In any case, running this on anything but x86_64 does not make
sense, so disable it there.

Change-Id: I8d890b7ebc7b99a4c79779709d1e56e0a5a6d4b9
2021-06-17 11:46:01 +02:00
Oliver Smith 4acbc1874e debian-stretch-jenkins: install libcdk5-dev
Build meas_vis from osmo-bsc.git in gerrit-verifications and
master-builds.

Related: OS#5173
Change-Id: I8c98542bf9902d6b4fbd2f8718006027b8520f19
2021-06-07 09:54:23 +02:00
Oliver Smith 910dacf686 make: add OSMOCOM_REPO_PATH
Allow to change the path between OSMOCOM_REPO_MIRROR and
OSMOCOM_REPO_VERSION. While at it, tweak related comments (comment above
the variable as usually, replace "repo" wording with "feed" for the
latest/nightly variable as we usually refer to it as feed), and mention
OSMOCOM_REPO_* in README.md.

In order to be able to use a different mirror for testsuite and systems
under test, the testsuite related Dockerfiles (osmocom-bb-host-master,
debian-stretch-titan) are not using OSMOCOM_REPO_PATH. We could add a
OSMOCOM_REPO_TESTSUITE_PATH on demand, as mentioned in the next commit.

Related: SYS#5370
Change-Id: I8010a4d49d4620a5c47c2ff4f909a9aeeaad7b73
2021-05-04 09:30:48 +02:00
Vadim Yanitskiy ef0f49aa4b Share a single instance of Release.key between all images
This change employs the same approach as [1] for Release.key.

Change-Id: Ic51d6e6557ee0b56d21d8ff4feaf04bc02e41a2e
Related: [1] I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-10 18:47:03 +01:00
Oliver Smith a9c315dad6 debian-stretch-jenkins: install osmo-trx depends
Add liblimesuite-dev and libuhd-dev, so we can successfully build
osmo-trx in docker in master-builds and gerrit-verifications.

Related: OS#5055
Change-Id: Ieec31fd6a2034c4430be81afd1d370816cd577d5
2021-03-09 11:16:49 +01:00
Oliver Smith 8f60d951da Cosmetic: debian-stretch-jenkins, osmo-gsm-tester: fix indent
Change-Id: Ia6b12b2c35f69eb0434797b29ee0ef676b032250
2021-01-13 15:56:06 +01:00
Oliver Smith f92edcc32f debian-stretch-jenkins,fpga-build: add gsm-manuals
Prepare to remove 'build-deps.sh osmo-gsm-manuals' calls from all
projects.

Related: OS#4912
Change-Id: Id402e0ea372b5ca8a6c8f6f5beb190544c888207
2021-01-13 15:55:52 +01:00
Oliver Smith 8f2210f528 debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin. Together with osmo-ci
I45bd7ea56849dab839a98cfd52806f7cd288094e, this will make overwriting
PATH obsolete.

Related: OS#4911
Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
2021-01-12 08:26:25 +00:00
Pau Espin 7d7a06b749 common: Introduce OSMOCOM_REPO_MIRROR param
This allows easily changing to another osmocom repo base URL if the
default one is down.

Related: OS#4862
Change-Id: I8010b08f3dabacfb3c13a44eece6c7a490e0742e
2020-12-02 14:27:02 +01:00
Harald Welte 027826fdba introduce 'REGISTRY' argument to all Dockerfiles
This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
2020-11-02 17:02:26 +01:00
Alexander Couzens 7bc7dccd0b debian-stretch-jenkins: install osmo-python-tests for python2
osmo-python-tests for python2 is being used when building
old releases.

Change-Id: I63b3e92e745a664d5d0168c718daddae83c20df5
2020-08-17 08:34:13 +00:00
Pau Espin 932b00cfbc debian-stretch-jenkins/Dockerfile: Install source-highlight
It is needed by some user manuals using code snippet syntax
higlhlighting, such as osmo-gsm-tester one:

"""
[source,python]
----
sleep(3) # sleep for 3 seconds
----
"""

asciidoc: WARNING: test_api.adoc: line 19: filter non-zero exit code: source-highlight -f xhtml -s python: returned 127
asciidoc: WARNING: test_api.adoc: line 19: no output from filter: source-highlight -f xhtml -s python

Change-Id: I8427179f7cfc0c9150e5327803ca89adffedb8f1
2020-06-12 14:54:35 +00:00
Harald Welte 37ee8e0a57 debian-stretch-jenkins: Add osmo-uecups dependencies
The new osmo-uecups project requires libnl-3 + jansson

Change-Id: I592e8ae8677d5d0a90a6b6a5ed9a89789d7c9a5a
2020-04-17 13:23:18 +00:00
Harald Welte 1bccbb8a66 update OBS Release.key; the old one expired today.
Change-Id: I0dd7d7f54a3eb93ca677f3bdc5e00f62694aaa9e
2020-03-30 18:06:58 +02:00
Pau Espin 0e0085d03b debian-stretch-jenkins: Install libulfius from osmocom OBS repos
We currently build libulfius 2.5. It doesn't say anywhere in osmo-remsim
that libulfius-3.6.4 is required anyway.

Change-Id: Ie6b07f676f8e06959eaac5e865c163de3f9c939d
2020-03-04 15:30:11 +01:00
Oliver Smith 27ce2c7ed9 debian-stretch-jenkins: move from osmo-ci.git
Put Dockerfile_osmocom_jenkins.amd64 ("osmocom:deb9_amd64") from
osmo-ci.git here and give it a more descriptive name.

The image is used to run contrib/jenkins.sh scripts of most Osmocom
projects. Move it to here, so we have all docker images in one place.
In the future, osmo-ci.git will use more images from
docker-playground.git in gerrit verification, such as
debian-buster-erlang.

Related: OS#4345
Change-Id: I125ae8a6bcabbd1f485028c79b0abacda0622c3a
2020-01-15 09:28:49 +01:00