- Notifications
You must be signed in to change notification settings - Fork1k
test(Makefile): retry pulling postgres in test-postgres-docker#16178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -864,6 +864,12 @@ test-migrations: test-postgres-docker | ||
# NOTE: we set --memory to the same size as a GitHub runner. | ||
test-postgres-docker: | ||
docker rm -f test-postgres-docker-${POSTGRES_VERSION} || true | ||
# Try pulling up to three times to avoid CI flakes. | ||
docker pull gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION} || \ | ||
docker pull gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION} || \ | ||
docker pull gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION} | ||
| ||
# Make sure to not overallocate work_mem and max_connections as each | ||
# connection will be allowed to use this much memory. Try adjusting | ||
# shared_buffers instead, if needed. | ||
Uh oh!
There was an error while loading.Please reload this page.