@@ -9,14 +9,18 @@ parameters:
99 fingerprint :
1010 type : string
1111 default : SHA256:OkxsH8Z6Iim6WDJBaII9eTT9aaO1f3eDc6IpsgYYPVg
12- validation -flag :
12+ release -flag :
1313 type : boolean
1414 default : false
15- description : " If true, the validation pipeline will be executed."
15+ description : " If true, the release pipeline will be executed."
1616 success-flag :
1717 type : boolean
1818 default : false
1919 description : " If true, the success pipeline will be executed."
20+ validation-flag :
21+ type : boolean
22+ default : false
23+ description : " If true, the validation pipeline will be executed."
2024
2125orbs :
2226 toolkit :
jerus-org/[email protected] @@ -35,6 +39,7 @@ workflows:
3539 and :
3640 - not :
3741 equal : [scheduled_pipeline, << pipeline.trigger_source >>]
42+ - not : << pipeline.parameters.release-flag >>
3843 - not : << pipeline.parameters.success-flag >>
3944 - not : << pipeline.parameters.validation-flag >>
4045
@@ -48,6 +53,7 @@ workflows:
4853 and :
4954 - not :
5055 equal : [scheduled_pipeline, << pipeline.trigger_source >>]
56+ - not : << pipeline.parameters.release-flag >>
5157 - not : << pipeline.parameters.success-flag >>
5258 - << pipeline.parameters.validation-flag >>
5359 jobs :
@@ -133,6 +139,7 @@ workflows:
133139 - not :
134140 equal : [scheduled_pipeline, << pipeline.trigger_source >>]
135141 - << pipeline.parameters.success-flag >>
142+ - not : << pipeline.parameters.release-flag >>
136143 - not : << pipeline.parameters.validation-flag >>
137144
138145 jobs :
@@ -141,8 +148,11 @@ workflows:
141148 release :
142149 when :
143150 and :
144- - equal : [scheduled_pipeline, << pipeline.trigger_source >>]
145- - equal : ["release check", << pipeline.schedule.name >>]
151+ - or :
152+ - and :
153+ - equal : [scheduled_pipeline, << pipeline.trigger_source >>]
154+ - equal : ["release check", << pipeline.schedule.name >>]
155+ - << pipeline.parameters.release-flag >>
146156 - not : << pipeline.parameters.success-flag >>
147157 - not : << pipeline.parameters.validation-flag >>
148158 jobs :
0 commit comments