Unverified Commit bcb7961f authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Enable running daily CI from forks (#9771)

Was impossible to run the daily CI from private forks due to "redis/redis" repo check.
Let's disable that check for manual triggers.
parent b91d8b28
...@@ -33,7 +33,9 @@ jobs: ...@@ -33,7 +33,9 @@ jobs:
test-ubuntu-jemalloc: test-ubuntu-jemalloc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -67,7 +69,9 @@ jobs: ...@@ -67,7 +69,9 @@ jobs:
test-ubuntu-libc-malloc: test-ubuntu-libc-malloc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -98,7 +102,9 @@ jobs: ...@@ -98,7 +102,9 @@ jobs:
test-ubuntu-no-malloc-usable-size: test-ubuntu-no-malloc-usable-size:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -129,7 +135,9 @@ jobs: ...@@ -129,7 +135,9 @@ jobs:
test-ubuntu-32bit: test-ubuntu-32bit:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, '32bit') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, '32bit')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -166,7 +174,9 @@ jobs: ...@@ -166,7 +174,9 @@ jobs:
test-ubuntu-tls: test-ubuntu-tls:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'tls') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'tls')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -208,7 +218,9 @@ jobs: ...@@ -208,7 +218,9 @@ jobs:
test-ubuntu-io-threads: test-ubuntu-io-threads:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'iothreads') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'iothreads')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -234,7 +246,9 @@ jobs: ...@@ -234,7 +246,9 @@ jobs:
test-valgrind: test-valgrind:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'valgrind') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'valgrind')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -265,7 +279,9 @@ jobs: ...@@ -265,7 +279,9 @@ jobs:
test-valgrind-no-malloc-usable-size: test-valgrind-no-malloc-usable-size:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'valgrind') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'valgrind')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -292,7 +308,9 @@ jobs: ...@@ -292,7 +308,9 @@ jobs:
test-sanitizer-address: test-sanitizer-address:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'sanitizer') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 14400 timeout-minutes: 14400
strategy: strategy:
matrix: matrix:
...@@ -332,7 +350,9 @@ jobs: ...@@ -332,7 +350,9 @@ jobs:
test-sanitizer-undefined: test-sanitizer-undefined:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'sanitizer') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'sanitizer')
timeout-minutes: 14400 timeout-minutes: 14400
strategy: strategy:
matrix: matrix:
...@@ -372,7 +392,9 @@ jobs: ...@@ -372,7 +392,9 @@ jobs:
test-centos7-jemalloc: test-centos7-jemalloc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' if: |
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')
container: centos:7 container: centos:7
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
...@@ -406,7 +428,9 @@ jobs: ...@@ -406,7 +428,9 @@ jobs:
test-centos7-tls: test-centos7-tls:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'tls') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'tls')
container: centos:7 container: centos:7
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
...@@ -451,7 +475,9 @@ jobs: ...@@ -451,7 +475,9 @@ jobs:
test-macos-latest: test-macos-latest:
runs-on: macos-latest runs-on: macos-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'macos') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'macos')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -480,7 +506,9 @@ jobs: ...@@ -480,7 +506,9 @@ jobs:
test-freebsd: test-freebsd:
runs-on: macos-10.15 runs-on: macos-10.15
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'freebsd') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'freebsd')
timeout-minutes: 14400 timeout-minutes: 14400
steps: steps:
- name: prep - name: prep
...@@ -507,7 +535,9 @@ jobs: ...@@ -507,7 +535,9 @@ jobs:
test-alpine-jemalloc: test-alpine-jemalloc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'alpine') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'alpine')
container: alpine:latest container: alpine:latest
steps: steps:
- name: prep - name: prep
...@@ -540,7 +570,9 @@ jobs: ...@@ -540,7 +570,9 @@ jobs:
test-alpine-libc-malloc: test-alpine-libc-malloc:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'redis/redis' && !contains(github.event.inputs.skipjobs, 'alpine') if: |
(github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'redis/redis')) && !contains(github.event.inputs.skipjobs, 'alpine')
container: alpine:latest container: alpine:latest
steps: steps:
- name: prep - name: prep
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment