From 5460b61cfb7fb3651030c1ca27a3caab7f5df8a5 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 23 Mar 2021 10:21:55 +0000 Subject: [PATCH] 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 --- jjb/common/include-agl-kci-publish-build-meta.sh | 13 ++++++++++--- 1 file 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 -- 2.16.6