Skip to content

Commit 625423e

Browse files
committed
workflows: fix name of build tarball for RB1
RB1 uses flash-emmc.tar.gz. So far test.yml had flash-ufs.tar.gz hardcoded. This patch moves the file name of the flash package to the respective LAVA template. Signed-off-by: Milosz Wasilewski <[email protected]>
1 parent 97040b1 commit 625423e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ jobs:
5656
FIND_PATH="${TARGET#*/}"
5757
DEVICE_TYPE_PATH="${FIND_PATH%/*}"
5858
DEVICE_TYPE="${DEVICE_TYPE_PATH#*/}"
59-
BUILD_FILE_NAME="flash-ufs.tar.gz"
60-
BUILD_DOWNLOAD_URL="${{inputs.url}}/${BUILD_FILE_NAME}"
59+
BUILD_DOWNLOAD_URL="${{inputs.url}}"
6160
sed -i "s|{{DEVICE_TYPE}}|${DEVICE_TYPE}|g" "${{ matrix.target }}"
6261
sed -i "s|{{GITHUB_SHA}}|${GITHUB_SHA}|g" "${{ matrix.target }}"
6362
sed -i "s|{{BUILD_DOWNLOAD_URL}}|${BUILD_DOWNLOAD_URL}|g" "${{ matrix.target }}"
64-
sed -i "s|{{BUILD_FILE_NAME}}|${BUILD_FILE_NAME}|g" "${{ matrix.target }}"
6563
sed -i "s|{{GITHUB_RUN_ID}}|${GITHUB_RUN_ID}|g" "${{ matrix.target }}"
6664
cat "${{ matrix.target }}"
6765

ci/lava/qcs6490-rb3gen2-core-kit/boot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ actions:
44
image:
55
headers:
66
Authentication: Q_GITHUB_TOKEN
7-
url: "{{BUILD_DOWNLOAD_URL}}"
7+
url: "{{BUILD_DOWNLOAD_URL}}/flash-ufs.tar.gz"
88
postprocess:
99
docker:
1010
image: ghcr.io/foundriesio/lava-lmp-sign:main
@@ -22,7 +22,7 @@ actions:
2222
- deploy:
2323
images:
2424
image:
25-
url: downloads://{{BUILD_FILE_NAME}}
25+
url: downloads://flash-ufs.tar.gz
2626
settings:
2727
url: downloads://flash.settings
2828
overlay:

ci/lava/qrb2210-rb1/boot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ actions:
44
image:
55
headers:
66
Authentication: Q_GITHUB_TOKEN
7-
url: "{{BUILD_DOWNLOAD_URL}}"
7+
url: "{{BUILD_DOWNLOAD_URL}}/flash-emmc.tar.gz"
88
postprocess:
99
docker:
1010
image: ghcr.io/foundriesio/lava-lmp-sign:main
@@ -23,7 +23,7 @@ actions:
2323
- deploy:
2424
images:
2525
image:
26-
url: downloads://{{BUILD_FILE_NAME}}
26+
url: downloads://flash-emmc.tar.gz
2727
settings:
2828
url: downloads://flash.settings
2929
overlay:

0 commit comments

Comments
 (0)