Browse Source

Merge pull request #3982 from nocodb/chore/cicd-default-timeout

chore: timeout for CICD jobs set to 30 mins
pull/3983/head
Raju Udava 2 years ago committed by GitHub
parent
commit
b57564dca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/ci-cd.yml

16
.github/workflows/ci-cd.yml

@ -22,6 +22,7 @@ on:
jobs: jobs:
cypress-restTableOps-run-cache: cypress-restTableOps-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -67,6 +68,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-restViews-run-cache: cypress-restViews-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -112,6 +114,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-restRoles-run-cache: cypress-restRoles-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -157,6 +160,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-restMisc-run-cache: cypress-restMisc-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -202,6 +206,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-xcdb-restTableOps-run-cache: cypress-xcdb-restTableOps-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -247,6 +252,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-xcdb-restViews-run-cache: cypress-xcdb-restViews-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -292,6 +298,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-xcdb-restRoles-run-cache: cypress-xcdb-restRoles-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -337,6 +344,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-xcdb-restMisc-run-cache: cypress-xcdb-restMisc-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -382,6 +390,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-pg-restTableOps-run-cache: cypress-pg-restTableOps-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -427,6 +436,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-pg-restViews-run-cache: cypress-pg-restViews-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -472,6 +482,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-pg-restRoles-run-cache: cypress-pg-restRoles-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -517,6 +528,7 @@ jobs:
retention-days: 2 retention-days: 2
cypress-pg-restMisc-run-cache: cypress-pg-restMisc-run-cache:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -562,6 +574,7 @@ jobs:
retention-days: 2 retention-days: 2
cy-quick-sqlite: cy-quick-sqlite:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -608,6 +621,7 @@ jobs:
retention-days: 2 retention-days: 2
cy-quick-pg: cy-quick-pg:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -653,6 +667,7 @@ jobs:
retention-days: 2 retention-days: 2
unit-tests: unit-tests:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node
@ -693,6 +708,7 @@ jobs:
run: npm run test:unit run: npm run test:unit
cypress-db-independent: cypress-db-independent:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 30
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }}
steps: steps:
- name: Setup Node - name: Setup Node

Loading…
Cancel
Save