-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
236 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
buildkite/src/Jobs/Release/MinaToolchainArtifactBullseye.dhall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
let Prelude = ../../External/Prelude.dhall | ||
|
||
let Cmd = ../../Lib/Cmds.dhall | ||
let S = ../../Lib/SelectFiles.dhall | ||
|
||
let Pipeline = ../../Pipeline/Dsl.dhall | ||
let PipelineStage = ../../Pipeline/Stage.dhall | ||
let JobSpec = ../../Pipeline/JobSpec.dhall | ||
|
||
let Command = ../../Command/Base.dhall | ||
let Size = ../../Command/Size.dhall | ||
let DockerImage = ../../Command/DockerImage.dhall | ||
let DockerLogin = ../../Command/DockerLogin/Type.dhall | ||
|
||
|
||
in | ||
|
||
Pipeline.build | ||
Pipeline.Config::{ | ||
spec = | ||
JobSpec::{ | ||
dirtyWhen = [ | ||
S.strictlyStart (S.contains "dockerfiles/stages/1-"), | ||
S.strictlyStart (S.contains "dockerfiles/stages/2-"), | ||
S.strictlyStart (S.contains "dockerfiles/stages/3-"), | ||
S.strictlyStart (S.contains "buildkite/src/Jobs/Release/MinaToolchainArtifact"), | ||
S.strictly (S.contains "opam.export"), | ||
-- Rust version has changed | ||
S.strictlyEnd (S.contains "rust-toolchain.toml") | ||
], | ||
path = "Release", | ||
name = "MinaToolchainArtifactBullseye", | ||
stage = PipelineStage.Type.Stage2 | ||
|
||
}, | ||
steps = [ | ||
|
||
-- mina-toolchain Debian 11 "Bullseye" Toolchain | ||
let toolchainBullseyeSpec = DockerImage.ReleaseSpec::{ | ||
service="mina-toolchain", | ||
deb_codename="bullseye", | ||
extra_args="--no-cache", | ||
step_key="toolchain-bullseye-docker-image" | ||
} | ||
|
||
in | ||
|
||
DockerImage.generateStep toolchainBullseyeSpec | ||
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
let Prelude = ../../External/Prelude.dhall | ||
let S = ../../Lib/SelectFiles.dhall | ||
let Cmd = ../../Lib/Cmds.dhall | ||
let RunInToolchain = ../../Command/RunInToolchain.dhall | ||
let Command = ../../Command/Base.dhall | ||
let Docker = ../../Command/Docker/Type.dhall | ||
let Size = ../../Command/Size.dhall | ||
let JobSpec = ../../Pipeline/JobSpec.dhall | ||
let Pipeline = ../../Pipeline/Dsl.dhall | ||
let PipelineMode = ../../Pipeline/Mode.dhall | ||
let PipelineStage = ../../Pipeline/Stage.dhall | ||
|
||
in Pipeline.build | ||
Pipeline.Config::{ | ||
spec = | ||
JobSpec::{ | ||
dirtyWhen = [ S.everything ], | ||
path = "Test", | ||
stage = PipelineStage.Type.TearDown, | ||
name = "CoverageTearDown" | ||
} | ||
, steps = [ | ||
Command.build | ||
Command.Config::{ | ||
commands = | ||
RunInToolchain.runInToolchainBullseye ["COVERALLS_TOKEN"] | ||
"buildkite/scripts/finish-coverage-data-upload.sh", | ||
label = "Finish coverage data gathering", | ||
key = "finish-coverage-data", | ||
target = Size.Small | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.