Skip to content

Commit

Permalink
Merge pull request #15738 from MinaProtocol/dkijania/use_local_repo_i…
Browse files Browse the repository at this point in the history
…n_hardfork_builds

use local debian repo when building hardfork dockers
  • Loading branch information
dkijania authored Jun 12, 2024
2 parents d136b2e + 82ebbc6 commit 8d45fa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions buildkite/src/Command/HardforkPackageGeneration.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ let Size = ./Size.dhall
let Libp2p = ./Libp2pHelperBuild.dhall
let DockerImage = ./DockerImage.dhall
let DebianVersions = ../Constants/DebianVersions.dhall
let DebianRepo = ../Constants/DebianRepo.dhall
let Profiles = ../Constants/Profiles.dhall
let Artifacts = ../Constants/Artifacts.dhall
let Toolchain = ../Constants/Toolchain.dhall
Expand Down Expand Up @@ -133,6 +134,7 @@ let pipeline : Spec.Type -> Pipeline.Config.Type =
, network = network_name
, deb_codename = "${DebianVersions.lowerName debVersion}"
, deb_profile = profile
, deb_repo = DebianRepo.Type.Local
, step_key = "daemon-berkeley-${DebianVersions.lowerName debVersion}${Profiles.toLabelSegment profile}-docker-image"
}
, Command.build Command.Config::{
Expand Down Expand Up @@ -171,6 +173,7 @@ let pipeline : Spec.Type -> Pipeline.Config.Type =
, network = network_name
, deb_codename = "${DebianVersions.lowerName debVersion}"
, deb_profile = profile
, deb_repo = DebianRepo.Type.Local
, step_key = "archive-${DebianVersions.lowerName debVersion}${Profiles.toLabelSegment profile}-docker-image"
}
, DockerImage.generateStep
Expand All @@ -182,6 +185,7 @@ let pipeline : Spec.Type -> Pipeline.Config.Type =
]
, service = "mina-rosetta"
, network = network_name
, deb_repo = DebianRepo.Type.Local
, deb_codename = "${DebianVersions.lowerName debVersion}"
, step_key = "rosetta-${DebianVersions.lowerName debVersion}${Profiles.toLabelSegment profile}-docker-image"
}
Expand Down
4 changes: 3 additions & 1 deletion buildkite/src/Constants/DebianVersions.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ let dependsOn = \(debVersion : DebVersion) -> \(profile : Profiles.Type) ->
let minimalDirtyWhen = [
S.exactly "buildkite/src/Constants/DebianVersions" "dhall",
S.exactly "buildkite/src/Constants/ContainerImages" "dhall",
S.exactly "buildkite/src/Command/MinaArtifact" "sh",
S.exactly "buildkite/src/Command/HardforkPackageGeneration" "dhall",
S.exactly "buildkite/src/Command/MinaArtifact" "dhall",
S.strictlyStart (S.contains "buildkite/src/Jobs/Release/MinaArtifact"),
S.strictlyStart (S.contains "dockerfiles/stages"),
S.exactly "scripts/rebuild-deb" "sh",
S.exactly "scripts/release-docker" "sh",
S.exactly "buildkite/scripts/build-artifact" "sh",
S.exactly "buildkite/scripts/build-hardfork-package" "sh",
S.exactly "buildkite/scripts/check-compatibility" "sh",
-- Snark profiler dirtyWhen
S.exactly "buildkite/src/Jobs/Test/RunSnarkProfiler" "dhall",
Expand Down

0 comments on commit 8d45fa9

Please sign in to comment.