Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move liquidbase.properties off local machine. #239

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

markmandel
Copy link
Member

This moves the liquidbase.properties file into a GCS bucket, so it's referencable from the Cloud Build script that does the Spanner schema migration.

This moves the file off the local file system, which is a pre-requisite work for #192, and should also be done before marking #181 as complete.

To test:

cd $GAME_DEMO_HOME/infrastructure
terraform apply
cd $GAME_DEMO_HOME/infrastructure/schema
gcloud builds submit --config=cloudbuild.yaml

There should be no changes to the schema.

This moves the liquidbase.properties file into a GCS bucket, so it's
referencable from the Cloud Build script that does the Spanner schema
migration.

This moves the file off the local file system, which is a pre-requisite
work for googleforgames#192, and should also be done before marking googleforgames#181 as complete.
Copy link
Collaborator

@abmarcum abmarcum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Able to run the suggested test listed in the PR and see that the liquibase.properties file is downloaded from GCS.

Changes LGTM.

@markmandel markmandel merged commit 44b11fb into googleforgames:main Mar 12, 2024
1 check passed
@markmandel markmandel deleted the spanner/gcs-bucket branch March 12, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants