Skip to content

Commit 4e87f7c

Browse files
committed
skip rosetta connectivity tests on develop
1 parent 307b2b1 commit 4e87f7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildkite/src/Command/Rosetta/Connectivity.dhall

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ let Profiles = ../../Constants/Profiles.dhall
2626

2727
let B/SoftFail = B.definitions/commandStep/properties/soft_fail/Type
2828

29+
let B/If = B.definitions/commandStep/properties/if/Type
30+
2931
let 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,7 @@ let Spec =
4447
, timeout = 1000
4548
, profile = Profiles.Type.Devnet
4649
, scope = PipelineScope.Full
50+
, if = "build.pull_request.base_branch != \"develop\""
4751
}
4852
}
4953

@@ -68,6 +72,7 @@ let command
6872
"rosetta-${Network.lowerName spec.network}-connectivity-test"
6973
, target = Size.XLarge
7074
, soft_fail = Some spec.softFail
75+
, if = Some spec.if
7176
, depends_on =
7277
Dockers.dependsOn
7378
Dockers.DepsSpec::{

0 commit comments

Comments
 (0)