-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest-deploy.yml
59 lines (55 loc) · 1.35 KB
/
test-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 2.1
orbs:
workflow-queue: promiseofcake/workflow-queue@dev:<<pipeline.git.revision>>
orb-tools: circleci/[email protected]
filters: &filters
tags:
only: /.*/
jobs:
sleep:
docker:
- image: cimg/base:edge
parameters:
time:
type: integer
steps:
- run: echo "sleeping << parameters.time >>s" && sleep << parameters.time >>
workflows:
test-pipeline-a:
jobs:
- workflow-queue/pipeline-queue:
context: orb-publishing
debug: true
test-pipeline-b:
jobs:
- sleep:
time: 5
test-pipeline-c:
jobs:
- sleep:
time: 20
test-global-queue:
jobs:
- workflow-queue/global-queue:
context: orb-publishing
debug: true
ignored-workflows: "test-pipeline-a" # given we are in one pipeline, don't block on ourselves
filters:
tags:
ignore: /.*/
test-deploy:
jobs:
- orb-tools/pack:
filters: *filters
- orb-tools/publish:
context: orb-publishing
orb-name: promiseofcake/workflow-queue
vcs-type: << pipeline.project.type >>
pub-type: production
requires:
- orb-tools/pack
filters:
branches:
ignore: /.*/
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/