Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4814457

Browse files
committed
test(Makefile): retry pulling postgres in test-postgres-docker
1 parent0697308 commit4814457

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,12 @@ test-migrations: test-postgres-docker
864864
# NOTE: we set --memory to the same size as a GitHub runner.
865865
test-postgres-docker:
866866
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+
867873
# Make sure to not overallocate work_mem and max_connections as each
868874
# connection will be allowed to use this much memory. Try adjusting
869875
# shared_buffers instead, if needed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp