Skip to content

Commit a200bdb

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. As well updated the AWS EC2 Runner label as: ["self-hosted", "qcom-stg-u2404", "arm64"] ["self-hosted", "qcom-stg-u2404", "amd64"] Signed-off-by: Satish Mhaske <[email protected]>
1 parent e0f42ec commit a200bdb

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
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/build-overlay-deb.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
arch: [amd64, arm64]
16-
runs-on: [self-hosted, qcom-u2404, "${{ matrix.arch }}"]
16+
runs-on: [self-hosted, qcom-stg-u2404, "${{ matrix.arch }}"]
1717
container:
1818
image: public.ecr.aws/debian/debian:trixie
1919
options: --privileged # Required for chroot creation
@@ -89,8 +89,8 @@ jobs:
8989
sudo -u builder python3 scripts/build-deb.py \
9090
--config "${{ inputs.config }}" --output-dir upload
9191
92-
- name: Upload as private artifacts
93-
uses: qualcomm-linux/upload-private-artifact-action@v1
94-
with:
95-
path: upload
92+
# - name: Upload as private artifacts
93+
# uses: qualcomm-linux/upload-private-artifact-action@v1
94+
# with:
95+
# path: upload
9696

.github/workflows/debos.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: Build and upload debos recipes
3838
outputs:
3939
url: ${{ steps.upload_artifacts.outputs.url }}
40-
runs-on: [self-hosted, qcom-u2404, arm64]
40+
runs-on: [self-hosted, qcom-stg-u2404, arm64]
4141
container:
4242
image: public.ecr.aws/debian/debian:trixie
4343
volumes:
@@ -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: 11 additions & 11 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,11 +29,11 @@ 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/awsRunner'
3333
# for cross-builds
34-
runs-on: [self-hosted, qcom-u2404, amd64]
34+
runs-on: [self-hosted, qcom-stg-u2404, amd64]
3535
# alternative for native builds, but overkill to do both
36-
#runs-on: [self-hosted, qcom-u2404, arm64]
36+
#runs-on: [self-hosted, qcom-stg-u2404, arm64]
3737
container:
3838
image: public.ecr.aws/debian/debian:trixie
3939
volumes:
@@ -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

.github/workflows/u-boot.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Build U-Boot for RB1
22

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

@@ -26,11 +26,11 @@ concurrency:
2626
jobs:
2727
build-u-boot-rb1:
2828
# don't run cron from forks of the main repository or from other branches
29-
if: github.repository == 'qualcomm-linux/qcom-deb-images' && github.ref == 'refs/heads/main'
29+
#if: github.repository == 'qualcomm-linux-stg/qcom-deb-images' && github.ref == 'refs/heads/main'
3030
# for cross-builds
31-
runs-on: [self-hosted, qcom-u2404, amd64]
31+
runs-on: [self-hosted, qcom-stg-u2404, amd64]
3232
# alternative for native builds, but overkill to do both
33-
#runs-on: [self-hosted, qcom-u2404, arm64]
33+
#runs-on: [self-hosted, qcom-stg-u2404, arm64]
3434
container:
3535
image: public.ecr.aws/debian/debian:trixie
3636
volumes:
@@ -90,9 +90,9 @@ jobs:
9090
# perhaps help NFS sync
9191
sync
9292
93-
- name: Upload private artifacts
94-
uses: qualcomm-linux/upload-private-artifact-action@v1
95-
id: upload_artifacts
96-
with:
97-
path: artifacts
93+
# - name: Upload private artifacts
94+
# uses: qualcomm-linux/upload-private-artifact-action@v1
95+
# id: upload_artifacts
96+
# with:
97+
# path: artifacts
9898

0 commit comments

Comments
 (0)