Commit Graph

8 Commits

Author SHA1 Message Date
Oliver Smith 30b32e574a Use Osmocom OBS
Related: OS#5557
Change-Id: I880f8134e4f7e6ae4125237e6b3983c04cea9ec6
2022-06-27 16:47:56 +02:00
Oliver Smith f3c09b2a24 Install ca-certificates before Osmocom repo
Prepare for using https://downloads.osmocom.org/packages/ instead of
http://download.opensuse.org to download packages. Install
ca-certificates before attempting to use the repository, otherwise it
will print a warning and not use the repository and e.g. install
eclipse-titan from debian's repository instead of our repo.

Fix for:
W: https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/./InRelease: No system certificates available. Try installing ca-certificates.

Related: OS#5557
Change-Id: Icb6764601671b6e66591f33ede6d0f822811545a
2022-06-27 16:47:56 +02:00
Harald Welte 03d9974db8 debian-buster-jenkins: install libelf-dev
Add libelf-dev to be able to build kernel modules with
defconfig_x86_64.

This is an update to commit d6c5c7a034,
which should have not just modified the stretch but also the buster
Docker image

Change-Id: I4c442d86688278ff634a286b98637189eef88bfb
Related: OS#5407
2022-04-24 18:15:03 +02:00
Oliver Smith 2ce4f7593b debian-*-jenkins: git clone from gerrit
Avoid occasional clone failures by replacing https://git.osmocom.org
with https://gerrit.osmocom.org.

  Step 18/28 : RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && 	cp -v $(find osmo-ci/scripts 		-maxdepth 1 		-type f ) 	   /usr/local/bin
   ---> Running in c1c0bc9fb861
  Cloning into 'osmo-ci'...
  error:  (curl_result = 56, http_code = 200, sha1 = ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98)
  error: Unable to find ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98 under https://git.osmocom.org/osmo-ci
  Cannot obtain needed tree ded2f31cbac2e7b0ae6c3c4147f4e21ab1ce9b98
  while processing commit bff275075548c443596aa1eb80d784e4cd3c2231.
  error: fetch failed.

Related: SYS#5857
Change-Id: I9ad8e5755c5d520ff33d85792a5a70da62d05253
2022-03-01 11:54:19 +00: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 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
Pau Espin c1f302c2e7 Add debian-buster-jenkins docker setup
It will be used by osmo-gsm-tester docker image right now, and at some
point in the future jenkins nodes will also migrate to it.

Change-Id: Ibfdec6007357a90212dea7d39300f04ce8ffdf65
2021-03-19 07:16:12 +00:00