|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 2/3] automation: add binaries/ to artifacts for Yocto jobs
From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Copy the build output of Yocto builds to binaries/ and export binaries/
among the jobs artifacts so that they can be reused by other jobs.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
---
automation/build/yocto/build-yocto.sh | 6 ++++++
automation/gitlab-ci/build.yaml | 1 +
2 files changed, 7 insertions(+)
diff --git a/automation/build/yocto/build-yocto.sh
b/automation/build/yocto/build-yocto.sh
index 3601cebc3c..d0fcaacf06 100755
--- a/automation/build/yocto/build-yocto.sh
+++ b/automation/build/yocto/build-yocto.sh
@@ -166,6 +166,10 @@ function project_build() {
source "${YOCTODIR}/poky/oe-init-build-env" "${destdir}"
bitbake "${build_image}" || exit 1
+ mkdir -p $OUTPUT
+ cp $BUILDDIR/tmp/deploy/images/qemuarm/zImage $OUTPUT
+ cp $BUILDDIR/tmp/deploy/images/qemuarm/xen-qemuarm $OUTPUT
+ cp
$BUILDDIR/tmp/deploy/images/qemuarm/xen-image-minimal-qemuarm.tar.bz2 $OUTPUT
) || return 1
}
@@ -238,6 +242,8 @@ Options:
EOF
}
+OUTPUT=`pwd`/binaries
+
for OPTION in "$@"
do
case ${OPTION} in
diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
index f62cf21f45..d4a2aa9a5b 100644
--- a/automation/gitlab-ci/build.yaml
+++ b/automation/gitlab-ci/build.yaml
@@ -215,6 +215,7 @@
artifacts:
paths:
- 'logs/*'
+ - binaries/
when: always
needs: []
--
2.25.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |