blob: 65c3dbadecefbcefb514915722671613fff50093 [file] [log] [blame]
Tomás Gonzálezfaf116c2025-01-28 09:58:01 +00001#!/bin/bash
2
3set -xe
4
5pip install -U tuxput
6# The build stage of this job has generated some artifacts under artefacts-lava.
7# Use tpcli and the "upload" URL to upload these artifacts to the S3 bucket.
8# tpcli seems to only accept files that are in the current directory, therefore cd into artefacts-lava.
9cd ${WORKSPACE}/artefacts-lava
10/home/buildslave/.local/bin/tpcli -t ${TUXPUT_ARCHIVE_TOKEN} -b trustedfirmware-prod-storage "$URL_FIP" fip.bin
11/home/buildslave/.local/bin/tpcli -t ${TUXPUT_ARCHIVE_TOKEN} -b trustedfirmware-prod-storage "$URL_BL1" bl1.bin
12cd -