mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-30 02:34:14 +03:00
CI: Change timeout values
The 'Setup QEMU' CI step updates and installs all packages necessary to startup QEMU. Typically the step takes a little over a minute, but we've seen cases where it can take legitimately take more than 45min minutes. Change the timeout to 60 minutes. In addition, change the 'Install dependencies' timeout to 60min since we've also seen timeouts there. Lastly, remove all timeouts from the zfs-qemu-packages workflow. We do this so that we can always build packages from a branch, even if the time it takes to do a CI step changes over time. It's ok to eliminate the timeouts from the zfs-qemu-packages completely since that workflow is only run manually. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #18056
This commit is contained in:
@@ -60,20 +60,16 @@ jobs:
|
|||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Setup QEMU
|
- name: Setup QEMU
|
||||||
timeout-minutes: 10
|
|
||||||
run: .github/workflows/scripts/qemu-1-setup.sh
|
run: .github/workflows/scripts/qemu-1-setup.sh
|
||||||
|
|
||||||
- name: Start build machine
|
- name: Start build machine
|
||||||
timeout-minutes: 10
|
|
||||||
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
|
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
timeout-minutes: 20
|
|
||||||
run: |
|
run: |
|
||||||
.github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }}
|
.github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }}
|
||||||
|
|
||||||
- name: Build modules or Test repo
|
- name: Build modules or Test repo
|
||||||
timeout-minutes: 60
|
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
if [ "${{ github.event.inputs.test_type }}" == "Test repo" ] ; then
|
if [ "${{ github.event.inputs.test_type }}" == "Test repo" ] ; then
|
||||||
@@ -94,7 +90,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare artifacts
|
- name: Prepare artifacts
|
||||||
if: always()
|
if: always()
|
||||||
timeout-minutes: 10
|
|
||||||
run: |
|
run: |
|
||||||
rsync -a zfs@vm0:/tmp/repo /tmp || true
|
rsync -a zfs@vm0:/tmp/repo /tmp || true
|
||||||
.github/workflows/scripts/replace-dupes-with-symlinks.sh /tmp/repo
|
.github/workflows/scripts/replace-dupes-with-symlinks.sh /tmp/repo
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Setup QEMU
|
- name: Setup QEMU
|
||||||
timeout-minutes: 10
|
timeout-minutes: 60
|
||||||
run: .github/workflows/scripts/qemu-1-setup.sh
|
run: .github/workflows/scripts/qemu-1-setup.sh
|
||||||
|
|
||||||
- name: Start build machine
|
- name: Start build machine
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
|
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
timeout-minutes: 20
|
timeout-minutes: 60
|
||||||
run: .github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }} ${{ github.event.inputs.fedora_kernel_ver }}
|
run: .github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }} ${{ github.event.inputs.fedora_kernel_ver }}
|
||||||
|
|
||||||
- name: Build modules
|
- name: Build modules
|
||||||
|
|||||||
Reference in New Issue
Block a user