Skip to content

Commit

Permalink
Feat/release queue (#1192)
Browse files Browse the repository at this point in the history
* queue release workflow so only one release can run at one time

* wait for 20 mins for release to finish

Co-authored-by: TomPallister <[email protected]>
  • Loading branch information
TomPallister and TomPallister authored Apr 11, 2020
1 parent 84821c6 commit fd7c6d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: 2.1
version: 2.1
orbs:
queue: eddiewebb/[email protected]
jobs:
build:
docker:
Expand All @@ -15,8 +17,13 @@ jobs:
workflows:
version: 2
master:
jobs:
- release:
jobs:
- queue/block_workflow:
time: "20"
only-on-branch: master
- release:
requires:
- queue/block_workflow
filters:
branches:
only: master
Expand Down
1 change: 1 addition & 0 deletions Ocelot.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
build.cake = build.cake
build.ps1 = build.ps1
codeanalysis.ruleset = codeanalysis.ruleset
.circleci\config.yml = .circleci\config.yml
GitVersion.yml = GitVersion.yml
LICENSE.md = LICENSE.md
README.md = README.md
Expand Down

0 comments on commit fd7c6d7

Please sign in to comment.