Merge pull request #1562 from niaow/update-before-install

Update the package database before installing dependencies in CI
This commit is contained in:
Nia 2021-04-08 10:46:47 -04:00 committed by GitHub
commit dbf9b14963
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: