From c5fa2ba1428d9ec12179dbb083a6ab81a68e84ba Mon Sep 17 00:00:00 2001 From: Brandon Kase Date: Sat, 21 May 2022 00:33:49 +0300 Subject: [PATCH 1/3] Attempts to fix broken rosetta-cli CI step --- dockerfiles/stages/4-production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/stages/4-production b/dockerfiles/stages/4-production index 38463a3c0a5..1fb18fdf73d 100644 --- a/dockerfiles/stages/4-production +++ b/dockerfiles/stages/4-production @@ -59,8 +59,8 @@ RUN test "$deb_codename" = "focal" \ libffi7 \ || exit 0 -# --- Install the latest version of rosetta-cli -RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s +# --- Install rosetta-cli +RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/v0.7.7/scripts/install.sh | sh -s # --- Generate en_US.UTF-8 locale to allow use of O(1) Labs DB dumps RUN locale-gen en_US.UTF-8 From 485a9e546616c22b5af735dbb3c5d0f91a3d764d Mon Sep 17 00:00:00 2001 From: Brandon Kase Date: Sat, 21 May 2022 00:55:06 +0300 Subject: [PATCH 2/3] Revert "Attempts to fix broken rosetta-cli CI step" This reverts commit c5fa2ba1428d9ec12179dbb083a6ab81a68e84ba. --- dockerfiles/stages/4-production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/stages/4-production b/dockerfiles/stages/4-production index 1fb18fdf73d..38463a3c0a5 100644 --- a/dockerfiles/stages/4-production +++ b/dockerfiles/stages/4-production @@ -59,8 +59,8 @@ RUN test "$deb_codename" = "focal" \ libffi7 \ || exit 0 -# --- Install rosetta-cli -RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/v0.7.7/scripts/install.sh | sh -s +# --- Install the latest version of rosetta-cli +RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s # --- Generate en_US.UTF-8 locale to allow use of O(1) Labs DB dumps RUN locale-gen en_US.UTF-8 From 6cd65b49ee3de29ea7b1620686a7e47039456459 Mon Sep 17 00:00:00 2001 From: Brandon Kase Date: Sat, 21 May 2022 00:55:15 +0300 Subject: [PATCH 3/3] Disables rosetta step for now --- buildkite/src/Command/MinaArtifact.dhall | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/buildkite/src/Command/MinaArtifact.dhall b/buildkite/src/Command/MinaArtifact.dhall index bb8272519b4..3746ee7d9f8 100644 --- a/buildkite/src/Command/MinaArtifact.dhall +++ b/buildkite/src/Command/MinaArtifact.dhall @@ -93,20 +93,20 @@ let pipeline : DebianVersions.DebVersion -> Pipeline.Config.Type = \(debVersion in - DockerImage.generateStep archiveSpec, + DockerImage.generateStep archiveSpec - -- rosetta image - let rosettaSpec = DockerImage.ReleaseSpec::{ - deps=DebianVersions.dependsOnGitEnv, - service="mina-rosetta", - extra_args="--build-arg MINA_BRANCH=\\\${BUILDKITE_BRANCH} --no-cache", - deb_codename="${DebianVersions.lowerName debVersion}", - step_key="rosetta-${DebianVersions.lowerName debVersion}-docker-image" - } + -- TODO: Re-enable when we can pin a known working install for Rosetta + --let rosettaSpec = DockerImage.ReleaseSpec::{ + --deps=DebianVersions.dependsOnGitEnv, + --service="mina-rosetta", + --extra_args="--build-arg MINA_BRANCH=\\\${BUILDKITE_BRANCH} --no-cache", + --deb_codename="${DebianVersions.lowerName debVersion}", + --step_key="rosetta-${DebianVersions.lowerName debVersion}-docker-image" + --} - in + --in - DockerImage.generateStep rosettaSpec + --DockerImage.generateStep rosettaSpec ] }