mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
Use concurrency groups in CI to prevent overfilling the queue (#3794)
* Add concurrency group strategy to CI * test push cancel ? * Rephrase
This commit is contained in:
parent
1a07c847b1
commit
6bdeb5ad05
4
.github/workflows/build-test-macos.yml
vendored
4
.github/workflows/build-test-macos.yml
vendored
@ -15,6 +15,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/build-test-rhel8.yml
vendored
4
.github/workflows/build-test-rhel8.yml
vendored
@ -15,6 +15,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
Framework:
|
||||
|
||||
5
.github/workflows/build-test-rpi.yml
vendored
5
.github/workflows/build-test-rpi.yml
vendored
@ -15,6 +15,11 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
env:
|
||||
RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain
|
||||
DICTIONARY_PATH: build-artifacts/raspberrypi/RPI/dict/RPITopologyDictionary.json
|
||||
|
||||
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
@ -15,6 +15,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
||||
5
.github/workflows/cmake-test.yml
vendored
5
.github/workflows/cmake-test.yml
vendored
@ -13,7 +13,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/codeql-jpl-standard.yml
vendored
4
.github/workflows/codeql-jpl-standard.yml
vendored
@ -14,6 +14,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
4
.github/workflows/codeql-security-scan.yml
vendored
4
.github/workflows/codeql-security-scan.yml
vendored
@ -14,6 +14,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
4
.github/workflows/cppcheck-scan.yml
vendored
4
.github/workflows/cppcheck-scan.yml
vendored
@ -12,6 +12,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
cppcheck:
|
||||
|
||||
4
.github/workflows/cpplint-scan.yml
vendored
4
.github/workflows/cpplint-scan.yml
vendored
@ -11,6 +11,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
cpplint:
|
||||
|
||||
@ -14,6 +14,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
env:
|
||||
AARCH64_TOOLCHAIN_DIR: /tmp/aarch64-toolchain
|
||||
|
||||
@ -14,6 +14,10 @@ on:
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.gitignore'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
get-branch:
|
||||
|
||||
4
.github/workflows/ext-build-hello-world.yml
vendored
4
.github/workflows/ext-build-hello-world.yml
vendored
@ -13,6 +13,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
get-branch:
|
||||
|
||||
4
.github/workflows/ext-build-led-blinker.yml
vendored
4
.github/workflows/ext-build-led-blinker.yml
vendored
@ -13,6 +13,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
get-branch:
|
||||
|
||||
4
.github/workflows/ext-build-math-comp.yml
vendored
4
.github/workflows/ext-build-math-comp.yml
vendored
@ -13,6 +13,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
get-branch:
|
||||
|
||||
4
.github/workflows/ext-cookiecutters-test.yml
vendored
4
.github/workflows/ext-cookiecutters-test.yml
vendored
@ -11,6 +11,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -14,6 +14,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
env:
|
||||
RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain
|
||||
|
||||
@ -13,6 +13,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
env:
|
||||
RPI_TOOLCHAIN_DIR: /tmp/rpi-toolchain
|
||||
|
||||
4
.github/workflows/fpp-tests.yml
vendored
4
.github/workflows/fpp-tests.yml
vendored
@ -11,6 +11,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
fpptest:
|
||||
|
||||
4
.github/workflows/fpp-to-json.yml
vendored
4
.github/workflows/fpp-to-json.yml
vendored
@ -11,6 +11,10 @@ on:
|
||||
- '**.md'
|
||||
- '.github/actions/spelling/**'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
fpp-to-json-ref:
|
||||
|
||||
4
.github/workflows/markdown-link-check.yml
vendored
4
.github/workflows/markdown-link-check.yml
vendored
@ -5,6 +5,10 @@ on:
|
||||
branches: [devel, docs/new-website]
|
||||
pull_request:
|
||||
branches: [devel]
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
|
||||
4
.github/workflows/pip-check.yml
vendored
4
.github/workflows/pip-check.yml
vendored
@ -10,6 +10,10 @@ on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'requirements.txt'
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
pip-install:
|
||||
|
||||
4
.github/workflows/python-format.yml
vendored
4
.github/workflows/python-format.yml
vendored
@ -6,6 +6,10 @@ on:
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ devel, release/** ]
|
||||
# Cancel in-progress runs if a newer run is started on a given PR
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ !contains(github.ref, 'devel') && !contains(github.ref, 'release/')}}
|
||||
|
||||
jobs:
|
||||
format:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user