We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0697308 commit 4814457Copy full SHA for 4814457
Makefile
@@ -864,6 +864,12 @@ test-migrations: test-postgres-docker
864
# NOTE: we set --memory to the same size as a GitHub runner.
865
test-postgres-docker:
866
docker rm -f test-postgres-docker-${POSTGRES_VERSION} || true
867
+
868
+ # Try pulling up to three times to avoid CI flakes.
869
+ docker pull gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION} || \
870
+ gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION} || \
871
+ gcr.io/coder-dev-1/postgres:${POSTGRES_VERSION}
872
873
# Make sure to not overallocate work_mem and max_connections as each
874
# connection will be allowed to use this much memory. Try adjusting
875
# shared_buffers instead, if needed.
0 commit comments