Skip to content

Commit

Permalink
fix: remove progress bar for go-getter (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <troian.ap@gmail.com>
troian authored Mar 22, 2023
1 parent 82d9fbd commit cb6809a
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
COSMOVISOR_VERSION=1.4.0
GO_VERSION=1.19.2
GO_GETTER_VERSION=v0.2.0
GO_GETTER_VERSION=v0.2.2
GIT_CHGLOG_VERSION=v0.15.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG GO_VERSION
ARG TARGETARCH

FROM debian:bullseye AS base
ARG TARGETARCH

ENV LANG="en_US.UTF-8"
RUN \
@@ -22,7 +22,7 @@ RUN \
pv \
lz4 \
&& rm -rf /var/lib/apt/lists/* \
&& curl https://dl.min.io/client/mc/release/linux-$TARGETARCH/mc -o /usr/bin/mc \
&& wget https://dl.min.io/client/mc/release/linux-$TARGETARCH/mc -P /usr/bin/ \
&& chmod +x /usr/bin/mc \
&& git config --global advice.detachedHead "false"

6 changes: 3 additions & 3 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ if [[ -n $CONFIG_S3_ENDPOINT ]]; then
echo "setting up s3 alias"

# shellcheck disable=SC2086
mc alias set s3 $CONFIG_S3_ENDPOINT $CONFIG_S3_KEY $CONFIG_S3_SECRET
mc alias set s3 "$CONFIG_S3_ENDPOINT" "$CONFIG_S3_KEY" "$CONFIG_S3_SECRET"
fi

function blank_data() {
@@ -236,7 +236,7 @@ if [ ! -f "$cosmovisor_current_bin/$DAEMON_NAME" ]; then

if [[ -n "$binary_url" ]]; then
echo "downloading binary ${DAEMON_NAME} from $binary_url"
go-getter -progress -mode=file "${binary_url}" "${binary_path}/${DAEMON_NAME}"
go-getter -mode=file "${binary_url}" "${binary_path}/${DAEMON_NAME}"
elif [[ $try_compile == true ]]; then
echo "trying to compile binary for linux/$uname_arch"

@@ -310,7 +310,7 @@ if [[ "${import_genesis}" == "true" ]]; then

rm -f "$chain_genesis_file"
echo "downloading chain genesis from ${genesis_url}"
go-getter -progress -mode=file "${genesis_url}" "$chain_genesis_file"
go-getter -mode=file "${genesis_url}" "$chain_genesis_file"
fi

if [[ "${reset_data}" == "true" ]]; then

0 comments on commit cb6809a

Please sign in to comment.