Skip to content

Commit

Permalink
Set job timeout to a day
Browse files Browse the repository at this point in the history
Signed-off-by: Harkrishn Patro <[email protected]>
  • Loading branch information
hpatro committed Jan 9, 2025
1 parent d99457c commit a4f5d77
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'ubuntu')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'fortify')
container: ubuntu:plucky
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'malloc')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'malloc')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, '32bit')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'tls')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'tls')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'iothreads')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'tls') && !contains(github.event.inputs.skipjobs, 'iothreads')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'specific')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -496,7 +496,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'valgrind') && !contains(github.event.inputs.skiptests, 'valkey')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -528,7 +528,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'valgrind') && !(contains(github.event.inputs.skiptests, 'modules') && contains(github.event.inputs.skiptests, 'unittest'))
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -565,7 +565,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'valgrind') && !contains(github.event.inputs.skiptests, 'valkey')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'valgrind') && !(contains(github.event.inputs.skiptests, 'modules') && contains(github.event.inputs.skiptests, 'unittest'))
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -634,7 +634,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 14400
timeout-minutes: 1440
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -684,7 +684,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 14400
timeout-minutes: 1440
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -734,7 +734,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) &&
!contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 14400
timeout-minutes: 1440
strategy:
fail-fast: false
steps:
Expand Down Expand Up @@ -801,7 +801,7 @@ jobs:
runs-on: ubuntu-latest

container: ${{ matrix.container }}
timeout-minutes: 14400
timeout-minutes: 1440

steps:
- name: prep
Expand Down Expand Up @@ -867,7 +867,7 @@ jobs:
runs-on: ubuntu-latest

container: ${{ matrix.container }}
timeout-minutes: 14400
timeout-minutes: 1440

steps:
- name: prep
Expand Down Expand Up @@ -939,7 +939,7 @@ jobs:
runs-on: ubuntu-latest

container: ${{ matrix.container }}
timeout-minutes: 14400
timeout-minutes: 1440

steps:
- name: prep
Expand Down Expand Up @@ -990,7 +990,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'macos') && !(contains(github.event.inputs.skiptests, 'valkey') && contains(github.event.inputs.skiptests, 'modules'))
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -1021,7 +1021,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'macos') && !contains(github.event.inputs.skiptests, 'sentinel')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -1049,7 +1049,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'macos') && !contains(github.event.inputs.skiptests, 'cluster')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -1081,7 +1081,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'macos')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
Expand Down Expand Up @@ -1109,7 +1109,7 @@ jobs:
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) &&
!contains(github.event.inputs.skipjobs, 'freebsd')
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- name: prep
if: github.event_name == 'workflow_dispatch'
Expand Down Expand Up @@ -1216,7 +1216,7 @@ jobs:

reply-schemas-validator:
runs-on: ubuntu-latest
timeout-minutes: 14400
timeout-minutes: 1440
if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') ||
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
test-external-standalone:
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.repository == 'valkey-io/valkey'
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
Expand All @@ -42,7 +42,7 @@ jobs:
test-external-cluster:
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.repository == 'valkey-io/valkey'
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
test-external-nodebug:
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.repository == 'valkey-io/valkey'
timeout-minutes: 14400
timeout-minutes: 1440
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
Expand Down

0 comments on commit a4f5d77

Please sign in to comment.