Skip to content

Commit fe0623b

Browse files
authored
Merge pull request #17915 from MinaProtocol/dkijania/skip_rosetta_conn_on_develop
skip rosetta connectivity tests on develop
2 parents 4643eea + f264595 commit fe0623b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

buildkite/src/Command/Rosetta/Connectivity.dhall

Lines changed: 6 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,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::{

0 commit comments

Comments
 (0)