Skip to content

Commit 0ab0b36

Browse files
committed
ci: update pipeline now that go.sh creates tarballs
Update pipeline for changes to go.sh making tarballs of toolchains and where go.sh puts build.logs Signed-off-by: Kumar Gala <[email protected]>
1 parent 2d0e6e8 commit 0ab0b36

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.buildkite/pipeline-template.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,10 @@ steps:
4646
- ./go.sh $${TARGET}
4747
- >
4848
if [ $${TARGET} = "tools" ]; then
49-
buildkite-agent artifact upload zephyr-sdk-$MACHINE-hosttools-standalone-0.9.sh;
49+
buildkite-agent artifact upload zephyr-sdk-$MACHINE-hosttools-standalone-0.9.sh
5050
else
51-
cd build/output
52-
case "$${TARGET}" in
53-
xtensa_*)
54-
tar --exclude='build.log.bz2' -jcvf ../../$${TARGET}.$OS.$MACHINE.tar.bz2 xtensa/$${TARGET#xtensa_}/*-zephyr-*;
55-
buildkite-agent artifact upload xtensa/$${TARGET#xtensa_}/*-zephyr-*/build.log.bz2
56-
;;
57-
*)
58-
tar --exclude='build.log.bz2' -jcvf ../../$${TARGET}.$OS.$MACHINE.tar.bz2 *-zephyr-*;
59-
buildkite-agent artifact upload *-zephyr-*/build.log.bz2
60-
;;
61-
esac
62-
cd ../..
63-
buildkite-agent artifact upload $${TARGET}.$OS.$MACHINE.tar.bz2;
51+
buildkite-agent artifact upload build/output/build.$${TARGET}.$OS.$MACHINE.log.bz2
52+
buildkite-agent artifact upload $${TARGET}.$OS.$MACHINE.tar.bz2
6453
fi
6554
parallelism: 17
6655
env:

0 commit comments

Comments
 (0)