You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Support querying by tags for GIT affected. (google#3489)
Also smoothed out some pain points in testing
Changes made:
- Edited preput to also include repo name in project field if it
contains a GIT affected field
- Added special matching rules to match package name against repo_urls,
and GIT ecosystems
- Removed footgun in the hard coded GOOGLE_CLOUD_PROJECT being oss-vdb,
so you can edit it only in the make file to change projects. Added
run-api-server-test to run api server in test instance.
Copy file name to clipboardExpand all lines: Makefile
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,12 @@ run-website-emulator:
61
61
run-api-server:
62
62
test -f $(HOME)/.config/gcloud/application_default_credentials.json || (echo "GCP Application Default Credentials not set, try 'gcloud auth login --update-adc'";exit 1)
63
63
cd gcp/api && docker build -f Dockerfile.esp -t osv/esp:latest .
64
-
cd gcp/api &&$(install-cmd)&& GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(ARGS)
64
+
cd gcp/api &&$(install-cmd)&& GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(ARGS)# Run with `make run-api-server ARGS=--no-backend` to launch esp without backend.
65
+
66
+
run-api-server-test:
67
+
test -f $(HOME)/.config/gcloud/application_default_credentials.json || (echo "GCP Application Default Credentials not set, try 'gcloud auth login --update-adc'";exit 1)
68
+
cd gcp/api && docker build -f Dockerfile.esp -t osv/esp:latest .
69
+
cd gcp/api &&$(install-cmd)&& GOOGLE_CLOUD_PROJECT=oss-vdb-test $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(ARGS)
0 commit comments