Skip to content

Commit

Permalink
ci: add project id for Datastore tests (#3635)
Browse files Browse the repository at this point in the history
  • Loading branch information
ava12 authored Jan 19, 2021
1 parent 2631206 commit 93cf8bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/emulator/start-emulator.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/sh -eux

docker pull -q gcr.io/google.com/cloudsdktool/cloud-sdk:316.0.0-emulators
docker run \
CONTAINER=`docker run \
-d \
-p 8085:8085 \
gcr.io/google.com/cloudsdktool/cloud-sdk:316.0.0-emulators gcloud beta emulators $1 start --host-port=0.0.0.0:8085
gcr.io/google.com/cloudsdktool/cloud-sdk:316.0.0-emulators gcloud beta emulators $1 start --host-port=0.0.0.0:8085 --project=emulator-project`
sleep 10
docker logs $CONTAINER

0 comments on commit 93cf8bd

Please sign in to comment.