Add declarative SDL workflow for MySQL - #64
Closed
adela-bytebase wants to merge 235 commits into
Closed
Conversation
update emp nickname
add new schem and table
Replaced 'name' column with 'username' in table t0.
Create 1.0.0_create_table_t0.sql
Create initial database schema with tables and triggers
Removed the 't0' table definition from the schema.
Delete 't0' table from schema.sql
Delete schema directory
Create schema.sql
Create table 't1' with id and username columns
Create table 't0' with id and username columns
Create table t2 with id and username columns
Created a new table 't2' with an 'id' and 'username' column.
Create table 't2' in migrations-semver
Create table t2 with id and username columns
Changed 'username' column to allow NULL values.
Modify 'username' column to allow NULL values
Create table t2 with id and username columns
Create table t2 with id and username columns
Mirrors the existing Postgres declarative pipeline against the new mysql-project / mysql-test-instance-05k8 (testdb, proddb) for testing the SDL feature on MySQL.
Contributor
Author
|
Opened against the wrong repo by mistake (meant to target my fork, not upstream). Closing — see adela-bytebase/example-gitops-github-flow instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
schema-mysql/schema.sqlwith a starter MySQL DDL schema (employee,department)declarative-release-action-mysql.yml: build → create-rollout → test (auto) → prod (manual approval), triggered on push tomaintouchingschema-mysql/*.sqldeclarative-sql-review-action-mysql.yml: PR check againstproddb, reusing.bytebase/sql-review.mdMirrors the existing Postgres declarative pipeline (
declarative-release-action.yml/declarative-sql-review-action.yml), targetingprojects/mysql-project, instancemysql-test-instance-05k8, databasestestdb/proddb.Test plan
mainand confirm the rollout workflow creates a plan and deploys totestdbprodenvironment gate and confirm deploy toproddb