Skip to content

Commit 9eea38b

Browse files
committed
Validate Debian workflow on QLI-AMI
AWS runner will be setup with newly creted QLI-AMI and GH workflow needs validation for end to end testing, before we deploy this AMI in production. For validation, I have disable the CRON runs and as well upload artifacts to GCP. Signed-off-by: Satish Mhaske <[email protected]>
1 parent e0f42ec commit 9eea38b

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

.github/workflows/build-daily.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Daily Build
22

33
on:
44
# run daily at 8:30am
5-
schedule:
6-
- cron: '30 8 * * *'
5+
#schedule:
6+
# - cron: '30 8 * * *'
77
# allow manual runs
88
workflow_dispatch:
99

@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
build-daily:
1919
# don't run cron from forks of the main repository or from other branches
20-
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main'
20+
if: github.repository == 'qualcomm-linux-stg/qcom-deb-images' && github.ref == 'refs/heads/main'
2121
uses: ./.github/workflows/debos.yml
2222

2323
test-daily:

.github/workflows/debos.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ jobs:
144144
disk-sdcard.img2 \
145145
flash_qrb2210-*
146146
147-
- name: Upload private artifacts
148-
uses: qualcomm-linux/upload-private-artifact-action@v1
149-
id: upload_artifacts
150-
with:
151-
path: debos-artifacts
147+
# - name: Upload private artifacts
148+
# uses: qualcomm-linux/upload-private-artifact-action@v1
149+
# id: upload_artifacts
150+
# with:
151+
# path: debos-artifacts
152152

153153
- name: Unpack rootfs to generate SBOM
154154
run: mkdir -v rootfs && tar -C rootfs -xf rootfs.tar.gz
@@ -193,11 +193,11 @@ jobs:
193193
mkdir -v sboms
194194
cp -av rootfs-sbom.*.gz sboms
195195
196-
- name: Upload SBOMs as private artifacts
197-
uses: qualcomm-linux/upload-private-artifact-action@v1
198-
id: upload_sbom_artifacts
199-
with:
200-
path: sboms
196+
# - name: Upload SBOMs as private artifacts
197+
# uses: qualcomm-linux/upload-private-artifact-action@v1
198+
# id: upload_sbom_artifacts
199+
# with:
200+
# path: sboms
201201
- name: "Print output"
202202
env:
203203
build_url: ${{ steps.upload_artifacts.outputs.url }}

.github/workflows/linux.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build Linux kernel deb and debos image
22

33
on:
44
# run weekly on Monday at 8:30am
5-
schedule:
6-
- cron: '30 6 * * 1'
7-
# allow manual runs
5+
# schedule:
6+
# - cron: '30 6 * * 1'
7+
# # allow manual runs
88
workflow_dispatch:
99

1010
# implicitely set all other permissions to none
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
build-linux-deb:
3131
# don't run cron from forks of the main repository or from other branches
32-
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main'
32+
if: github.repository == 'qualcomm-linux-stg/qcom-deb-images' && github.ref == 'refs/heads/main'
3333
# for cross-builds
3434
runs-on: [self-hosted, qcom-u2404, amd64]
3535
# alternative for native builds, but overkill to do both
@@ -89,11 +89,11 @@ jobs:
8989
# perhaps help NFS sync
9090
sync
9191
92-
- name: Upload private artifacts
93-
uses: qualcomm-linux/upload-private-artifact-action@v1
94-
id: upload_artifacts
95-
with:
96-
path: artifacts
92+
# - name: Upload private artifacts
93+
# uses: qualcomm-linux/upload-private-artifact-action@v1
94+
# id: upload_artifacts
95+
# with:
96+
# path: artifacts
9797

9898
debos-mainline-linux:
9999
needs: build-linux-deb

0 commit comments

Comments
 (0)