Skip to content

chore: configure BUILD_SPECIFIC_GCLOUD_PROJECT for samples CI#148

Merged
kolea2 merged 1 commit intomasterfrom
autosynth-synthtool
Nov 16, 2020
Merged

chore: configure BUILD_SPECIFIC_GCLOUD_PROJECT for samples CI#148
kolea2 merged 1 commit intomasterfrom
autosynth-synthtool

Conversation

@yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/754b31d4-619a-44bd-8949-623b99df0621/targets

  • To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@9b0da52

https://github.com/googleapis/python-talent/blob/ef045e8eb348db36d7a2a611e6f26b11530d273b/samples/snippets/noxfile_config.py#L27-L32

`BUILD_SPECIFIC_GCLOUD_PROJECT` is an alternate project used for sample tests that do poorly with concurrent runs on the same project.

Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Wed Sep 30 13:06:03 2020 -0600
Source-Repo: googleapis/synthtool
Source-Sha: 9b0da5204ab90bcc36f8cd4e5689eff1a54cc3e4
Source-Link: googleapis/synthtool@9b0da52
@yoshi-automation yoshi-automation requested a review from a team as a code owner October 1, 2020 12:38
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 1, 2020
Copy link
Contributor

@tseaver tseaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICS, none of the samples/*/noxfile.py files actually use this envvar: it is present only in commented-out options:

$ git grep -B 1 BUILD_SPECIFIC | tee /tmp/foo.bar
samples/beam/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/beam/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/beam/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/beam/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/hello/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/hello/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/hello/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/hello/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/hello_happybase/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/hello_happybase/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/hello_happybase/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/hello_happybase/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/instanceadmin/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/instanceadmin/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/instanceadmin/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/instanceadmin/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/metricscaler/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/metricscaler/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/metricscaler/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/metricscaler/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/quickstart/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/quickstart/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/quickstart/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/quickstart/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/quickstart_happybase/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/quickstart_happybase/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/quickstart_happybase/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/quickstart_happybase/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/snippets/filters/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/snippets/filters/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/snippets/filters/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/snippets/filters/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/snippets/reads/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/snippets/reads/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/snippets/reads/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/snippets/reads/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/snippets/writes/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/snippets/writes/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/snippets/writes/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/snippets/writes/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',
--
samples/tableadmin/noxfile.py-    # An envvar key for determining the project id to use. Change it
samples/tableadmin/noxfile.py:    # to 'BUILD_SPECIFIC_GCLOUD_PROJECT' if you want to opt in using a
--
samples/tableadmin/noxfile.py-    'gcloud_project_env': 'GOOGLE_CLOUD_PROJECT',
samples/tableadmin/noxfile.py:    # 'gcloud_project_env': 'BUILD_SPECIFIC_GCLOUD_PROJECT',

@product-auto-label product-auto-label bot added api: bigtable Issues related to the googleapis/python-bigtable API. samples Issues that are directly related to samples. labels Oct 22, 2020
@tseaver tseaver changed the title chore(python): use BUILD_SPECIFIC_GCLOUD_PROJECT for samples chore: configure BUILD_SPECIFIC_GCLOUD_PROJECT for samples CI Oct 23, 2020
@kolea2 kolea2 merged commit df23364 into master Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/python-bigtable API. cla: yes This human has signed the Contributor License Agreement. context: full samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments