Skip to content

Commit 9c307eb

Browse files
committed
ci: upload built toolchain to cloud
Signed-off-by: Anas Nashif <[email protected]>
1 parent 538b662 commit 9c307eb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.shippable.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,19 @@ build:
3131
- sudo apt-get install -y libreadline-dev gperf flex bison libncurses5-dev texinfo help2man
3232
- unset CC
3333
- ./go.sh ${TARGET}
34+
- >
35+
if [ "$IS_PULL_REQUEST" = "false" ]; then
36+
sudo -E sh -c 'echo "IS_GIT_TAG=${IS_GIT_TAG}" >> $JOB_STATE/sdk.env';
37+
sudo -E sh -c 'echo "IS_RELEASE=${IS_RELEASE}" >> $JOB_STATE/sdk.env';
38+
sudo -E sh -c 'echo "IS_PRERELEASE=${IS_PRERELEASE}" >> $JOB_STATE/sdk.env';
39+
sudo -E sh -c 'echo "GIT_TAG_NAME=${GIT_TAG_NAME}" >> $JOB_STATE/sdk.env';
40+
cat $JOB_STATE/sdk.env;
41+
tar jcvf ${TARGET}.tar.bz2 build/output/*-zephyr-*
42+
export S3_PATH="s3://incoming.zephyrproject.org/sdk-ng/${SDKNG_CIREPO_VERSIONNUMBER}";
43+
aws s3 sync ${TARGET}.tar.bz2 ${S3_PATH}/;
44+
fi
3445
- ccache -s
46+
integrations:
47+
generic:
48+
- integrationName: aws_s3_simple
49+

0 commit comments

Comments
 (0)