Files
Tom Chien (IQ-AS) 36025062db
CI/CD (dev on branch, prod on tag) / setup (push) Canceled after 0s
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Canceled after 0s
test
2026-11-17 14:32:28 +08:00

48 lines
3.5 KiB
JSON

{
"permissions": {
"allow": [
"mcp__figma-console__figma_get_status",
"mcp__figma-console__figma_take_screenshot",
"mcp__figma-console__figma_get_selection",
"mcp__figma-console__figma_execute",
"mcp__figma-console__figma_reconnect",
"mcp__figma-console__figma_capture_screenshot",
"mcp__figma-console__figma_get_file_data",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && ls -la && node --version && npm --version)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npm install 2>&1 | tail -n 20)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npx prisma generate 2>&1 | tail -n 25)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npx prisma migrate dev --name init 2>&1 | tail -n 30)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npm run build 2>&1 | tail -n 45)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npm run build 2>&1 | tail -n 40)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && rm -rf src/app/budgets src/app/reports && echo \"removed\" && ls src/app)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npm run build 2>&1 | tail -n 30)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && tasklist | grep -i node || echo \"no node\"; echo \"---\"; npx next build 2>&1 | tail -n 35)",
"Bash(cd \"C:\\\\Users\\\\tom_chien\\\\Desktop\\\\TrendMicro_Projetc\\\\it_cost_dashboad\" && npx next build 2>&1 | tail -n 12)",
"Bash(cd \"C:/Users/tom_chien/Desktop/TrendMicro_Projetc/it_cost_dashboad\" && npx prisma migrate dev --name add_year --skip-seed 2>&1 | tail -30)",
"Bash(cd \"C:/Users/tom_chien/Desktop/TrendMicro_Projetc/it_cost_dashboad\" && taskkill //F //IM node.exe 2>&1 | head -5; sleep 1; npx prisma generate 2>&1 | tail -10)",
"Bash(cd \"C:/Users/tom_chien/Desktop/TrendMicro_Projetc/it_cost_dashboad\" && npx next build 2>&1 | tail -40)",
"Bash(taskkill //F //IM node.exe 2>&1 | head -3)",
"Bash(cd:*)",
"Bash(ssh:*)",
"Bash(node:*)",
"Bash(git fetch:*)",
"Bash(command:*)",
"Bash(timeout:*)",
"Bash(git:*)",
"Bash(/tmp/windows-amd64/helm.exe template:*)",
"Bash(echo \"exit=$?\")",
"Read(//tmp/**)",
"Bash(tail:*)",
"Bash(mkdir:*)",
"Bash(python3:*)",
"Bash(npx tsc:*)",
"Bash(ls node_modules/.bin/tsc* 2>/dev/null || echo \"no local tsc\"; ls node_modules 2>/dev/null | head -3)",
"Bash(npm ci:*)",
"Bash(./node_modules/.bin/prisma generate:*)",
"Bash(npm run:*)",
"Bash(cd \"/c/Users/tom_chien/Desktop/it_cost_dashboad.git_V02\" && sed -i 's/\\\\${JFROG_REGISTRY}/\\\\${REGISTRY}/g' .gitea/workflows/cicd.yaml && grep -n \"JFROG\\\\|REGISTRY\" .gitea/workflows/cicd.yaml)",
"Bash(cd \"/c/Users/tom_chien/Desktop/it_cost_dashboad.git_V02\" && grep -n \"REGISTRY\\\\|harbor\\\\|Harbor\" .gitea/workflows/cicd.yaml && helm lint ./helm -f helm/values-dev.yaml --set server.image.repository=x --set server.image.tag=t --set db.image.repository=y --set db.image.tag=t --set secrets.authSecret=a --set secrets.dbRootPassword=b --set secrets.localAdminPassword=c 2>&1 | tail -5)"
]
}
}