Skip to content

Commit

Permalink
CI concurrency and timeout configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Sep 5, 2024
1 parent 763df39 commit d82a364
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/actions/exa-cluster/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ runs:
shell: bash

- name: Wait until Exasol cluster is live
timeout-minutes: 5
run: |
RC=1
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ on:
pull_request:
branches: ["main"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
RUST_TOOLCHAIN: 1.74.0
EXASOL_VERSION: 7.0.22
NUM_NODES: 2
NUM_NODES: 4
ETL_TEST_THREADS: 4
ETL_JOB_TIMEOUT: 20
ETL_JOB_TIMEOUT: 10
EXA_CLUSTER_SETUP_TIMEOUT: 5

jobs:
format:
Expand Down Expand Up @@ -122,6 +127,7 @@ jobs:
uses: ./.github/actions/free-space

- name: Create Exasol cluster
timeout-minutes: ${{ fromJSON(env.EXA_CLUSTER_SETUP_TIMEOUT) }}
id: exa-cluster
uses: ./.github/actions/exa-cluster
with:
Expand Down Expand Up @@ -159,6 +165,7 @@ jobs:
uses: ./.github/actions/free-space

- name: Create Exasol cluster
timeout-minutes: ${{ fromJSON(env.EXA_CLUSTER_SETUP_TIMEOUT) }}
id: exa-cluster
uses: ./.github/actions/exa-cluster
with:
Expand Down Expand Up @@ -196,6 +203,7 @@ jobs:
uses: ./.github/actions/free-space

- name: Create Exasol cluster
timeout-minutes: ${{ fromJSON(env.EXA_CLUSTER_SETUP_TIMEOUT) }}
id: exa-cluster
uses: ./.github/actions/exa-cluster
with:
Expand Down Expand Up @@ -239,6 +247,7 @@ jobs:
uses: ./.github/actions/free-space

- name: Create Exasol cluster
timeout-minutes: ${{ fromJSON(env.EXA_CLUSTER_SETUP_TIMEOUT) }}
id: exa-cluster
uses: ./.github/actions/exa-cluster
with:
Expand Down Expand Up @@ -272,6 +281,7 @@ jobs:
uses: ./.github/actions/free-space

- name: Create Exasol cluster
timeout-minutes: ${{ fromJSON(env.EXA_CLUSTER_SETUP_TIMEOUT) }}
id: exa-cluster
uses: ./.github/actions/exa-cluster
with:
Expand Down

0 comments on commit d82a364

Please sign in to comment.