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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GOMIGRATE_VERSION | Version of golang-migrate to use (e.g., v4.15.2) | yes | — |
| DB_USER | Database user with permissions to run migrations, pass this through as a GitHub secret for security | yes | — |
| DB_PASSWORD | Password for the database user, pass this through as a GitHub secret for security | yes | — |
| DB_NAME | Name of the database to run migrations against | yes | — |
| GCP_PROJECT_ID | GCP Project ID where the bastion VM and Cloud SQL instance are located, pass this through as a GitHub secret for security | yes | — |
| BASTION_VM_NAME | Name of the GCP VM instance to use as a bastion host | yes | — |
| BASTION_VM_ZONE | Zone where the GCP VM instance is located (e.g., us-central1-a) | yes | — |
| SSH_NAME | Name of the SSH name you would like to have when it SSHs into the bastion host | no | github-action-go-migration |
Outputs
no outputs