From 9814c0f98c4474403f9600029e3df0729d9ada9d Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 17:54:11 +0800
Subject: [PATCH 01/13] update
---
.github/workflows/try-login.yml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 .github/workflows/try-login.yml
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
new file mode 100644
index 0000000..b4176c7
--- /dev/null
+++ b/.github/workflows/try-login.yml
@@ -0,0 +1,24 @@
+on:
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+ pull_request:
+
+ jobs:
+ bytebase-ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Login Bytebase
+ id: bytebase-login
+ uses: bytebase/login-action@main
+ with:
+ bytebase-url: ${{ secrets.BYTEBASE_URL }}
+ service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
+ service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+ - name: List projects
+ run: |
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
+ -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From bb52ada03bf9ae5f5adc4d5540c845bef8191d78 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 17:56:29 +0800
Subject: [PATCH 02/13] update
---
.github/workflows/try-login.yml | 46 ++++++++++++++++-----------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index b4176c7..6a50b50 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -1,24 +1,24 @@
on:
- push:
- branches:
- - main
- workflow_dispatch:
- pull_request:
-
- jobs:
- bytebase-ci:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Login Bytebase
- id: bytebase-login
- uses: bytebase/login-action@main
- with:
- bytebase-url: ${{ secrets.BYTEBASE_URL }}
- service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
- service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- - name: List projects
- run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
- -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
- -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+ pull_request:
+
+jobs:
+ bytebase-ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Login Bytebase
+ id: bytebase-login
+ uses: bytebase/login-action@main
+ with:
+ bytebase-url: ${{ secrets.BYTEBASE_URL }}
+ service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
+ service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+ - name: List projects
+ run: |
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
+ -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From d0b38d625bfff743166ec059fafa2139babc879d Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:02:22 +0800
Subject: [PATCH 03/13] fff
---
.github/workflows/try-login.yml | 47 +++++++++++++++++----------------
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 6a50b50..bea8483 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -1,24 +1,25 @@
on:
- push:
- branches:
- - main
- workflow_dispatch:
- pull_request:
-
-jobs:
- bytebase-ci:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Login Bytebase
- id: bytebase-login
- uses: bytebase/login-action@main
- with:
- bytebase-url: ${{ secrets.BYTEBASE_URL }}
- service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
- service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- - name: List projects
- run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
- -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
- -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+ pull_request:
+
+ jobs:
+ bytebase-ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Login Bytebase
+ id: bytebase-login
+ uses: bytebase/login-action@main
+ with:
+ bytebase-url: ${{ secrets.BYTEBASE_URL }}
+ service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
+ service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+ - name: List projects
+ run: |
+ set -x
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
+ -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From 4da47d5f597c1ea056948b7a2ecd0957a33ef4b6 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:04:16 +0800
Subject: [PATCH 04/13] update
---
.github/workflows/try-login.yml | 48 ++++++++++++++++-----------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index bea8483..42d76fb 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -1,25 +1,25 @@
on:
- push:
- branches:
- - main
- workflow_dispatch:
- pull_request:
-
- jobs:
- bytebase-ci:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Login Bytebase
- id: bytebase-login
- uses: bytebase/login-action@main
- with:
- bytebase-url: ${{ secrets.BYTEBASE_URL }}
- service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
- service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- - name: List projects
- run: |
- set -x
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
- -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
- -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
+ push:
+ branches:
+ - main
+ workflow_dispatch:
+ pull_request:
+
+jobs:
+ bytebase-ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Login Bytebase
+ id: bytebase-login
+ uses: bytebase/login-action@main
+ with:
+ bytebase-url: ${{ secrets.BYTEBASE_URL }}
+ service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
+ service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+ - name: List projects
+ run: |
+ set -x
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
+ -H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From e70fe59795b9391aa7f997e23be1f51f08aaeb8b Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:06:37 +0800
Subject: [PATCH 05/13] update
---
.github/workflows/try-login.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 42d76fb..530986f 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -19,7 +19,6 @@ jobs:
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- name: List projects
run: |
- set -x
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
- -H 'Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}' \
+ curl "${steps.bytebase-login.outputs.api_url}/v1/projects" \
+ -H "Authorization: Bearer ${steps.bytebase-login.outputs.token}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From 353cb924fe6805769fb8b3ae62ea601b532c10cc Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:07:56 +0800
Subject: [PATCH 06/13] update
---
.github/workflows/try-login.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 530986f..f28b87a 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -19,6 +19,6 @@ jobs:
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- name: List projects
run: |
- curl "${steps.bytebase-login.outputs.api_url}/v1/projects" \
- -H "Authorization: Bearer ${steps.bytebase-login.outputs.token}" \
+ curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
+ -H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From e66a6799ca7110c2ef05d5cc7ef34c185701bd74 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:09:37 +0800
Subject: [PATCH 07/13] update
---
.github/workflows/try-login.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index f28b87a..6d605b8 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -19,6 +19,6 @@ jobs:
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- name: List projects
run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From d0a34220a26ed84d937c506f1f8785656a28b817 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:12:05 +0800
Subject: [PATCH 08/13] update
---
.github/workflows/try-login.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 6d605b8..61a4f89 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -17,8 +17,12 @@ jobs:
bytebase-url: ${{ secrets.BYTEBASE_URL }}
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+ - name: Debug API URL
+ run: |
+ echo "API URL Length: ${#${{ steps.bytebase-login.outputs.api_url }}}"
+ echo "Token Length: ${#${{ steps.bytebase-login.outputs.token }}}"
- name: List projects
run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From fa47048eb6fd8fccc0952aab8b26019e4d12acdf Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:13:01 +0800
Subject: [PATCH 09/13] update
---
.github/workflows/try-login.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 61a4f89..2858074 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -19,8 +19,8 @@ jobs:
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
- name: Debug API URL
run: |
- echo "API URL Length: ${#${{ steps.bytebase-login.outputs.api_url }}}"
- echo "Token Length: ${#${{ steps.bytebase-login.outputs.token }}}"
+ echo "API URL Length: $(echo -n "${{ steps.bytebase-login.outputs.api_url }}" | wc -c)"
+ echo "Token Length: $(echo -n "${{ steps.bytebase-login.outputs.token }}" | wc -c)"
- name: List projects
run: |
curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
From 02c936408bdc1790c9939c128794928c159c8a67 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:15:59 +0800
Subject: [PATCH 10/13] update
---
.github/workflows/try-login.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 2858074..01c3d18 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -17,12 +17,14 @@ jobs:
bytebase-url: ${{ secrets.BYTEBASE_URL }}
service-key: ${{ secrets.BYTEBASE_SERVICE_KEY }}
service-secret: ${{ secrets.BYTEBASE_SERVICE_SECRET }}
+
- name: Debug API URL
run: |
echo "API URL Length: $(echo -n "${{ steps.bytebase-login.outputs.api_url }}" | wc -c)"
echo "Token Length: $(echo -n "${{ steps.bytebase-login.outputs.token }}" | wc -c)"
+
- name: List projects
run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/v1/projects" \
+ curl "${{ steps.bytebase-login.outputs.api_url }}projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From 0b501c2f18c52181d9565db9055bd79506a0a48f Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:22:42 +0800
Subject: [PATCH 11/13] update
---
.github/workflows/try-login.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index 01c3d18..c960a52 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -25,6 +25,6 @@ jobs:
- name: List projects
run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}projects" \
+ curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From e4caf752845749e96cb77048e0c954a568247a27 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:25:18 +0800
Subject: [PATCH 12/13] update
---
.github/workflows/try-login.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/try-login.yml b/.github/workflows/try-login.yml
index c960a52..9d8b898 100644
--- a/.github/workflows/try-login.yml
+++ b/.github/workflows/try-login.yml
@@ -25,6 +25,6 @@ jobs:
- name: List projects
run: |
- curl "${{ steps.bytebase-login.outputs.api_url }}/projects" \
+ curl "${{steps.bytebase-login.outputs.api_url}}/projects" \
-H "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
-H 'Content-Type: application/json; charset=utf-8'
\ No newline at end of file
From 36bbe48571ee0119627801dec557f73a6eabab05 Mon Sep 17 00:00:00 2001
From: adela
Date: Wed, 15 Jan 2025 18:26:39 +0800
Subject: [PATCH 13/13] update
---
masking/semantic-type.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/masking/semantic-type.json b/masking/semantic-type.json
index 97bdc12..f03e55c 100644
--- a/masking/semantic-type.json
+++ b/masking/semantic-type.json
@@ -15,7 +15,7 @@
},
{
"id": "e8d3fd41-eba0-4afd-ae0f-32c91a4ee710",
- "title": "Personal sensitive data x",
+ "title": "Personal sensitive data",
"description": "Custom semantic type with full masking for personal sensitive data",
"algorithm": {
"fullMask": {