[MERGED] osmo-gsm-tester[master]: contrib/jenkins: more aggressively exclude docs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 29 20:30:24 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: contrib/jenkins: more aggressively exclude docs
......................................................................


contrib/jenkins: more aggressively exclude docs

Completely discard prefix/share/doc in builds. There was still ~1.2Mb from
libosmo-netif around.

Exception: osmo-hlr installs a bootstrap sql in prefix/share/doc/osmo-hlr,
so leave that script as-is.

Change-Id: I7f3f3cfed0f56099bdff93b11a0009c1caef67c8
---
M contrib/jenkins-build-osmo-bts-sysmo.sh
M contrib/jenkins-build-osmo-bts-trx.sh
M contrib/jenkins-build-osmo-msc.sh
M contrib/jenkins-build-osmo-nitb.sh
4 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/jenkins-build-osmo-bts-sysmo.sh b/contrib/jenkins-build-osmo-bts-sysmo.sh
index b8dc841..9838834 100755
--- a/contrib/jenkins-build-osmo-bts-sysmo.sh
+++ b/contrib/jenkins-build-osmo-bts-sysmo.sh
@@ -80,7 +80,7 @@
 
 # don't package documentation -- the libosmocore docs can be up to 16 Mb large,
 # a significant amount compared to the binaries
-rm -rf "$prefix_real/share/doc/libosmocore"
+rm -rf "$prefix_real/share/doc"
 
 # build the archive that is going to be copied to the tester and then to the BTS
 rm "$base"/*.tgz "$base"/*.md5 || true
diff --git a/contrib/jenkins-build-osmo-bts-trx.sh b/contrib/jenkins-build-osmo-bts-trx.sh
index fa00237..1b1d94e 100755
--- a/contrib/jenkins-build-osmo-bts-trx.sh
+++ b/contrib/jenkins-build-osmo-bts-trx.sh
@@ -70,7 +70,7 @@
 
 # don't package documentation -- the libosmocore docs can be up to 16 Mb large,
 # a significant amount compared to the binaries
-rm -rf "$prefix/share/doc/libosmocore"
+rm -rf "$prefix/share/doc"
 
 # build the archive that is going to be copied to the tester
 rm "$base"/*.tgz "$base"/*.md5 || true
diff --git a/contrib/jenkins-build-osmo-msc.sh b/contrib/jenkins-build-osmo-msc.sh
index 7e71488..f7808ff 100755
--- a/contrib/jenkins-build-osmo-msc.sh
+++ b/contrib/jenkins-build-osmo-msc.sh
@@ -70,7 +70,7 @@
 
 # don't package documentation -- the libosmocore docs can be up to 16 Mb large,
 # a significant amount compared to the binaries
-rm -rf "$prefix/share/doc/libosmocore"
+rm -rf "$prefix/share/doc"
 
 # build the archive that is going to be copied to the tester
 rm "$base"/*.tgz "$base"/*.md5 || true
diff --git a/contrib/jenkins-build-osmo-nitb.sh b/contrib/jenkins-build-osmo-nitb.sh
index eb9fc26..86d787c 100755
--- a/contrib/jenkins-build-osmo-nitb.sh
+++ b/contrib/jenkins-build-osmo-nitb.sh
@@ -70,7 +70,7 @@
 
 # don't package documentation -- the libosmocore docs can be up to 16 Mb large,
 # a significant amount compared to the binaries
-rm -rf "$prefix/share/doc/libosmocore"
+rm -rf "$prefix/share/doc"
 
 # build the archive that is going to be copied to the tester
 rm "$base"/*.tgz "$base"/*.md5 || true

-- 
To view, visit https://gerrit.osmocom.org/2768
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f3f3cfed0f56099bdff93b11a0009c1caef67c8
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list