Skip to content

Commit

Permalink
change profileName to profileSuffix
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Oct 5, 2023
1 parent 881c163 commit 3191a45
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions buildkite/src/Constants/DockerVersions.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ let lowerName = \(docker : Docker) ->
} docker

let dependsOn = \(docker : Docker) -> \(profile : Profiles.Type) -> \(binary: Text) ->
let profileName = Profiles.capitalName profile in
let profileSuffix = Profiles.toSuffixUppercase profile in
let prefix = "MinaArtifact" in
merge {
Bookworm = [{ name = "${prefix}${profileName}", key = "${binary}-${lowerName docker}-docker-image" }]
, Bullseye = [{ name = "${prefix}${capitalName docker}${profileName}", key = "${binary}-${lowerName docker}-docker-image" }]
, Buster = [{ name = "${prefix}${capitalName docker}${profileName}", key = "${binary}-${lowerName docker}-docker-image" }]
, Jammy = [{ name = "${prefix}${capitalName docker}${profileName}", key = "${binary}-${lowerName docker}-docker-image" }]
, Focal = [{ name = "${prefix}${capitalName docker}${profileName}", key = "${binary}-${lowerName docker}-docker-image" }]
Bookworm = [{ name = "${prefix}${profileSuffix}", key = "${binary}-${lowerName docker}-docker-image" }]
, Bullseye = [{ name = "${prefix}${capitalName docker}${profileSuffix}", key = "${binary}-${lowerName docker}-docker-image" }]
, Buster = [{ name = "${prefix}${capitalName docker}${profileSuffix}", key = "${binary}-${lowerName docker}-docker-image" }]
, Jammy = [{ name = "${prefix}${capitalName docker}${profileSuffix}", key = "${binary}-${lowerName docker}-docker-image" }]
, Focal = [{ name = "${prefix}${capitalName docker}${profileSuffix}", key = "${binary}-${lowerName docker}-docker-image" }]
} docker

in
Expand Down

0 comments on commit 3191a45

Please sign in to comment.