Skip to content

Commit

Permalink
Merge branch 'develop' into dkijania/introduce_postgres_side_docker_job
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania authored Jun 12, 2024
2 parents 2deb05e + 8d45fa9 commit 23ed6df
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 17,650 deletions.
1 change: 1 addition & 0 deletions buildkite/scripts/export-git-env-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ echo "Exporting Variables: "
export MINA_REPO="https://github.com/MinaProtocol/mina.git"

function find_most_recent_numeric_tag() {
git fetch --tags
TAG=$(git describe --always --abbrev=0 $1 | sed 's!/!-!g; s!_!-!g; s!#!-!g')
if [[ $TAG != [0-9]* ]]; then
TAG=$(find_most_recent_numeric_tag $TAG~)
Expand Down
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
Loading

0 comments on commit 23ed6df

Please sign in to comment.