aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-04-09 12:07:34 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-04-09 12:07:34 +0000
commit972acec5432f9615b61390afa2fda207c7625133 (patch)
treeabc0c19e5c1b350fac6af4c08a1875c5d23850a6
parent509d6162e743f6fcc36d34445bdb332acc103807 (diff)
SPEC-3414: provide file server resource option
Use the new --fsr option of agl-publish. Change-Id: If22ea48de0eeb72267b243f88cdd57c81e76f046 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--jjb/common/include-agl-kci-publish-build-meta.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/common/include-agl-kci-publish-build-meta.sh b/jjb/common/include-agl-kci-publish-build-meta.sh
index 5a79524a..b4dec252 100644
--- a/jjb/common/include-agl-kci-publish-build-meta.sh
+++ b/jjb/common/include-agl-kci-publish-build-meta.sh
@@ -12,23 +12,27 @@ kci-publish() {
fi
echo "DEBUG: GERRIT_PROJECT $GERRIT_PROJECT"
+ FSR=""
# check GERRIT_PROJECT to find if we build an app or not
if echo $GERRIT_PROJECT |grep -q apps ;then
# for app
BUILD_VERSION="AGL-app-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER"
KERNEL_VERSION="$BUILD_VERSION"
echo "APP: $BUILD_VERSION $KERNEL_VERSION"
+ FSR="AGL/snapshots/$GERRIT_BRANCH/latest/$TARGETMACHINE"
else
if [ -z "$RELEASE_BRANCH" ];then
# for CI
BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER"
KERNEL_VERSION="$DIST_BUILD_TOPIC"
echo "CI: $BUILD_VERSION $KERNEL_VERSION"
+ FSR="AGL/upload/ci/$GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER/$TARGETMACHINE"
else
# for release
BUILD_VERSION="AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION"
KERNEL_VERSION="$DIST_BB_DISTRO_VERSION"
echo "RELEASE: $BUILD_VERSION $KERNEL_VERSION"
+ FSR="AGL/release/$RELEASE_BRANCH/$RELEASE_VERSION/$TARGETMACHINE"
fi
fi
@@ -72,6 +76,7 @@ kci-publish() {
--build_version $BUILD_VERSION \
--commit $DIST_BUILD_HASH \
--arch $TARGETARCH \
+ --fsr $FSR \
--branch $GERRIT_BRANCH \
--kernel_version $KERNEL_VERSION \
--api http://kernelci.dev.baylibre.com:8081/