Skip to content

Commit f45fcf2

Browse files
committed
ci: build-yocto: download the kas-container
Download the latest stable kas-container helper script to get way of the kas package dependency on the host machine. Signed-off-by: Jose Quaresma <[email protected]>
1 parent 1ff122e commit f45fcf2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-yocto.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@ on:
1010
env:
1111
CACHE_DIR: /srv/gh-runners/quic-yocto
1212
KAS_REPO_REF_DIR: /srv/gh-runners/quic-yocto/kas-mirrors
13+
KAS_CONTAINER: /srv/gh-runners/quic-yocto/kas-mirrors/kas-container
1314

1415
jobs:
1516
kas-setup:
1617
if: github.repository == 'qualcomm-linux/meta-qcom'
1718
runs-on: [self-hosted, x86]
1819
steps:
20+
- name: Update kas-container
21+
run: |
22+
LATEST=$(git ls-remote --tags --refs --sort="v:refname" https://github.com/siemens/kas | tail -n1 | sed 's/.*\///')
23+
wget -qO ${KAS_CONTAINER} https://raw.githubusercontent.com/siemens/kas/refs/tags/$LATEST/kas-container
24+
chmod +x ${KAS_CONTAINER}
25+
1926
- name: Update kas mirrors
2027
run: |
2128
for r in $(find ${KAS_REPO_REF_DIR}/* -maxdepth 0 -type d); do

0 commit comments

Comments
 (0)