From c127f0a959a6202de390c0e5a7ae3605484f1a66 Mon Sep 17 00:00:00 2001 From: Nia Weiss Date: Thu, 8 Apr 2021 10:20:16 -0400 Subject: [PATCH] update the package database before installing dependencies in CI --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b37e827b..1d5343f03 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,6 +104,7 @@ jobs: resource_class: << parameters.resource_class >> steps: - checkout-plus + - run: sudo apt-get update - run: sudo apt-get install lsof - run: command: make << parameters.test_make_target >> SHARD_WIDTH=<< parameters.shard_width >> GOARCH=<< parameters.goarch >> @@ -116,6 +117,7 @@ jobs: POSTGRES_PASSWORD=password steps: - checkout-plus + - run: sudo apt-get update - run: sudo apt-get install postgresql-client - run: (for i in `seq 1 20`; do pg_isready -h localhost && exit 0 || sleep 1; done; exit 1) - run: