Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: FE git commit for CI (#10858)

Liu Ji002f615989a2
diff --git a/.github/workflows/build-push-ci-image-depot.yml b/.github/workflows/build-push-ci-image-depot.yml
index 58a5a7927a..ce819271aa 100644
--- a/.github/workflows/build-push-ci-image-depot.yml
+++ b/.github/workflows/build-push-ci-image-depot.yml
@@ -35,6 +35,7 @@ jobs:
run: |
cp backend/plugin/advisor/config/* frontend/src/types
cp backend/enterprise/api/plan.yaml frontend/src/types
+ export BB_GIT_COMMIT_ID_FE=${{ env.GIT_COMMIT }}
pnpm --dir ./frontend i && pnpm --dir ./frontend release
- name: Login to DockerHub
uses: docker/login-action@v3
diff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.yml
index 9fec4cb034..a48b5dd492 100644
--- a/.github/workflows/build-push-release-image.yml
+++ b/.github/workflows/build-push-release-image.yml
@@ -37,6 +37,7 @@ jobs:
run: |
cp backend/plugin/advisor/config/* frontend/src/types
cp backend/enterprise/api/plan.yaml frontend/src/types
+ export BB_GIT_COMMIT_ID_FE=${{ env.GIT_COMMIT }}
pnpm --dir ./frontend i && pnpm --dir ./frontend release
- name: Login to DockerHub
uses: docker/login-action@v3
diff --git a/frontend/package.json b/frontend/package.json
index 01815b48e8..6463f8118e 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -6,10 +6,10 @@
"copy:config-files": "sh ./scripts/copy_config_files.sh",
"copy:all": "npm run copy:monaco-workers && npm run copy:config-files",
"dev": "export BB_GIT_COMMIT_ID_FE=`git rev-parse HEAD` && export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite --mode dev-local",
- "release": "export BB_GIT_COMMIT_ID_FE=`git rev-parse HEAD` && export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release --outDir=../backend/server/dist --emptyOutDir",
+ "release": "export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release --outDir=../backend/server/dist --emptyOutDir",
"dev-embed": "export BB_GIT_COMMIT_ID_FE=`git rev-parse HEAD` && export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode dev --outDir=../backend/server/dist --emptyOutDir",
- "release-docker": "export BB_GIT_COMMIT_ID_FE=`git rev-parse HEAD` && export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release",
- "release-aws": "export BB_GIT_COMMIT_ID_FE=`git rev-parse HEAD` && export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release-aws",
+ "release-docker": "export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release",
+ "release-aws": "export NODE_OPTIONS=--max_old_space_size=8000 && npm run copy:all && vite build --mode release-aws",
"lint": "eslint --cache --ext .js,.ts,.tsx,.vue src",
"lint:fix": "eslint --cache --ext .js,.ts,.tsx,.vue --fix src",
"bundle-visualize": "vite-bundle-visualizer -c vite.config.ts",