Tomás González | faf116c | 2025-01-28 09:58:01 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -xe |
| 4 | |
| 5 | pip 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. |
| 9 | cd ${WORKSPACE}/artefacts-lava |
Saheer Babu | 19387ac | 2025-02-25 16:00:17 +0000 | [diff] [blame] | 10 | /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ález | faf116c | 2025-01-28 09:58:01 +0000 | [diff] [blame] | 12 | cd - |