File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ description: >
77display :
88 home_url : https://github.com/bufferings/orb-split-config
99 source_url : https://github.com/bufferings/orb-split-config
10+
11+ orbs :
12+ continuation : circleci/continuation@0.3.1
Original file line number Diff line number Diff line change @@ -27,6 +27,25 @@ parameters:
2727 description : >
2828 A file path for the generated config file.
2929
30+ continuation :
31+ type : boolean
32+ default : true
33+ description : >
34+ Whether to continue the execution with the generated config or not.
35+ continuation-circleci_domain :
36+ type : string
37+ default : circleci.com
38+ description : >
39+ The domain of the CircleCI installation - defaults to circleci.com.
40+ (Only necessary for CircleCI Server users)
41+ continuation-parameters :
42+ type : string
43+ default : " {}"
44+ description : >
45+ The parameters used for the pipeline. This can either be a JSON object containing
46+ parameters or a path to a file containing a JSON object with parameters
47+
48+
3049steps :
3150 - checkout
3251 - when :
@@ -44,3 +63,10 @@ steps:
4463 - generate-config :
4564 config-list-path : << parameters.config-list-path >>
4665 generated-config-path : << parameters.generated-config-path >>
66+ - when :
67+ condition : << parameters.continuation >>
68+ steps :
69+ - continuation/continue :
70+ configuration_path : << parameters.generated-config-path >>
71+ circleci_domain : << parameters.continuation-circleci_domain >>
72+ parameters : << parameters.continuation-parameters >>
You can’t perform that action at this time.
0 commit comments