Skip to content

Commit

Permalink
changed docker from ubuntu to bullseye
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Jul 26, 2023
1 parent 16ae7c3 commit 0bd0cbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions buildkite/scripts/replayer-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ PGPASSWORD=arbitraryduck
set -eo pipefail

echo "Updating apt, installing packages"
apt-get update
sudo 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" | apt-get install -y tzdata
apt-get install -y git apt-transport-https ca-certificates curl wget
/bin/echo -e "12\n10" | sudo apt-get install -y tzdata
sudo apt-get install -y git apt-transport-https ca-certificates curl wget

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

Expand All @@ -21,25 +21,25 @@ source buildkite/scripts/export-git-env-vars.sh
#download postgres 15

# Create the file repository configuration
echo "deb [trusted=yes] http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
echo "deb [trusted=yes] http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list

# Import the repository signing key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | tee /etc/apt/trusted.gpg.d/pgdg.asc &>/dev/null
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo tee /etc/apt/trusted.gpg.d/pgdg.asc &>/dev/null

# Update list of available packages
apt update
sudo apt update

# Download postgres
apt install postgresql-15 postgresql-client-15 -y
sudo apt install postgresql-15 postgresql-client-15 -y

# Check version
psql --version

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

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

echo "Generating locale for Postgresql"
locale-gen en_US.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Command/ReplayerTest.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let Cmd = ../Lib/Cmds.dhall in
commands = [
Cmd.runInDocker
Cmd.Docker::{
image = (../Constants/ContainerImages.dhall).ubuntu2004
image = (../Constants/ContainerImages.dhall).minaToolchainBullseye
}
"./buildkite/scripts/replayer-test.sh"
],
Expand Down

0 comments on commit 0bd0cbd

Please sign in to comment.