Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase step timeout to 10h for snaps and 13h for debs build (infra) #1059

Merged
merged 3 commits into from
Mar 13, 2024
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
5 changes: 4 additions & 1 deletion .github/workflows/checkbox-core-snap-daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
matrix:
releases: [16, 18, 20, 22]
arch: [amd64, arm64, armhf]
runs-on: [self-hosted, linux, large]
runs-on: [self-hosted, linux, small]
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts
env:
SERIES: series${{ matrix.releases }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT7_CREDS }}
Expand Down Expand Up @@ -38,6 +39,7 @@ jobs:
echo "Building at: https://git.launchpad.net/~ce-certification-qa/+snap/$SNAPCRAFT_BUILDER_ID"
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0
name: Build the snap
timeout-minutes: 600 # 10hours
with:
action: Hook25/action-build@707dce252c4f367b6c1afe61ed577f7413cf7912
attempt_delay: 600000 # 10min
Expand All @@ -62,6 +64,7 @@ jobs:
path: checkbox-core-snap/series${{ matrix.releases }}/*.snap
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0
name: Upload the snap to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/checkbox-snap-daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
matrix:
type: [classic, uc]
releases: [16, 18, 20, 22]
runs-on: [self-hosted, linux, large]
runs-on: [self-hosted, linux, small]
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts
env:
SERIES: series_${{ matrix.type }}${{ matrix.releases }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT7_CREDS }}
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
echo "Building at: https://git.launchpad.net/~ce-certification-qa/+snap/$SNAPCRAFT_BUILDER_ID"
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0
name: Building the snaps
timeout-minutes: 600 # 10hours
with:
action: Hook25/action-build@707dce252c4f367b6c1afe61ed577f7413cf7912
attempt_delay: 600000 # 10min
Expand All @@ -64,6 +66,7 @@ jobs:
path: checkbox-snap/series_${{ matrix.type }}${{ matrix.releases }}/*.snap
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0
name: Upload the snaps to the store
timeout-minutes: 600 # 10hours
with:
attempt_delay: 600000 # 10min
attempt_limit: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
check_for_commits:
runs-on: [self-hosted, linux, large]
runs-on: [self-hosted, linux, small]
name: Check for commits
outputs:
new_commit_count: ${{ steps.commit_check.outputs.new_commit_count }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deb-daily-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
jobs:
ppa_update:
name: Sync PPA history with monorepo
runs-on: [self-hosted, linux, large]
runs-on: [self-hosted, linux, small]
timeout-minutes: 1200 #20h, this will timeout sooner due to inner timeouts
steps:
- name: Install dependencies
run: |
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
tools/release/lp_update_recipe.py checkbox --recipe ${{ matrix.recipe }} --new-version $(tools/release/get_version.py --dev-suffix --output-format deb) --revision $GITHUB_SHA
- uses: Wandalen/wretry.action@a163f62ae554a8f3cbe27b23db15b60c0ae2e93c # v1.3.0
name: Build and wait result
timeout-minutes: 780 # 13hours
env:
LP_CREDENTIALS: ${{ secrets.LP_CREDS }}
PYTHONUNBUFFERED: 1
Expand Down
Loading