Skip to content

Commit

Permalink
add agent target spec to unit-test build cmd and increase sizes for c…
Browse files Browse the repository at this point in the history
…omparison
  • Loading branch information
O1ahmad committed Aug 12, 2020
1 parent 39628f9 commit 782df48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/Artifact.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Pipeline.build
] "./buildkite/scripts/build-artifact.sh" # [ Cmd.run "buildkite-agent artifact upload ./DOCKER_DEPLOY_ENV" ],
label = "Build artifacts",
key = "artifacts-build",
target = Size.Large
target = Size.XLarge
}
]
}
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/ClientSdk.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Pipeline.build
commands = OpamInit.andThenRunInDocker ([] : List Text) "./buildkite/scripts/build-client-sdk.sh",
label = "Build client-sdk",
key = "build-client-sdk",
target = Size.Large,
target = Size.XLarge,
docker = None Docker.Type
}
]
Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/CompareSignatures.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pipeline.build
{ commands = OpamInit.andThenRunInDocker ([] : List Text) "./buildkite/scripts/compare_test_signatures.sh"
, label = "Compare test signatures"
, key = "compare-test-signatures"
, target = Size.Large
, target = Size.XLarge
, docker = None Docker.Type
}
]
Expand Down
8 changes: 4 additions & 4 deletions buildkite/src/Jobs/UnitTest.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ let OpamInit = ../Command/OpamInit.dhall
let Docker = ../Command/Docker/Type.dhall
let Size = ../Command/Size.dhall

let buildTestCmd : Text -> Text -> Command.Type = \(profile : Text) -> \(path : Text) ->
let buildTestCmd : Text -> Text -> Size -> Command.Type = \(profile : Text) -> \(path : Text) -> \(cmd_target : Size) ->
Command.build
Command.Config::{
commands = OpamInit.andThenRunInDocker ([] : List Text) "buildkite/scripts/unit-test.sh ${profile} ${path}",
label = "Run ${profile} unit-tests",
key = "unit-test-${profile}",
target = Size.XLarge,
target = cmd_target,
docker = None Docker.Type,
artifact_paths = [ S.contains "core_dumps/*" ]
}
Expand Down Expand Up @@ -47,7 +47,7 @@ Pipeline.build
name = "UnitTest"
},
steps = [
buildTestCmd "dev" "src/lib",
buildTestCmd "nonconsensus_medium_curves" "src/nonconsensus"
buildTestCmd "dev" "src/lib" Size.XLarge,
buildTestCmd "nonconsensus_medium_curves" "src/nonconsensus" Size.Large
]
}

0 comments on commit 782df48

Please sign in to comment.