From f65854c1dd534815c602ede42899f3ce23d4ab6d Mon Sep 17 00:00:00 2001 From: Ahmad Wilson Date: Mon, 24 Aug 2020 06:45:31 -0400 Subject: [PATCH] add apt update to archive node CI postgres setup script --- buildkite/scripts/setup-database-for-archive-node.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildkite/scripts/setup-database-for-archive-node.sh b/buildkite/scripts/setup-database-for-archive-node.sh index 90a49d8cd14..eaf39c2242f 100755 --- a/buildkite/scripts/setup-database-for-archive-node.sh +++ b/buildkite/scripts/setup-database-for-archive-node.sh @@ -6,7 +6,7 @@ user=$1 password=$2 db=$3 -sudo apt-get install -y postgresql +sudo apt-get update -y && sudo apt-get install -y postgresql sudo service postgresql start sudo -u postgres psql -c "CREATE USER ${user} WITH SUPERUSER PASSWORD '${password}';" -sudo -u postgres createdb -O $user $db \ No newline at end of file +sudo -u postgres createdb -O $user $db