Skip to content

Commit

Permalink
add comment and fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Oct 30, 2024
1 parent db9ad4f commit ca1a34b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ run-appengine-staging:
cd gcp/appengine/blog && hugo --buildFuture -d ../dist/static/blog
cd gcp/appengine && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb-test $(run-cmd) python main.py

# Run with `make run-api-server ARGS=--no-backend` to launch esp without backend.
run-api-server:
test -f $(HOME)/.config/gcloud/application_default_credentials.json || (echo "GCP Application Default Credentials not set, try 'gcloud auth login --update-adc'"; exit 1)
cd gcp/api && docker build -f Dockerfile.esp -t osv/esp:latest .
cd gcp/api && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(NOBACKUP)
cd gcp/api && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python test_server.py $(HOME)/.config/gcloud/application_default_credentials.json $(ARGS)

# TODO: API integration tests.
all-tests: lib-tests worker-tests importer-tests alias-tests appengine-tests vulnfeed-tests

0 comments on commit ca1a34b

Please sign in to comment.