Skip to content

Commit f448a48

Browse files
committed
ci: move to IT managed AWS self hosted runners
IT provides a new set of AWS self hosted runners, both amd64 and arm64 with the following tags: runs-on: [self-hosted, qcom-u2404, amd64-dev] runs-on: [self-hosted, qcom-u2404, arm64-dev] Note: '-dev' is a temporary tag to test a new type of runner with local SSD. Unlike with the previous builders, the container image is a vanilla ubuntu image, this patch introduces changes to use the KAS container image to run the build pipeline. Some adjustments are made to accomodate this image. Signed-off-by: Nicolas Dechesne <[email protected]>
1 parent bb3e050 commit f448a48

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_call:
55

66
env:
7-
CACHE_DIR: /srv/gh-runners/quic-yocto/3rdparty
87
BASE_ARTIFACT_URL: "https://quic-yocto-fileserver-1029608027416.us-central1.run.app/${{ github.run_id }}"
98
MANIFEST_URL: https://github.com/quic-yocto/qcom-manifest
109
MANIFEST_BRANCH: qcom-linux-scarthgap
@@ -30,7 +29,12 @@ jobs:
3029
bsp: base
3130
- machine: qcs8300-ride-sx
3231
bsp: base
33-
runs-on: [self-hosted, x86]
32+
runs-on: [self-hosted, qcom-u2404, amd64-dev]
33+
container:
34+
image: ghcr.io/siemens/kas/kas
35+
volumes:
36+
- /efs/qli/meta-qcom-3rdparty:/cache
37+
options: --privileged
3438
steps:
3539
- uses: actions/checkout@v4
3640

@@ -44,13 +48,16 @@ jobs:
4448
4549
- name: Setup workspace
4650
run: |
51+
# install repo
52+
sudo sed -i 's/Components: main/Components: main contrib/' /etc/apt/sources.list.d/debian.sources
53+
sudo apt update && sudo apt install repo
4754
mkdir QLI
4855
cd QLI
4956
repo init -u ${MANIFEST_URL} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILE}
5057
repo sync
51-
mkdir -p ${CACHE_DIR}/{downloads,sstate-cache}
52-
ln -s ${CACHE_DIR}/downloads
53-
ln -s ${CACHE_DIR}/sstate-cache
58+
mkdir -p /cache/{downloads,sstate-cache}
59+
ln -s /cache/downloads
60+
ln -s /cache/sstate-cache
5461
5562
- name: Build QLI
5663
run: |

0 commit comments

Comments
 (0)