else
export DISTROBRANCH="${GERRIT_BRANCH}"
fi
-#if test ! x"" = x"${RELEASE_BRANCH}"; then
-# export DISTROBRANCH="$RELEASE_BRANCH"
-#fi
-#limit parallel number of bitbake jobs and parallel jobs in make
cat << EOF >> conf/auto.conf
PREMIRRORS = "\
git://.*/.* ${DLHOST}/AGL/mirror/ \n \
https://.*/.* ${DLHOST}/AGL/mirror/ \n \
"
+EOF
+ "
+if test x"YES" != x"${DISABLE_SSTATE_MIRROR}" ; then
+
+cat << EOF >> conf/auto.conf
SSTATE_MIRRORS = " \
file://.* ${DLHOST}/sstate-mirror/${DISTROBRANCH}/\${DEFAULTTUNE}/PATH \n \
"
IMAGE_FSTYPES_remove = "ext3"
SSTATE_DIR = "\${TOPDIR}/sstate-cache/\${MACHINE}/"
EOF
+
+fi
\ No newline at end of file
name: BUILDONLY
default: ignore
description: "build only specified machine"
+ - string:
+ name: DISABLE_SSTATE_MIRROR
+ default: ignore
+ description: "Set to YES to disable sstate-mirror"
axes:
- axis:
type: user-defined
triggers:
- gerrit-trigger-patch-submitted-silent:
name: 'AGL/AGL-repo'
- branch: 'tags/guppy/**'
+ branch: 'regs/tags/guppy/**'
wrappers:
- agl-infra-wrappers: