|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v6 19/20] osstest: save/retrieve the last successfully tested FreeBSD build
And use it in order to install the hosts for the next FreeBSD flight.
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
Changes since v5:
- New in this version.
---
cr-daily-branch | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/cr-daily-branch b/cr-daily-branch
index af17ad20..249cd33d 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -71,6 +71,15 @@ fetch_version () {
case $branch in
distros-*|examine)
treeurl=none;;
+ freebsd-*)
+ # NB: only needed for the freebsd branches ATM, since other
+ # branches still don't have jobs that consume freebsd builds.
+ if [ "x$FREEBSD_AMD64_BUILDJOB" = "x" ]; then
+ flight_job=`./mg-anoint retrieve "freebsd build $branch amd64"`
+ export FREEBSD_AMD64_BUILDJOB=${flight_job/ /.}
+ fi
+ # fallthrough
+ ;&
*)
treeurl=`./ap-print-url $branch`;;
esac
@@ -428,7 +437,17 @@ execute_flight $flight $OSSTEST_BLESSING
start_email $flight $branch "$sgr_args" "$subject_prefix"
push=false
-if grep '^tolerable$' $mrof >/dev/null 2>&1; then push=$wantpush; fi
+if grep '^tolerable$' $mrof >/dev/null 2>&1; then
+ push=$wantpush;
+ case "$branch" in
+ freebsd-*)
+ # Save the output of successful FreeBSD build jobs to be re-used.
+ # NB: hardcode arch to amd64 since that's all osstest covers ATM.
+ ./mg-anoint anoint "freebsd build $branch amd64" \
+ $flight build-freebsd-amd64
+ ;;
+ esac
+fi
if test -f $branch.force; then push=$OSSTEST_PUSH; fi
if grep -xF "$NEW_REVISION" $branch.force-rev; then push=$OSSTEST_PUSH; fi
if test -f $branch.block; then push=false; fi
--
2.11.0 (Apple Git-81)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |