Skip to content

Feat/test migration #32

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

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
- "migrations-semver/*.sql"

env:
BYTEBASE_URL: https://demo.bytebase.com
BYTEBASE_SERVICE_ACCOUNT: api@service.bytebase.com
BYTEBASE_URL: https://58785c2f9e11.ngrok-free.app
BYTEBASE_SERVICE_ACCOUNT: bunge-poc@service.bytebase.com
BYTEBASE_SERVICE_ACCOUNT_SECRET: ${{ secrets.BYTEBASE_SERVICE_ACCOUNT_SECRET }}
BYTEBASE_PROJECT: "projects/hr"
BYTEBASE_PROJECT: "projects/bunge-poc"

jobs:
build:
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@v4
- name: rollout
env:
BYTEBASE_TARGETS: "instances/test-sample-instance/databases/hr_test,instances/prod-sample-instance/databases/hr_prod"
BYTEBASE_TARGETS: "instances/dev-instance/databases/bytebase-dev, instances/prod-instance/databases/prod-database"
FILE_PATTERN: "migrations-semver/*.sql"
BYTEBASE_OUTPUT: ${{ runner.temp }}/bytebase-metadata.json
run: |
Expand Down
4 changes: 4 additions & 0 deletions migrations-semver/202503131500_create_table_t1_ddl.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE TABLE t1 (
id SERIAL PRIMARY KEY,
name TEXT
);