Skip to content

Commit

Permalink
test: add samples Python 3.9 test session (#506)
Browse files Browse the repository at this point in the history
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* feat: sync v1beta1 GKE API fix: deprecate SetLocations; use UpdateCluster feat: support for sysctls config in Linux nodes feat: support for node kubelet config controlling CPU manager policy, CFS quota feat: support for Customer Managed Encryption in nodes feat: support for SSDs as ephemeral storage feat: support for node reservation affinity feat: support for Gvisor in nodes fix: deprecate basic auth fields (removed in 1.19 clusters) feat: support for NodeLocalDNS feat: support for ConfigConnector feat: support for the Compute Engine Persistent Disk CSI driver feat: support for KALM feat: support for private cluster VPC peering and master global access feat: support for CloudRun load balancers feat: support using routes for pod IPs feat: support for Shielded Nodes feat: support for release channels feat: support for Workload Identity feat: support for Cluster Telemetry feat: support for Cloud TPU feat: support for receiving upgrade notifications feat: support for Confidential Nodes feat: support for disabling default sNAT feat: support for selecting Kubernetes datapath model feat: support for encrypting etcd databases feat: support for configuration of master components fix: deprecate Operation.cluster_conditions and operation_conditions; use error feat: support updating NodePool locations feat: support for node Surge Upgrades feat: support for specifying Cluster Autoscaling profile. feat: support for Node Auto Provisioning feat: support for specifying node disk size and type fix: deprecated StatusCondition.code; use canonical_code docs: many minor documentation clarifications docs: some output only fields now annotated as such

PiperOrigin-RevId: 344443035

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Nov 26 11:27:06 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: df4fd38d040c5c8a0869936205bca13fb64b2cff
Source-Link: googleapis/googleapis@df4fd38

* chore: add 3.9 to noxfile template

Since the python-docs-samples noxfile-template doesn't sync with this, I wanted to make sure the noxfile template matched the most recent change [here](https://github.com/GoogleCloudPlatform/python-docs-samples/pull/4968/files)

cc @tmatsuo

Source-Author: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Source-Date: Fri Jan 15 17:24:05 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 56ddc68f36b32341e9f22c2c59b4ce6aa3ba635f
Source-Link: googleapis/synthtool@56ddc68

* build(python): make `NOX_SESSION` optional

I added this accidentally in #889. `NOX_SESSION` should be passed down if it is set but not marked required.

Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Tue Jan 19 09:38:04 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: ba960d730416fe05c50547e975ce79fcee52c671
Source-Link: googleapis/synthtool@ba960d7

* chore: Add header checker config to python library synth

Now that we have it working in [python-docs-samples](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/header-checker-lint.yml) we should consider adding it to the 🐍 libraries :)

Source-Author: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
Source-Date: Mon Jan 25 13:24:08 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 573f7655311b553a937f9123bee17bf78497db95
Source-Link: googleapis/synthtool@573f765

* build: migrate to flakybot

Source-Author: Justin Beckwith <justin.beckwith@gmail.com>
Source-Date: Thu Jan 28 22:22:38 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a
Source-Link: googleapis/synthtool@d1bb917

* remove tarball

Co-authored-by: Tim Swast <swast@google.com>
  • Loading branch information
yoshi-automation and tswast committed Feb 3, 2021
1 parent 64e1c05 commit 3138d41
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .github/header-checker-lint.yml
@@ -0,0 +1,15 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
"java",
"sh",
"Dockerfile",
"yaml",
"py",
"html",
"txt"
]
}
1 change: 0 additions & 1 deletion .trampolinerc
Expand Up @@ -18,7 +18,6 @@
required_envvars+=(
"STAGING_BUCKET"
"V2_STAGING_BUCKET"
"NOX_SESSION"
)

# Add env vars which are passed down into the container here.
Expand Down
2 changes: 1 addition & 1 deletion samples/geography/noxfile.py
Expand Up @@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:

# DO NOT EDIT - automatically generated.
# All versions used to tested samples.
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]

# Any default versions that should be ignored.
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/noxfile.py
Expand Up @@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:

# DO NOT EDIT - automatically generated.
# All versions used to tested samples.
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]

# Any default versions that should be ignored.
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]
Expand Down
7 changes: 4 additions & 3 deletions synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-bigquery.git",
"sha": "2788736b80a4c4ac0ae3029aeb28bcefd34f2db7"
"sha": "64e1c0581b915e36756ea465936939390da7d818"
}
},
{
Expand All @@ -19,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "16ec872dd898d7de6e1822badfac32484b5d9031"
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "16ec872dd898d7de6e1822badfac32484b5d9031"
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
}
}
],
Expand All @@ -48,6 +48,7 @@
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/header-checker-lint.yml",
".github/release-please.yml",
".github/snippet-bot.yml",
".gitignore",
Expand Down

0 comments on commit 3138d41

Please sign in to comment.