Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion samples/snippets/noxfile.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,7 +43,7 @@
# to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
# build specific Cloud project. You can also use your own string
# to use your own Cloud project.
'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
'gcloud_project_env': 'GCLOUD_PROJECT',
# 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',

# A dictionary you want to inject into your test. Don't put any
Expand DownExpand Up@@ -72,6 +72,7 @@ def get_pytest_env_vars():
env_key = TEST_CONFIG['gcloud_project_env']
# This should error out if not set.
ret['GOOGLE_CLOUD_PROJECT'] = os.environ[env_key]
Comment thread
anguillanneuf marked this conversation as resolved.
ret['GCLOUD_PROJECT'] = os.environ[env_key]

# Apply user supplied envs.
ret.update(TEST_CONFIG['envs'])
Expand Down
9 changes: 8 additions & 1 deletion synth.metadata
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-pubsub.git",
"sha": "71d70822c816062ef10d6d7584c4f8ed038d923f"
"sha": "e204b86e34346b6d456771ef4d4cfe5e15e53238"
}
},
{
Expand All@@ -22,6 +22,13 @@
"sha": "cf2eff09d0f5319a4dc5cdce2b6356d85af4a798"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "cf2eff09d0f5319a4dc5cdce2b6356d85af4a798"
}
},
{
"git": {
"name": "synthtool",
Expand Down