Skip to content

Commit

Permalink
Merge pull request #21 from tsloughter/flyway-no-update-check
Browse files Browse the repository at this point in the history
flyway: don't check for updates when starting containers
  • Loading branch information
tsloughter authored Sep 25, 2023
2 parents 736ac80 + ea1a7cd commit f4e574e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployment/base/init_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
- "-user=$(POSTGRES_USER)"
- "-password=$(POSTGRES_PASSWORD)"
- "-connectRetries=60"
- "-skipCheckForUpdate"
- validate
volumeMounts:
- name: migrations
Expand Down
1 change: 1 addition & 0 deletions deployment/postgres/flyway-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
- -user=$(POSTGRES_USER)
- -password=$(POSTGRES_PASSWORD)
- -connectRetries=60
- -skipCheckForUpdate
- migrate
image: flyway/flyway:9.22
name: flyway
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- -user=discovery
- -password=password
- -connectRetries=60
- -skipCheckForUpdate
- migrate
volumes:
- ./apps/service_discovery_postgres/priv/migrations:/flyway/sql
Expand Down
1 change: 1 addition & 0 deletions test/service_discovery_SUITE_data/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- -user=discovery
- -password=password
- -connectRetries=60
- -skipCheckForUpdate
- migrate
volumes:
- ../../apps/service_discovery_postgres/priv/migrations:/flyway/sql
Expand Down

0 comments on commit f4e574e

Please sign in to comment.