Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

jobs:
build-daily:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

jobs:
build-pr:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

jobs:
build-daily:
Expand Down
26 changes: 8 additions & 18 deletions .github/workflows/debos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ on:
# permissions to none
permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

env:
# github runs are only unique per repository and may also be re-run; create a
# build id for the current run
BUILD_ID: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }}
FILESERVER_URL: https://quic-yocto-fileserver-1029608027416.us-central1.run.app

# cancel in progress builds for this workflow triggered by the same ref
concurrency:
Expand Down Expand Up @@ -93,16 +86,11 @@ jobs:
debos -t u_boot_rb1:rb1-boot.img \
debos-recipes/qualcomm-linux-debian-flash.yaml

- name: Upload artifacts to fileserver space for builds
id: upload_artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Stage build artifacts for publishing
run: |
set -ux
# python3-requests is used by publish_aritfacts.py
apt -y install python3-requests
# create a directory for the current run
export BUILD_DIR="/tmp/${BUILD_ID}"
BUILD_DIR="./uploads"
mkdir -vp "${BUILD_DIR}"
# copy output files
cp -av rootfs.tar.gz "${BUILD_DIR}"
Expand All @@ -118,7 +106,9 @@ jobs:
disk-sdcard.img1 \
disk-sdcard.img2 \
flash_rb1*
# instruct fileserver to publish this directory
export URL="${FILESERVER_URL}/${BUILD_ID}/"
.github/workflows/publish_artifacts.py
echo Image available at: ${URL}

- name: Upload private artifacts
uses: qualcomm-linux/upload-private-artifact-action@v1
id: upload_artifacts
with:
path: ./uploads
1 change: 0 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
# permissions to none
permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

env:
# where results will be posted/hosted
Expand Down
111 changes: 0 additions & 111 deletions .github/workflows/publish_artifacts.py

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/u-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
# permissions to none
permissions:
contents: read
security-events: read # This is required to handle authentication to our artifact publishing API

env:
# where results will be posted/hosted
Expand Down
Loading