File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,25 +11,10 @@ steps:
1111 npm install -g npm@latest
1212 npm config set prefix /usr/local
1313 npm install
14+ npm run presystem-test
1415 dir : ' handwritten/bigtable' # Changed to '.' as the cloudbuild.yaml is in this directory
1516 id : ' install-dependencies'
1617
17- # 2. (Optional) Run pre-system-test.sh if it exists
18- - name : ' gcr.io/cloud-builders/npm/pre-system-test'
19- entrypoint : ' npm'
20- args : ['run', 'presystem-test']
21- dir : ' handwritten/bigtable'
22- env :
23- - ' GCLOUD_PROJECT=${_GCP_PROJECT_ID}' # Pass project ID via build variable
24- # If you need specific credentials from Secret Manager, uncomment these:
25- # - 'GOOGLE_APPLICATION_CREDENTIALS=/secrets/sa-key.json'
26- id : ' pre-run-system-tests'
27- # For Secret Manager, uncomment these (adjust secret name and volume path as needed):
28- # secretEnv: ['SA_KEY']
29- # volumes:
30- # - name: 'sa-keys'
31- # path: '/secrets'
32-
3318# 3. Configure environment variables for the tests and run system tests
3419# - GOOGLE_APPLICATION_CREDENTIALS: GCB steps run as a service account
3520# that is typically granted permissions directly. Explicitly setting
You can’t perform that action at this time.
0 commit comments