@@ -43,6 +43,7 @@ jiri=.jiri_root/bin/jiri
43
43
set -x
44
44
45
45
if [ -z " $KEEP_CHECKOUT " ]; then
46
+ echo " downloading jiri" && df -h /
46
47
# This script will:
47
48
# - create a directory named "fuchsia" if it does not exist
48
49
# - download "jiri" to "fuchsia/.jiri_root/bin"
@@ -52,11 +53,13 @@ if [ -z "$KEEP_CHECKOUT" ]; then
52
53
53
54
cd $checkout
54
55
56
+ echo " running jiri init" && df -h /
55
57
$jiri init \
56
58
-partial=true \
57
59
-analytics-opt=false \
58
60
.
59
61
62
+ echo " running jiri import" && df -h /
60
63
$jiri import \
61
64
-name=integration \
62
65
-revision=$INTEGRATION_SHA \
@@ -65,24 +68,29 @@ if [ -z "$KEEP_CHECKOUT" ]; then
65
68
" https://fuchsia.googlesource.com/integration"
66
69
67
70
if [ -d " .git" ]; then
71
+ echo " Wipe out any local changes" && df -h /
68
72
# Wipe out any local changes if we're reusing a checkout.
69
73
git checkout --force JIRI_HEAD
70
74
fi
71
75
76
+ echo " running jiri update" && df -h /
72
77
$jiri update -autoupdate=false
73
78
74
79
echo integration commit = $( git -C integration rev-parse HEAD)
75
80
76
81
for git_ref in " ${PICK_REFS[@]} " ; do
82
+ echo " running git fetch" && df -h /
77
83
git fetch https://fuchsia.googlesource.com/fuchsia $git_ref
84
+ echo " running git cherry-pick" && df -h /
78
85
git cherry-pick --no-commit FETCH_HEAD
79
86
done
80
87
else
81
- echo Reusing existing Fuchsia checkout
88
+ echo Reusing existing Fuchsia checkout && df -h /
82
89
cd $checkout
83
90
fi
84
91
85
92
# Run the script inside the Fuchsia checkout responsible for building Fuchsia.
86
93
# You can change arguments to the build by setting KEEP_CHECKOUT=1 above and
87
94
# modifying them in build_fuchsia_from_rust_ci.sh.
95
+ echo " running build_fuchsia_from_rust_ci.sh" && df -h /
88
96
bash scripts/rust/build_fuchsia_from_rust_ci.sh
0 commit comments