Skip to content

Commit 7e950f5

Browse files
authored
Update debos-aws.yml to check S3 as workspace
Signed-off-by: Satish Mhaske <[email protected]>
1 parent 9114633 commit 7e950f5

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/debos-aws.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,21 @@ defaults:
2323
run:
2424
working-directory: debos-recipes
2525

26-
#env:
27-
# FILESERVER_URL: https://quic-yocto-fileserver-1029608027416.us-central1.run.app
28-
2926
# cancel in progress builds for this workflow triggered by the same ref
3027
concurrency:
3128
group: ${{ github.workflow }}-${{ github.ref }}
3229
cancel-in-progress: true
3330

3431
jobs:
3532
build-debos:
36-
runs-on:
37-
- codebuild-QualcommLinux-Arm64-${{ github.run_id }}-${{ github.run_attempt }}
38-
- buildspec-override:true #This tells our self-hosted runner to upload artifactscontainer:
33+
runs-on:
34+
- codebuild-QualcommLinux-Arm64-S3-${{ github.run_id }}-${{ github.run_attempt }}
35+
- instance-size:arm1.medium
36+
- buildspec-override:true # This tells our self-hosted runner to upload artifacts
3937
container:
4038
image: public.ecr.aws/docker/library/debian:trixie
4139
volumes:
42-
- /efs/qualcomm-linux/qcom-deb-images:/fileserver-builds
40+
- /s3efs/qli/metaqcom/gh-runners/quic-yocto/builds:/fileserver-builds
4341
options: --privileged
4442
steps:
4543
- uses: actions/checkout@v4
@@ -76,7 +74,7 @@ jobs:
7674
# build flashable files
7775
debos qualcomm-linux-debian-flash.yaml
7876
79-
- name: Upload artifacts to fileserver
77+
- name: Stage image for publishing
8078
run: |
8179
set -x
8280
# curl will be used to talk to fileserver; should be installed by
@@ -88,14 +86,11 @@ jobs:
8886
# create a directory for the current run
8987
dir="/fileserver-builds/${id}"
9088
mkdir -vp "${dir}"
91-
# copy output files
89+
90+
# Files placed under ${dir} will be published internally
9291
cp -av rootfs.tar.gz "${dir}"
9392
cp -av dtbs.tar.gz "${dir}"
9493
cp -av disk-ufs.img.gz "${dir}"
9594
cp -av disk-sdcard.img.gz "${dir}"
9695
tar -cvf "${dir}"/flash.tar.gz disk-ufs.img1 disk-ufs.img2 flash_*
97-
# instruct fileserver to publish this directory
98-
url="${FILESERVER_URL}/${id}/"
99-
echo "Image Location : $url"
100-
# curl -X POST -H 'Accept: text/event-stream' "${url}"
10196

0 commit comments

Comments
 (0)