Skip to content

Commit

Permalink
Merge pull request #16328 from MinaProtocol/dkijania/port_berkeley_re…
Browse files Browse the repository at this point in the history
…move_docs

[DEV] Remove berkeley reference from various docs and guides
  • Loading branch information
mrmr1993 authored Nov 10, 2024
2 parents ca9c8c8 + c493c69 commit f9e5ed8
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion buildkite/scripts/debian/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function usage() {
echo " -t, --to-component The target channel for package (unstable, alpha, beta etc.)"
echo " -c, --codename The Debian codename (bullseye, focal etc.)"
echo ""
echo "Example: $0 --package mina-archive --version 2.0.0berkeley-rc1-berkeley-48efea4 --architecture amd64 --codename bullseye --from-component unstable --to-component nightly"
echo "Example: $0 --package mina-archive --version 2.0.0-rc1-48efea4 --architecture amd64 --codename bullseye --from-component unstable --to-component nightly"
exit 1
}

Expand Down
4 changes: 2 additions & 2 deletions buildkite/scripts/promote-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ function usage() {
echo -e "${RED}$1${CLEAR}\n";
fi
echo "Usage: $0 [-n name] [-v version] [-t tag] [-c codename] "
echo " -n, --name The Docker name (mina-berkeley, mina-archive etc.)"
echo " -n, --name The Docker name (mina-devnet, mina-archive etc.)"
echo " -v, --version The Docker version"
echo " -t, --tag The Additional tag"
echo " -p, --publish The Publish to docker.io flag. If defined script will publish docker do docker.io. Otherwise it will still resides in gcr.io"
echo ""
echo "Example: $0 --name mina-archive --version 2.0.0berkeley-rc1-berkeley-48efea4 --tag berkeley-latest-nightly-bullseye "
echo "Example: $0 --name mina-archive --version 2.0.0-rc1-48efea4 --tag devnet-latest-nightly-bullseye "
exit 1
}

Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ All list of available parameters:

- PROFILE The Docker and Debian profile (Standard, Lightnet)". All available profiles are located in `buildkite/src/Constants/Profiles.dhall` file. Only CamelCase format is supported

- NETWORK The Docker and Debian network (Devnet, Mainnet, Berkeley). All available profiles are located in `buildkite/src/Constants/Network.dhall` file. Only CamelCase format is supported
- NETWORK The Docker and Debian network (Devnet, Mainnet). All available profiles are located in `buildkite/src/Constants/Network.dhall` file. Only CamelCase format is supported

- FROM_CHANNEL Source debian channel. By default: Unstable. All available channels are located in `buildkite/src/Constants/DebianChannel.dhall` file. Only CamelCase format is supported

Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/Dockerfile-mina-daemon
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ARG deb_suffix
ENV SUFFIX=${deb_suffix:+-${deb_suffix}}
# construct mina debian package name based on network and suffix.
# possible values:
# - mina-berkeley
# - mina-berkeley-lightnet etc.
# - mina-devnet
# - mina-devnet-lightnet etc.
ENV MINA_DEB=mina-${network}${SUFFIX}

ENV DEBIAN_FRONTEND noninteractive
Expand Down
2 changes: 1 addition & 1 deletion helm/cron_jobs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Replayer cron jobs
==================

There are replayer cron jobs for Mainnet, Devnet, and Berkeley. These
There are replayer cron jobs for Mainnet and Devnet. These
jobs are run daily, to replay a day's worth of transactions.

Each cron job downloads the most recent archive dump corresponding to
Expand Down
2 changes: 1 addition & 1 deletion scripts/debian/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function usage() {
echo " -v, --version The Debian version"
echo " -c, --codename The Debian codename"
echo ""
echo "Example: $0 --name mina-archive --release unstable --version 2.0.0berkeley-rc1-berkeley-48efea4 --codename bullseye "
echo "Example: $0 --name mina-archive --release unstable --version 2.0.0-rc1-48efea4 --codename bullseye "
exit 1
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/debian/reversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function usage() {
echo " --suite The Current Debian suite"
echo " --new-suite The New Debian suite"
echo ""
echo "Example: $0 --deb mina-archive --version 2.0.0berkeley-rc1-berkeley-48efea4 --new-version 2.0.0berkeley-rc1 --codename bullseye --release unstable --new-release umt"
echo "Example: $0 --deb mina-archive --version 2.0.0-rc1-48efea4 --new-version 2.0.0-rc1 --codename bullseye --release unstable --new-release umt"
exit 1
}

Expand Down
5 changes: 3 additions & 2 deletions src/app/rosetta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ cat dockerfiles/Dockerfile-mina-rosetta \
--build-arg "network=devnet" \
--build-arg "image=debian:bullseye" \
--build-arg "deb_codename=bullseye" \
--build-arg "deb_version=2.0.0berkeley-rc1-1551e2f" -
--build-arg "deb_release=devnet" \
--build-arg "deb_version=2.0.0devnet-rc1-1551e2f" -
```

This creates an image (`mina-rosetta:v2.0.0`) based on Debian Bullseye that
Expand Down Expand Up @@ -134,7 +135,7 @@ command:
$ MINA_ROSETTA_MAX_DB_POOL_SIZE=64 _build/default/src/app/rosetta/rosetta.exe \
--port 3087 \
--graphql-uri http://localhost:3085/graphql \
--archive-uri postgres://pguser:pguser@localhost:5432/archive_berkeley
--archive-uri postgres://pguser:pguser@localhost:5432/archive
```

The `--graphql-uri` parameter gives the address at which Rosetta can connect to
Expand Down

0 comments on commit f9e5ed8

Please sign in to comment.