Skip to content

Commit

Permalink
Merge pull request #16209 from MinaProtocol/dkijania/build_rosetta_ma…
Browse files Browse the repository at this point in the history
…innet_3_0_2

Build rosetta mainnet/devnet docker
  • Loading branch information
dkijania authored Oct 10, 2024
2 parents 3a00659 + 15fd7ca commit 9ef74da
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17 deletions.
37 changes: 22 additions & 15 deletions buildkite/src/Command/MinaArtifact.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -209,21 +209,28 @@ let docker_step
}
]
, Rosetta =
[ DockerImage.ReleaseSpec::{
, deps = deps
, service = "mina-rosetta"
, network = "berkeley"
, build_flags = spec.buildFlags
, deb_repo = DebianRepo.Type.Local
, deb_profile = spec.profile
, deb_codename =
"${DebianVersions.lowerName spec.debVersion}"
, step_key =
"rosetta-${DebianVersions.lowerName
spec.debVersion}${BuildFlags.toLabelSegment
spec.buildFlags}-docker-image"
}
]
Prelude.List.map
Network.Type
DockerImage.ReleaseSpec.Type
( \(n : Network.Type)
-> DockerImage.ReleaseSpec::{
, deps = deps
, service =
Artifacts.dockerName Artifacts.Type.Rosetta
, network = Network.lowerName n
, deb_codename =
"${DebianVersions.lowerName spec.debVersion}"
, deb_profile = spec.profile
, build_flags = spec.buildFlags
, deb_repo = DebianRepo.Type.Local
, step_key =
"rosetta-${Network.lowerName
n}-${DebianVersions.lowerName
spec.debVersion}${BuildFlags.toLabelSegment
spec.buildFlags}-docker-image"
}
)
spec.networks
, ZkappTestTransaction =
[ DockerImage.ReleaseSpec::{
, deps = deps
Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/Test/RosettaIntegrationTests.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ in Pipeline.build
, depends_on =
Dockers.dependsOn
Dockers.Type.Bullseye
(None Network.Type)
(Some Network.Type.Berkeley)
Profiles.Type.Standard
Artifacts.Type.Rosetta
}
Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/Test/RosettaIntegrationTestsLong.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ in Pipeline.build
, depends_on =
Dockers.dependsOn
Dockers.Type.Bullseye
(None Network.Type)
(Some Network.Type.Berkeley)
Profiles.Type.Standard
Artifacts.Type.Rosetta
}
Expand Down
3 changes: 3 additions & 0 deletions scripts/debian/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ if [ $# -eq 0 ]
build_daemon_berkeley_deb
build_daemon_mainnet_deb
build_daemon_devnet_deb
build_rosetta_berkeley_deb
build_rosetta_mainnet_deb
build_rosetta_devnet_deb
build_test_executive_deb
build_functional_test_suite_deb
build_zkapp_test_transaction_deb
Expand Down

0 comments on commit 9ef74da

Please sign in to comment.