Hi Neels,
Patchset for openBSC's jenkins.sh build script has been uploaded [1].
But a small change [2] of osmo-build.sh is necessarily pending, because https://git.osmocom.org is down atm. Furthermore, the osmo-build.sh script should probably not depend on cgit's availability. :)
After [2] has been submitted following steps are necessary to verify [1] via gerrit:
- trigger "update-osmo-ci-on-slaves" - add ARTIFACT_STORE environment variable to all slaves/nodes e.g. [3] - add following arguments to docker invocations of openBSC jobs [4]:
-e JOB_NAME="$JOB_NAME" -e ARTIFACT_STORE="/ARTIFACT_STORE" -v "$ARTIFACT_STORE:/ARTIFACT_STORE"
Afterwards, re-triggering [1] should result in a '+1 Jenkins Builder'.
I have sufficient permission to apply above stated steps, except +2'ing [2] and you may want to suggest the absolute path for ARTIFACT_STORE variable?
Regards, André
[1] https://gerrit.osmocom.org/#/c/3823/ [2] https://gerrit.osmocom.org/#/c/3822/ [3] https://jenkins.osmocom.org/jenkins/computer/OsmocomBuild1/configure [4] https://jenkins.osmocom.org/jenkins/view/Jenkins-Gerrit/job/OpenBSC-gerrit/
Thanks, applied the OpenBSC-gerrit build config, and it started to build now as https://jenkins.osmocom.org/jenkins/job/OpenBSC-gerrit/2439/
It now reads:
chmod -R +w * rm -rf * git checkout . #./contrib/jenkins.sh
ARTIFACT_STORE="$HOME/jenkins_build_artifact_store" mkdir -p "$ARTIFACT_STORE"
docker run --rm=true \ -e HOME=/build \ -e ARTIFACT_STORE=/artifact_store \ -e JOB_NAME="$JOB_NAME" \ -e MAKE=make \ -e PARALLEL_MAKE="$PARALLEL_MAKE" \ -e IU="$IU" \ -e SMPP="$SMPP" \ -e MGCP="$MGCP" \ -e PATH="$PATH:/build_bin" \ -e OSMOPY_DEBUG_TCP_SOCKETS="1" \ -w /build -i -u build \ -v "$PWD:/build" \ -v "$HOME/bin:/build_bin" \ -v "$ARTIFACT_STORE:/artifact_store" \ osmocom:amd64 /build/contrib/jenkins.sh
Notably, we are in the middle of moving to new repositories, away from openbsc.git: osmo-msc.git, osmo-bsc.git, osmo-mgw.git, osmo-sgsn.git, and when openbsc works with the artifact store these could follow.
~N