Skip to content

Commit

Permalink
Run only one EdenGCP at a time
Browse files Browse the repository at this point in the history
We are limited in ROL devices, so should limit concurrent runs of
EdenGCP workflows. Using concurrency group we will run one workflow at a
 time. According to guthub's docs "When a concurrent job or workflow is
 queued, if another job or workflow using the same concurrency group in
 the repository is in progress, the queued job or workflow will be
 pending. Any previously pending job or workflow in the concurrency
 group will be canceled.". But we use snapshot version of EVE-OS, so it
 is expected behaviour.

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
  • Loading branch information
giggsoff authored and eriknordmark committed Aug 2, 2022
1 parent 11fd34c commit 3684ef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/eden_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on: # yamllint disable-line rule:truthy
- Publish
types:
- completed

concurrency:
group: ${{ github.workflow }}

# yamllint disable rule:line-length
jobs:
integration:
Expand Down

0 comments on commit 3684ef6

Please sign in to comment.