Skip to content

Commit

Permalink
update testnet docker images for release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
nddeluca committed Apr 25, 2023
1 parent 7a3f03f commit 2ab1dfb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ARG kava_v0_19_4_upgrade_version=v0.19.4-testnet
ARG kava_v0_19_5_upgrade_version=v0.19.5-testnet
ARG kava_v0_20_0_upgrade_version=v0.20.0-alpha.0
ARG kava_v0_21_0_upgrade_version=v0.21.0-alpha.1
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.0
ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
ENV KAVA_V0_19_1_UPGRADE_VERSION=$kava_v0_19_1_upgrade_version
Expand All @@ -35,6 +36,7 @@ ENV KAVA_V0_19_4_UPGRADE_VERSION=$kava_v0_19_4_upgrade_version
ENV KAVA_V0_19_5_UPGRADE_VERSION=$kava_v0_19_5_upgrade_version
ENV KAVA_V0_20_0_UPGRADE_VERSION=$kava_v0_20_0_upgrade_version
ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version
ENV KAVA_V0_22_0_UPGRADE_VERSION=$kava_v0_22_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -91,7 +93,13 @@ RUN cd kava \
&& mkdir -p /app/cosmovisor/upgrades/v0.21.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.21.0-alpha.0/bin

ARG kava_rosetta_version=v4.0.0
RUN cd kava \
&& git checkout $KAVA_V0_22_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin

ARG kava_rosetta_version=v5.0.0-beta.1
ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version

RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile.testnet.dev
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ARG kava_v0_19_4_upgrade_version=v0.19.4-testnet
ARG kava_v0_19_5_upgrade_version=v0.19.5-testnet
ARG kava_v0_20_0_upgrade_version=v0.20.0-alpha.0
ARG kava_v0_21_0_upgrade_version=v0.21.0-alpha.1
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.0
ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
ENV KAVA_V0_19_1_UPGRADE_VERSION=$kava_v0_19_1_upgrade_version
Expand All @@ -35,6 +36,7 @@ ENV KAVA_V0_19_4_UPGRADE_VERSION=$kava_v0_19_4_upgrade_version
ENV KAVA_V0_19_5_UPGRADE_VERSION=$kava_v0_19_5_upgrade_version
ENV KAVA_V0_20_0_UPGRADE_VERSION=$kava_v0_20_0_upgrade_version
ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version
ENV KAVA_V0_22_0_UPGRADE_VERSION=$kava_v0_22_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -91,6 +93,12 @@ RUN cd kava \
&& mkdir -p /app/cosmovisor/upgrades/v0.21.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.21.0-alpha.0/bin

RUN cd kava \
&& git checkout $KAVA_V0_22_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin

COPY . rosetta-kava

RUN cd rosetta-kava \
Expand Down

0 comments on commit 2ab1dfb

Please sign in to comment.