-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rampup' into fix/keep-helper-stderr
- Loading branch information
Showing
6 changed files
with
114 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
buildkite/src/Jobs/Release/ReceiptChainHashFixArtifact.dhall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
let Prelude = ../../External/Prelude.dhall | ||
|
||
let Cmd = ../../Lib/Cmds.dhall | ||
let S = ../../Lib/SelectFiles.dhall | ||
let D = S.PathPattern | ||
|
||
let Pipeline = ../../Pipeline/Dsl.dhall | ||
let JobSpec = ../../Pipeline/JobSpec.dhall | ||
|
||
let Command = ../../Command/Base.dhall | ||
let Size = ../../Command/Size.dhall | ||
let DockerImage = ../../Command/DockerImage.dhall | ||
|
||
let spec = DockerImage.ReleaseSpec::{ | ||
service="mina-receipt-chain-hash-fix", | ||
step_key="receipt-chain-hash-fix-docker-image", | ||
network="berkeley", | ||
deps = [ { name = "MinaArtifactBullseye", key = "daemon-berkeley-bullseye-docker-image" } ] | ||
} | ||
|
||
in | ||
|
||
Pipeline.build | ||
Pipeline.Config::{ | ||
spec = | ||
JobSpec::{ | ||
dirtyWhen = [ | ||
S.strictlyStart (S.contains "buildkite/src/Jobs/Release/ReceiptChainHashFixArtifact"), | ||
S.strictlyStart (S.contains "src/app/receipt_chain_hash_to_b58"), | ||
S.strictlyStart (S.contains "src/app/last_vrf_output_to_b64") | ||
], | ||
path = "Release", | ||
name = "ReceiptChainHashFixArtifact" | ||
}, | ||
steps = [ | ||
DockerImage.generateStep spec | ||
] | ||
} | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
ARG image=debian:bullseye | ||
FROM ${image} | ||
|
||
# Run with `docker build --build-arg deb_version=<version>` | ||
ARG deb_version | ||
ARG deb_codename=bullseye | ||
ARG deb_release=unstable | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN echo "Building image with version $deb_codename $deb_release $deb_version" | ||
|
||
COPY scripts/archive-entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
|
||
# Dependencies | ||
RUN apt-get update --quiet --yes \ | ||
&& apt-get upgrade --quiet --yes \ | ||
&& apt-get install --quiet --yes --no-install-recommends \ | ||
procps \ | ||
curl \ | ||
jq \ | ||
dumb-init \ | ||
libssl1.1 \ | ||
libgomp1 \ | ||
libpq-dev \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
dnsutils \ | ||
tzdata \ | ||
postgresql \ | ||
postgresql-contrib \ | ||
apt-utils \ | ||
man \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# archive-node package | ||
RUN echo "deb [trusted=yes] http://packages.o1test.net $deb_codename $deb_release" > /etc/apt/sources.list.d/o1.list \ | ||
&& apt-get update --quiet --yes \ | ||
&& apt-get install --quiet --yes "mina-receipt-chain-hash-fix=$deb_version" \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENV RECEIPT_CHAIN_HASH_TO_B58_APP /usr/local/bin/mina-receipt-chain-hash-to-b58 | ||
ENV LAST_VRF_OUTPUT_TO_B64_APP /usr/local/bin/mina-last-vrf-output-to-b64 | ||
ENTRYPOINT ["/etc/mina/receipt-chain-hash-fix-script/migrate-itn-data.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters