Skip to content

Commit a99e7d8

Browse files
authored
docs: gitlab tut fixed (#469)
1 parent b78baeb commit a99e7d8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

content/docs/share/tutorials/database-workflow-advanced-features.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ You may upgrade to Enterprise plan to explore more features.
44

55
Go to **Environments** > **Prod**, Find **Rollout policy** section, and choose **Manual rollout** > **Require rolling out by dedicated roles**.
66

7-
![bb-env-prod-manual-rollout](/content/docs/share/tutorials/bb-env-prod-manual-rollout.webp)
7+
![bb-env-prod-manual-rollout](/content/docs/tutorials/share/bb-env-prod-manual-rollout.webp)
88

99
### Custom Approval
1010

1111
1. Go to **CI/CD** > **Custom Approval**. Set `Project Owner -> DBA` as Approval flow for **DDL** > **High Risk**.
1212

13-
![bb-custom-approval](/content/docs/share/tutorials/bb-custom-approval.webp)
13+
![bb-custom-approval](/content/docs/tutorials/share/bb-custom-approval.webp)
1414

1515
1. Go to **CI/CD** > **Risk Center**. Click **Add rule** and click **Load** for the first template. Click **Add**.
1616

17-
![bb-risk-center-ddl-high](/content/docs/share/tutorials/bb-risk-center-ddl-high.webp)
17+
![bb-risk-center-ddl-high](/content/docs/tutorials/share/bb-risk-center-ddl-high.webp)
1818

1919
### Schema Drift
2020

@@ -31,6 +31,6 @@ Bytebase has built-in [schema drift detection](/docs/change-database/drift-detec
3131

3232
1. Go back to Bytebase Console, and click **Databases** > `employee` under `Prod`. Click **Sync Now**. After seeing the success message, refresh the page. You'll see the schema drift. You may configure auto scan on instance detail page to avoid manual sync.
3333

34-
![bb-db-schema-drift](/content/docs/share/tutorials/bb-db-schema-drift.webp)
34+
![bb-db-schema-drift](/content/docs/tutorials/share/bb-db-schema-drift.webp)
3535

3636
1. Go to **Database** > **Anomalies**, and you'll see the Schema drift there too.

content/docs/share/tutorials/database-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DORA (DevOps Research & Assessment) [pointed out](https://cloud.google.com/archi
44

55
But how does it work, really? Here, we present our envisioned Database CI/CD workflow.
66

7-
![database-devops-workflow](/content/docs/share/tutorials/cicd-workflow.webp)
7+
![database-devops-workflow](/content/docs/tutorials/share/cicd-workflow.webp)
88

99
1. The developer creates a Pull Request containing the SQL script;
1010
1. SQL Review CI is automatically triggered to review SQL and offers suggestions via a comment in the PR;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
1. Go to **CI/CD > SQL Review** in workspace, choose `Prod` as the environment. Make sure a SQL review policy is attached and enabled on `Prod`.
22

3-
![bb-sql-review](/content/docs/share/tutorials/bb-sql-review.webp)
3+
![bb-sql-review](/content/docs/tutorials/share/bb-sql-review.webp)
44

55
1. Click **Edit**, click **PostgreSQL** tab. Make sure `Enforce "NOT NULL" constraints on columns` is enabled. This is to make sure the SQL Review can work.
66

7-
![bb-sql-review-not-null](/content/docs/share/tutorials/bb-sql-review-not-null.webp)
7+
![bb-sql-review-not-null](/content/docs/tutorials/share/bb-sql-review-not-null.webp)

content/docs/tutorials/database-cicd-best-practice-with-gitlab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Here's a step-by-step tutorial on how to set up this Database CI/CD with GitLab
4444

4545
1. Go to `https://gitlab.com/` and create a new project `bb-gitops-2024`. Click **Create project**.
4646

47-
1. Go to Bytebase, go to the `Sample Project`. Click **Integration >GitOps** on the left and click **Add GitOps connector**. Choose `GitLab.com` (the git provider you just configured) and `Bytebase Sample/bb-gitops-2024` (the repository you just created).
47+
1. Go to Bytebase, go to the `Sample Project`. Click **Integration > GitOps** on the left and click **Add GitOps connector**. Choose `GitLab.com` (the git provider you just configured) and `Bytebase Sample/bb-gitops-2024` (the repository you just created).
4848

4949
1. Keep the default settings for the remaining fields and click **Finish**. The gitops connector is created successfully.
5050
![bb-gitops-gitlab-configure](/content/docs/tutorials/database-cicd-best-practice-with-gitlab/bb-gitops-gitlab-configure.webp)

0 commit comments

Comments
 (0)