Skip to content

Commit

Permalink
add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Nov 12, 2023
1 parent 3a66892 commit 8ca2daa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildkite/scripts/replayer-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ TEST_DIR=/workdir/src/app/replayer/
set -eox pipefail

echo "Updating apt, installing packages"
sudo apt-get update
apt-get update
# Don't prompt for answers during apt-get install
export DEBIAN_FRONTEND=noninteractive

# time zone = US Pacific
/bin/echo -e "12\n10" | sudo apt-get install -y tzdata
sudo apt-get install -y git apt-transport-https ca-certificates curl wget
apt-get install -y git apt-transport-https ca-certificates curl wget

git config --global --add safe.directory /workdir

source buildkite/scripts/export-git-env-vars.sh

echo "deb [trusted=yes] http://packages.o1test.net bullseye ${MINA_DEB_RELEASE}" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update
apt-get update

echo "Installing archive node package: mina-archive=${MINA_DEB_VERSION}"
sudo apt-get install --allow-downgrades -y mina-archive=${MINA_DEB_VERSION}
apt-get install --allow-downgrades -y mina-archive=${MINA_DEB_VERSION}

echo "Starting Postgresql service"
sudo service postgresql start
service postgresql start

echo "Postgres is up - executing command"

Expand Down

0 comments on commit 8ca2daa

Please sign in to comment.