File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
buildkite/src/Command/Rosetta Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ let Profiles = ../../Constants/Profiles.dhall
2626
2727let B / SoftFail = B. definitions/ commandStep/ properties/ soft_fail/ Type
2828
29+ let B / If = B. definitions/ commandStep/ properties/ if / Type
30+
2931let Spec =
3032 { Type =
3133 { dockerType : Dockers. Type
@@ -35,6 +37,7 @@ let Spec =
3537 , timeout : Natural
3638 , profile : Profiles. Type
3739 , scope : List PipelineScope. Type
40+ , if : B / If
3841 }
3942 , default =
4043 { dockerType = Dockers.Type. Bullseye
@@ -44,6 +47,8 @@ let Spec =
4447 , timeout = 1000
4548 , profile = Profiles.Type. Devnet
4649 , scope = PipelineScope. Full
50+ , if =
51+ " build.pull_request.base_branch != \" develop\" || build.branch == \" develop\" "
4752 }
4853 }
4954
@@ -68,6 +73,7 @@ let command
6873 " rosetta-${Network.lowerName spec.network}-connectivity-test"
6974 , target = Size. XLarge
7075 , soft_fail = Some spec. softFail
76+ , if = Some spec. if
7177 , depends_on =
7278 Dockers. dependsOn
7379 Dockers. DepsSpec:: {
You can’t perform that action at this time.
0 commit comments