This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CI scripts".
The branch, master has been updated
via f9c1cb2777cfc2241a51749ea126dfd1f02276be (commit)
via 7c5e34cba004837189c92ca015856a06288872e0 (commit)
via f42a1cfa501d67a0fa96def4a1ff352c2b214620 (commit)
from 26f9d8768b644ae0dd20b0e671b949a340c954e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-ci/commit/?id=f9c1cb2777cfc2241a51749ea126dfd1…
commit f9c1cb2777cfc2241a51749ea126dfd1f02276be
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 27 22:32:45 2017 +0200
scripts: use 'git checkout -f' instead of 'reset --hard'
'checkout -f' more accurately does what is intended. 'reset' changes
the
current branch to some hash, 'checkout -f' force-checkouts another branch.
Change-Id: Ic6279ebaf8160bceb3fa2ab40eff0b888ecd5009
http://cgit.osmocom.org/osmo-ci/commit/?id=7c5e34cba004837189c92ca015856a06…
commit 7c5e34cba004837189c92ca015856a06288872e0
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 27 22:31:14 2017 +0200
osmo-build-dep: offload branch checkout to osmo-deps.sh
In osmo-deps.sh, add second arg $branch, and also name the first one (i.e.
$project). Use the passed branch or 'origin/master' by default.
In osmo-build-dep.sh, it's not necessary to do a second 'git rev-parse
HEAD',
osmo-deps.sh already does it.
Change-Id: I598c41a12352acea6e49a321ad2f665f6ea07a44
http://cgit.osmocom.org/osmo-ci/commit/?id=f42a1cfa501d67a0fa96def4a1ff352c…
commit f42a1cfa501d67a0fa96def4a1ff352c2b214620
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 27 22:10:17 2017 +0200
add osmo-clean-workspace.sh, use in osmo-deps.sh
So far, each jenkins job does its own cleanup, more or less well. Also, jenkins
git config offers the 'Clean before checkout' option, which seems to fail
when
there are non-writable leftovers from a failed 'make distcheck'.
Furthermore, our jenkins build slaves have unused compiled binaries piling up
by the gigabytes: each matrix build x each parallel build and each compiled
dependency therein builds .o, .a, .so and executables plus installs them to a
local prefix, and just leaves them sitting around to rot until the job runs
again. Instead, we want to clean them out when building is done.
All of this calls for a unified cleanup script that knows how to clean a
workspace properly, to run once before and once after each jenkins build.
Here it is.
Use that function in osmo-deps.sh instead of duplicating cleanup steps.
Change-Id: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
-----------------------------------------------------------------------
Summary of changes:
scripts/osmo-build-dep.sh | 7 +------
scripts/osmo-clean-workspace.sh | 42 +++++++++++++++++++++++++++++++++++++++++
scripts/osmo-deps.sh | 16 ++++++++++++----
scripts/osmo-layer1-headers.sh | 2 +-
4 files changed, 56 insertions(+), 11 deletions(-)
create mode 100755 scripts/osmo-clean-workspace.sh
hooks/post-receive
--
CI scripts