blob: 93f0ed3463871cb33b671b8b6df6368e9e85444b [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
Saheer Babu19387ac2025-02-25 16:00:17 +000010/home/buildslave/.local/bin/tpcli -t ${TUXPUT_ARCHIVE_TOKEN} -b ${TUXPUB_S3_BUCKET} "$URL_FIP" fip.bin
11/home/buildslave/.local/bin/tpcli -t ${TUXPUT_ARCHIVE_TOKEN} -b ${TUXPUB_S3_BUCKET} "$URL_BL1" bl1.bin
Tomás Gonzálezfaf116c2025-01-28 09:58:01 +000012cd -