Skip to content

Commit 452a1c9

Browse files
committed
Testing a New Codebuild project
1 parent 3fd0550 commit 452a1c9

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/debos-aws.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name: Build debos recipe in AWS
22

33
on:
4+
# allow manual runs
5+
workflow_dispatch:
6+
47
# run on pull requests to the main branch
58
pull_request:
69
branches: [main]
710
# run on pushes to the main branch
811
push:
912
branches: [main]
1013
# run daily at 8:30am
11-
schedule:
12-
- cron: '30 8 * * *'
13-
# allow manual runs
14-
workflow_dispatch:
14+
#schedule:
15+
# - cron: '30 8 * * *'
16+
1517
# only need permission to read repository; implicitely set all other
1618
# permissions to none
1719
permissions:
@@ -24,8 +26,8 @@ defaults:
2426

2527
env:
2628
BUILD_ID: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}
27-
FILESERVER_DIR: /efs/qli/metaqcom/gh-runners/quic-yocto/builds
28-
FILESERVER_URL: "https://artifactory-qdc-global.qualcomm.com/artifactory/pdlm-qcomlinux-generic-lv-fed/QualcommLinuxPrd/qualcomm-linux/meta-qcom/${BUILD_ID}"
29+
FILESERVER_DIR: /efs/${{ github.repository }}
30+
FILESERVER_URL: "https://artifactory-qdc-global.qualcomm.com/artifactory/pdlm-qcomlinux-generic-lv-fed/QualcommLinuxPrd"
2931

3032
# cancel in progress builds for this workflow triggered by the same ref
3133
concurrency:
@@ -35,12 +37,13 @@ concurrency:
3537
jobs:
3638
build-debos-aws:
3739
runs-on:
38-
- codebuild-QualcommLinux-Qcom-Deb-${{ github.run_id }}-${{ github.run_attempt }}
40+
- codebuild-QualcommLinux-Arm64-${{ github.run_id }}-${{ github.run_attempt }}
3941
- buildspec-override:true # This tells our self-hosted runner to upload artifacts
4042
container:
4143
image: public.ecr.aws/docker/library/debian:trixie
4244
volumes:
43-
- /efs/qli/metaqcom/gh-runners/quic-yocto/builds:/efs/qli/metaqcom/gh-runners/quic-yocto/builds
45+
# - /efs/qli/metaqcom/gh-runners/quic-yocto/builds:/efs/qli/metaqcom/gh-runners/quic-yocto/builds
46+
- /efs/${{ github.repository }}
4447
steps:
4548
- uses: actions/checkout@v4
4649
with:
@@ -78,4 +81,4 @@ jobs:
7881
mkdir -vp "${dir}"
7982
# Files placed under ${dir} will be published internally
8083
cp -v disk.img "${dir}"
81-
84+

0 commit comments

Comments
 (0)