Skip to content

Commit

Permalink
Use project info from google-cloud-python
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Jan 31, 2019
1 parent 41af292 commit d9cf89b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export PYTHONUNBUFFERED=1
env | grep KOKORO

# TODO: Set up directory with service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/google-cloud-python/service-account.json
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json

# TODO: Setup project id.
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/google-cloud-python/project-id.json")
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")

python3.6 -m pip install nox
python3.6 -m nox -s lint tests system_tests cover
3 changes: 3 additions & 0 deletions .kokoro/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ action {
# Download trampoline resources.
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Download resources for system tests (service account key, etc.)
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-python"

# Use the trampoline script to run in docker.
build_file: "google-cloud-python-happybase/.kokoro/trampoline.sh"

Expand Down

0 comments on commit d9cf89b

Please sign in to comment.