Replace manual fetcher with jjb variant 51/24151/1
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 2 Mar 2020 17:38:23 +0000 (18:38 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 2 Mar 2020 17:38:23 +0000 (18:38 +0100)
This replaces the old jenkins job with a new one.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7970914b9a7daf964eb2a942d76571dd90934009

jjb/pre-fetch/include-prefetch.sh
jjb/pre-fetch/include-rsync-prefetch.sh

index ddaf40e..6d15ba9 100644 (file)
@@ -3,12 +3,12 @@
 #set -x
 set +e
 #
-export BOARDS="qemux86-64 raspberrypi3 intel-corei7-64 h3ulcb-nogfx m3ulcb-nogfx dra7xx-evm qemuarm qemuarm64"
+export BOARDS="qemux86-64 raspberrypi4 raspberrypi3 intel-corei7-64 h3ulcb-nogfx m3ulcb-nogfx dra7xx-evm qemuarm qemuarm64 bbe"
 # check: dra7xx-evm dragonboard-410c wandboard
-export FEATURES="agl-demo agl-devel agl-audio-4a-framework agl-netboot"
+export FEATURES="agl-demo agl-devel agl-netboot agl-profile-graphical-html5"
 export FEATURES_nogfx="agl-netboot agl-devel"
 export TARGETIMAGE="agl-demo-platform-crosssdk"
-export TARGETIMAGE_nogfx="agl-image-ivi-crosssdk"
+export TARGETIMAGE_nogfx="agl-image-minimal"
 
 mkdir -p mirror
 mkdir -p sstate
@@ -28,24 +28,24 @@ repo sync -j8
 for i in $BOARDS ; do
     pushd .
     if test x"porter-nogfx" = x"$i" ; then
-       FEATURES="${FEATURES_nogfx}"
-       TARGETIMAGE="${TARGETIMAGE_nogfx}"
+    FEATURES="${FEATURES_nogfx}"
+    TARGETIMAGE="${TARGETIMAGE_nogfx}"
     fi
     if test x"m3ulcb-nogfx" = x"$i" ; then
-       FEATURES="${FEATURES_nogfx}"
-       TARGETIMAGE="${TARGETIMAGE_nogfx}"
+    FEATURES="${FEATURES_nogfx}"
+    TARGETIMAGE="${TARGETIMAGE_nogfx}"
     fi
     if test x"h3ulcb-nogfx" = x"$i" ; then
-       FEATURES="${FEATURES_nogfx}"
-       TARGETIMAGE="${TARGETIMAGE_nogfx}"
+    FEATURES="${FEATURES_nogfx}"
+    TARGETIMAGE="${TARGETIMAGE_nogfx}"
     fi
-       source meta-agl/scripts/aglsetup.sh -m ${i} -b build-${i} ${FEATURES}
+    source meta-agl/scripts/aglsetup.sh -m ${i} -b build-${i} ${FEATURES}
     ln -sf ../../mirror downloads
     ln -sf ../../sstate sstate-cache
     echo 'BB_GENERATE_MIRROR_TARBALLS = "1"' >> conf/local.conf
     #recipe tar-native-1.28-r0: task do_populate_sysroot_setscene
-    bitbake -k tar-native || true
-    bitbake -c fetchall ${TARGETIMAGE} -k || true
+    #bitbake -k tar-native || true
+    bitbake --runall=fetch ${TARGETIMAGE} -k || true
     popd
 done
 
index 7da1343..6269c39 100644 (file)
@@ -8,6 +8,6 @@ set -e
 export RSYNCSRC="$(pwd)/mirror/"
 export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/"
 
-echo " rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "
+rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST
 
 exit 0
\ No newline at end of file