From: Corentin LABBE Date: Tue, 23 Mar 2021 10:21:55 +0000 (+0000) Subject: SPEC-3414: start to use agl-publish X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F26196%2F1;p=ci-management.git 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 --- 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