-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running all jobs on IRIS with NFS mount
Make Boot and Test jobs require more attention. Make Boot currently hangs on completion, requiring a timeout and zip file check to successfully end job. Running tests on IRIS takes 3.5X as long. Running all jobs on IRIS with NFS mount, and removing jobs/scripts related to S3 or rclone Make Boot and Test jobs require more attention. Make Boot currently hangs on completion, requiring a timeout and zip file check to successfully end job. Running tests on IRIS seem to take 3.5X as long.
- Loading branch information
Shihab Suliman
committed
May 2, 2024
1 parent
15738c8
commit 76f8824
Showing
12 changed files
with
98 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,46 @@ | ||
on: | ||
workflow_call: | ||
secrets: | ||
VIVADO_S3_ACCESS_KEY_ID: | ||
required: true | ||
VIVADO_S3_SECRET_ACCESS_KEY: | ||
required: true | ||
|
||
jobs: | ||
make_zpkg: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
app: [ | ||
"PandABox-no-fmc", | ||
"PandABox-fmc_24vio", | ||
"PandABox-fmc_acq427", | ||
"PandABox-fmc_acq430", | ||
"PandABox-fmc_lback-sfp_lback", | ||
"ZedBoard-no-fmc", | ||
] | ||
runs-on: ubuntu-latest | ||
"PandABox-no-fmc", | ||
"PandABox-fmc_24vio", | ||
"PandABox-fmc_acq427", | ||
"PandABox-fmc_acq430", | ||
"PandABox-fmc_lback-sfp_lback", | ||
"ZedBoard-no-fmc", | ||
] | ||
runs-on: | ||
group: iris_runners | ||
container: | ||
image: docker.io/shihabdls/pandablocks-container-extension:v2.5 | ||
options: --privileged | ||
|
||
steps: | ||
# Necessary to find action.yml | ||
- name: Checkout Source | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: repos/PandABlocks-fpga | ||
fetch-depth: 0 | ||
|
||
# Run action.yml | ||
- name: Checkout and install rclone | ||
uses: ./.github/actions/setupenv | ||
|
||
# S3 bucket | ||
- name: Mount Vivado S3 bucket | ||
run: sudo bash PandABlocks-fpga/.github/scripts/mount-s3-bucket.sh ${{ secrets.VIVADO_S3_ACCESS_KEY_ID }} ${{ secrets.VIVADO_S3_SECRET_ACCESS_KEY }} | ||
|
||
# Get container image | ||
- name: login to github container registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Checkout rootfs, give perms, and adjust path | ||
uses: ./repos/PandABlocks-fpga/.github/actions/setupenv | ||
|
||
# Mount in rclone bucket from runner into conatiner | ||
# Make zpkgs | ||
- name: build carrier_ip and zpkg | ||
id: make_zpkg | ||
run: | | ||
docker pull ghcr.io/pandablocks/pandablocks-dev-container:latest | ||
docker run \ | ||
--net=host \ | ||
-v "${{ github.workspace }}:/repos" \ | ||
-v "${{ github.workspace }}/build:/build" \ | ||
-v "/scratch/Xilinx:/scratch/Xilinx" \ | ||
ghcr.io/pandablocks/pandablocks-dev-container:latest\ | ||
/bin/bash -c \ | ||
"cd PandABlocks-fpga && ln -s CONFIG.example CONFIG && make carrier_ip APP_NAME=${{ matrix.app }} && make zpkg APP_NAME=${{ matrix.app }} " | ||
cd repos/PandABlocks-fpga && ln -s CONFIG.example CONFIG && make WORK_DIR=/__w/PandABlocks-FPGA/PandABlocks-FPGA/repos/PandABlocks-rootfs carrier_ip APP_NAME=${{ matrix.app }} && make zpkg APP_NAME=${{ matrix.app }} | ||
exit | ||
# Artifacts | ||
- name: Upload zpkg | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: zpkgs | ||
path: ./build/panda-fpga@*.zpg | ||
path: /build/panda-fpga@*.zpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.