japerry911/Go-Migrate-Action

A custom GitHub Action to build and run a Docker container for Go migrations in a Private Cloud SQL GCP environment.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GOMIGRATE_VERSIONVersion of golang-migrate to use (e.g., v4.15.2)yes—
DB_USERDatabase user with permissions to run migrations, pass this through as a GitHub secret for securityyes—
DB_PASSWORDPassword for the database user, pass this through as a GitHub secret for securityyes—
DB_NAMEName of the database to run migrations againstyes—
GCP_PROJECT_IDGCP Project ID where the bastion VM and Cloud SQL instance are located, pass this through as a GitHub secret for securityyes—
BASTION_VM_NAMEName of the GCP VM instance to use as a bastion hostyes—
BASTION_VM_ZONEZone where the GCP VM instance is located (e.g., us-central1-a)yes—
SSH_NAMEName of the SSH name you would like to have when it SSHs into the bastion hostnogithub-action-go-migration

no outputs