osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ci/+/38801?usp=email
)
Change subject: jobs/master-builds: add android-apdu-proxy
......................................................................
jobs/master-builds: add android-apdu-proxy
Gradle downloads a lot of files during the build, mount the cache dirs
so this is only done once for master builds.
Related: OS#6367
Change-Id: Ie7c3948e8c4a1a75a1efaac3e7c238601c5cdccb
---
M jobs/master-builds.yml
1 file changed, 14 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index f711d4d..3896e67 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -67,6 +67,7 @@
-v "$CCACHE_DIR:/ccache" \
docker_img: '$USER/debian-bookworm-build'
docker_img_erlang: '$USER/debian-bookworm-erlang'
+ docker_img_android:
'registry.osmocom.org/osmocom-build/debian-bookworm-android'
timeout_cmd: '/usr/bin/timeout 30m'
cmd: '{docker_run_ccache} {docker_img} {timeout_cmd}
/build/contrib/jenkins.sh'
trigger:
@@ -80,6 +81,19 @@
# in alphabetical order
repos:
+ - android-apdu-proxy:
+ repos_url: '{gitea_url}/sim-card/android-apdu-proxy'
+ branch: master
+ cmd: |
+ ANDROID_CACHE="$HOME/android-cache/master-builds/android"
+ GRADLE_CACHE="$HOME/android-cache/master-builds/gradle"
+ mkdir -p "$ANDROID_CACHE" "$GRADLE_CACHE"
+ docker pull {docker_img_android}
+ {docker_run} \
+ -v "$ANDROID_CACHE":/build/.android \
+ -v "$GRADLE_CACHE":/build/.gradle \
+ {docker_img_android} {timeout_cmd} contrib/jenkins.sh
+
- asn1c:
branch: osmo-iuh/master
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/38801?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ie7c3948e8c4a1a75a1efaac3e7c238601c5cdccb
Gerrit-Change-Number: 38801
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>