aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-03-23 10:21:55 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-03-23 10:21:55 +0000
commit5460b61cfb7fb3651030c1ca27a3caab7f5df8a5 (patch)
treeea46e60f05e54c0de414f3281a4be78935c8aa1a
parent5334ca57b6f90b1cf248857f6936b81d60d465b0 (diff)
SPEC-3414: start to use agl-publish
Start to use agl-publish for verifying metadata are correctly filled. (Fix also a typo in qemux86-64) Change-Id: I181e2230940b8bb7094674e9de97f51407018ee1 Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--jjb/common/include-agl-kci-publish-build-meta.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/jjb/common/include-agl-kci-publish-build-meta.sh b/jjb/common/include-agl-kci-publish-build-meta.sh
index 8af4ecf2..cc2f700b 100644
--- a/jjb/common/include-agl-kci-publish-build-meta.sh
+++ b/jjb/common/include-agl-kci-publish-build-meta.sh
@@ -34,7 +34,7 @@ kci-publish() {
qemuarm)
TARGETARCH="arm"
;;
- qemux86_64)
+ qemux86-64)
TARGETARCH="x86_64"
;;
raspberrypi4)
@@ -55,12 +55,19 @@ kci-publish() {
echo "DEBUG: commit $DIST_BUILD_HASH"
echo "DEBUG: arch $TARGETARCH"
echo "DEBUG: branch $GERRIT_BRANCH"
- return 0
- ./utils/agl-publish.py --machine ${TARGETMACHINE} \
+
+ $RELENG/utils/agl-publish.py --machine ${TARGETMACHINE} \
--build_version $BUILD_VERSION \
--commit $DIST_BUILD_HASH \
--arch $TARGETARCH \
--branch $GERRIT_BRANCH
+ # DEBUG purpose, verify what is uploaded
+ if [ -e agl-build-meta ];then
+ find agl-build-meta -type f | xargs cat
+ else
+ echo "ERROR: no agl-build-meta directory"
+ fi
+ return 0
}
kci-publish