From 53bd6b8adecf60113f3bd1ccb6addeda7a5bddb8 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 25 Aug 2023 12:26:41 +0200 Subject: jobs/osmocom-api: run inside docker Run the osmocom-api job inside docker, so all depends are available (fixes that it currently fails because liburing isn't available for libosmocore). Use the contrib/known_hosts file, instead of writing an own copy during the job. Change-Id: I6e831c71c4c88772c3e4232fcb1a9e2c1c73d997 --- jobs/osmocom-api.yml | 65 ++++++------------------------------------ scripts/osmocom-api-doxygen.sh | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 56 deletions(-) create mode 100755 scripts/osmocom-api-doxygen.sh diff --git a/jobs/osmocom-api.yml b/jobs/osmocom-api.yml index 238340c..294ccaa 100644 --- a/jobs/osmocom-api.yml +++ b/jobs/osmocom-api.yml @@ -35,59 +35,12 @@ wipe-workspace: true builders: - shell: | - # Repositories for which doxygen documentation will be generated and - # uploaded, also dependencies which need to be built - repos_api=" - libosmocore - libosmo-abis - libosmo-dsp - libosmo-netif - libosmo-sccp - osmo-gmr" - - # Source common.sh from osmo-ci.git for osmo_git_clone_url() - . scripts/common.sh - - # Put git repos and install data in a subdir, so it isn't in the root - # of the cloned osmo-ci.git repository - mkdir _osmocom_api - cd _osmocom_api - - # Prepare pkgconfig path - export PKG_CONFIG_PATH=$PWD/install/lib/pkgconfig - mkdir -p "$PKG_CONFIG_PATH" - - # Prepare known_hosts - cat > known_hosts <