-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refer to the original PR: #3413 Adds default timeouts for build jobs, to prevent hang bugs from consuming all resources. b/343787224 Co-authored-by: Kaido Kert <[email protected]>
- Loading branch information
1 parent
5429e94
commit fd14399
Showing
3 changed files
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ jobs: | |
github.event.label.name == 'runtest' || | ||
github.event.label.name == 'on_device' | ||
) | ||
timeout-minutes: 10 | ||
steps: | ||
- id: checkout | ||
uses: kaidokert/[email protected] | ||
|
@@ -148,6 +149,7 @@ jobs: | |
runs-on: [self-hosted, linux-runner] | ||
permissions: | ||
packages: write | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout files | ||
uses: kaidokert/[email protected] | ||
|
@@ -184,6 +186,7 @@ jobs: | |
permissions: | ||
packages: write | ||
runs-on: [self-hosted, linux-runner] | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout files | ||
uses: kaidokert/[email protected] | ||
|
@@ -231,6 +234,7 @@ jobs: | |
# However, dind container ends up having / folder mounted on overlay | ||
# filesystem, whereas /__w which contains Cobalt source code is on tmpfs. | ||
TMPDIR: /__w/_temp | ||
timeout-minutes: 60 | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
|
@@ -367,6 +371,7 @@ jobs: | |
HOME: /root | ||
COBALT_EVERGREEN_LOADER: ${{needs.initialize.outputs.evergreen_loader}} | ||
MODULAR_BUILD: ${{ inputs.modular && 1 || 0 }} | ||
timeout-minutes: 90 | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
|
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 |
---|---|---|
|
@@ -61,6 +61,7 @@ jobs: | |
github.event.label.name == 'runtest' || | ||
github.event.label.name == 'on_device' | ||
) | ||
timeout-minutes: 10 | ||
steps: | ||
- id: Checkout | ||
uses: kaidokert/[email protected] # Temporary version | ||
|
@@ -133,6 +134,7 @@ jobs: | |
permissions: | ||
packages: write | ||
runs-on: windows-2019 | ||
timeout-minutes: 120 | ||
steps: | ||
- name: Checkout files | ||
uses: kaidokert/[email protected] | ||
|
@@ -167,6 +169,7 @@ jobs: | |
platform: ${{ fromJson(needs.initialize.outputs.platforms) }} | ||
include: ${{ fromJson(needs.initialize.outputs.includes) }} | ||
config: [devel, debug, qa, gold] | ||
timeout-minutes: 90 | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
|
@@ -204,6 +207,7 @@ jobs: | |
include: ${{ fromJson(needs.initialize.outputs.includes) }} | ||
env: | ||
MODULAR_BUILD: ${{ inputs.modular && 1 || 0 }} | ||
timeout-minutes: 90 | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ jobs: | |
python-version: ['3.8', '3.11'] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
|