SPEC-3414: publish build on AGL's kernelCI 16/26316/3 origin/master
authorCorentin LABBE <clabbe@baylibre.com>
Tue, 4 May 2021 07:51:35 +0000 (07:51 +0000)
committerCorentin LABBE <clabbe@baylibre.com>
Wed, 23 Jun 2021 14:16:45 +0000 (14:16 +0000)
This patch duplicate the agl-publish call but with AGL's kernelCI API.
This patch needs AGL token to be added as secret on jenkins.

Change-Id: I624fd9336fe120968e096db07e3f191c538c02df
Bug-AGL: SPEC-3414
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
jjb/common/include-agl-kci-publish-build-meta.sh

index f8d8d89..885b8c9 100644 (file)
@@ -83,6 +83,15 @@ kci-publish() {
                --branch $GERRIT_BRANCH \
                --kernel_version $KERNEL_VERSION \
                --api http://kernelci.dev.baylibre.com:8081/
+
+       $RELENG/utils/agl-publish.py --machine ${TARGETMACHINE} \
+               --build_version $BUILD_VERSION \
+               --commit $DIST_BUILD_HASH \
+               --arch $TARGETARCH \
+               --fsr $FSR \
+               --branch $GERRIT_BRANCH \
+               --kernel_version $KERNEL_VERSION \
+               --api https://kernelci.automotivelinux.org:8081/
        # DEBUG purpose, verify what is uploaded
        if [ -e agl-build-meta ];then
                find agl-build-meta -type f | xargs cat