GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: migrate code from googleapis/python-container by donmccasland · Pull Request #8451 · GoogleCloudPlatform/python-docs-samples

Conversation

@donmccasland

@donmccasland donmccasland commented Nov 2, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • feat!: migrate to microgenerator (Add test for some samples. #33)
  • docs(samples): add usage samples to show handling of LRO response Operation (Moving monitoring samples to py.test #191)
  • chore: Adding support for pytest-xdist and pytest-parallel (Add Custom Metric Examples #204)
  • chore(deps): update all dependencies (Updating requirements. #206)
  • chore(deps): update dependency google-cloud-container to v2.10.6 (Adding a sample for extending the compat runtime. #207)
  • chore(deps): update dependency pytest to v7.1.0 (Fix KeyError exception when project has no logs #209)
  • chore(deps): update dependency pytest to v7.1.1 (Fix copy/paste error for reading timeseries #211)
  • fix: test cleanup stages with try finally (Managed VMs flask samples should have an error handler #212)
  • chore(deps): update dependency google-cloud-container to v2.10.7 (Update managed_vms/django_cloudsql sample to use cloud sql proxy #215)
  • chore(python): use black==22.3.0 (Add sample for CRUD on GCS. #217)
  • chore(python): add nox session to sort python imports (Monitoring tests are flaky #229)
  • chore(deps): update dependency pytest to v7.1.2 (Write tests for speech sample #232)
  • chore(deps): update dependency backoff to v2 (Add test for speech sample. #233)
  • chore(deps): update dependency backoff to v2.0.1 (Use Main Project (now whitelisted) #235)
  • fix: require python 3.7+ (Add Modules Example #266)
  • chore(deps): update all dependencies (Mark Monitoring As Flaky #258)
  • chore(deps): update all dependencies (Fix test scribble and restructure region tags #271)
  • chore(deps): update all dependencies to v2.11.1 (compute/api/create_instance should use image families #276)
  • chore(deps): update dependency google-cloud-container to v2.11.2 (Add snippets for ndb/properties #280)
  • chore(deps): update dependency pytest to v7.1.3 (Added blobstore image example #291)
  • chore: detect samples tests in nested directories (Add memcache snippets #295)
  • chore(deps): update dependency google-cloud-container to v2.12.0 (Add mail samples. #299)
  • chore(deps): update dependency google-cloud-container to v2.12.1 (Add endpoints sample #303)
  • chore(deps): update dependency backoff to v2.2.1 (Fix lint error. #304)
  • chore(deps): update dependency google-cloud-container to v2.12.2 (Fix doc tags. #308)
  • chore(deps): update dependency pytest to v7.2.0 (Problem running endpoints oauth client #310)
  • chore(deps): update dependency google-cloud-container to v2.13.0 (Add samples for ndb async ops. #311)

Description

Fixes #

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

  • I have followed Sample Guidelines from AUTHORING_GUIDE.MD
  • README is updated to include all relevant information
  • Tests pass: nox -s py-3.9 (see Test Environment Setup)
  • Lint pass: nox -s lint (see Test Environment Setup)
  • These samples need a new API enabled in testing projects to pass (let us know which ones)
  • These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
  • Please merge this PR for me once it is approved.
  • This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
arithmetic1728 and others added 28 commits July 16, 2020 12:06
@arithmetic1728
feat!: migrate to microgenerator (#33)
f432083
@Shabirmean @gcf-owl-bot @busunkim96
docs(samples): add usage samples to show handling of LRO response Ope…
91547b0
…ration (#191)

* improvement: add samples for the using the library

* cleanup: update the git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: remove unnecessary comments

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* doc: add simple usage instructions to README

* cleanup: add copyright headers

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* doc: add more details to retry function doc

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* doc: add seperate sections about the samples

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* cleanup: add region tags

* doc: update the readme to remove inline code

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* doc: update readme

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* process: add nox and fix lint errors

* chore: update git ignore

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* process: add requirements.txt

* chore: add lro samples to gitignore

* test: add test for quickstart

* test: add test for create cluster

* test: add test for delete cluster

* test: fix fixture in test

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* lint: finx linting errors

* cleanup: remove the main from being inside the region tags

* cleanup: remove the main from being inside the region tags

* cleanup: remove the main from being inside the region tags

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* doc: fix typo

Co-authored-by: Bu Sun Kim <[email protected]>

* doc: pr comment doc update

Co-authored-by: Bu Sun Kim <[email protected]>

* doc: add license headers to missing files

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <[email protected]>
@gcf-owl-bot
chore: Adding support for pytest-xdist and pytest-parallel (#204)
4da083a
Source-Link: googleapis/synthtool@82f5cb2
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5d8da01438ece4021d135433f2cf3227aa39ef0eaccc941d62aa35e6902832ae

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update all dependencies (#206)
4dd369c
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.10.6 (#207)
8caf13e
@renovate-bot
chore(deps): update dependency pytest to v7.1.0 (#209)
f9687c6
@renovate-bot
chore(deps): update dependency pytest to v7.1.1 (#211)
cae7f4d
@Shabirmean @gcf-owl-bot
fix: test cleanup stages with try finally (#212)
72c72db
* fix: test cleanup stages with try finally

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.10.7 (#215)
f9080ce
@gcf-owl-bot
chore(python): use black==22.3.0 (#217)
c93f8df
Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
@gcf-owl-bot
chore(python): add nox session to sort python imports (#229)
1127deb
Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot
chore(deps): update dependency pytest to v7.1.2 (#232)
bdc99b0
@renovate-bot
chore(deps): update dependency backoff to v2 (#233)
7920f17
@renovate-bot
chore(deps): update dependency backoff to v2.0.1 (#235)
48b42ae
@gcf-owl-bot @parthea
fix: require python 3.7+ (#266)
0d6ae6c
* chore(python): drop python 3.6

Source-Link: googleapis/synthtool@4f89b13
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c

* add api_description to .repo-metadata.json

* require python 3.7+ in setup.py

* remove python 3.6 sample configs

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update api_description in .repo-metadata.json

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @gcf-owl-bot
@Shabirmean @parthea
chore(deps): update all dependencies (#258)
e79b44e
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Shabir Mohamed Abdul Samadh <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @gcf-owl-bot @parthea
chore(deps): update all dependencies (#271)
73bc1bd
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore(deps): update all dependencies to v2.11.1 (#276)
40614e6
* chore(deps): update all dependencies to v2.11.1

* revert

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.11.2 (#280)
ccf1085
@renovate-bot
chore(deps): update dependency pytest to v7.1.3 (#291)
bf9b246
@gcf-owl-bot
chore: detect samples tests in nested directories (#295)
490f770
Source-Link: googleapis/synthtool@50db768
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e09366bdf0fd9c8976592988390b24d53583dd9f002d476934da43725adbb978
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.12.0 (#299)
3e78978
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.12.1 (#303)
8f1a926
@renovate-bot
chore(deps): update dependency backoff to v2.2.1 (#304)
566162e
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.12.2 (#308)
fa3cac8
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-container](https://togithub.com/googleapis/python-container) | `==2.12.1` -> `==2.12.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-container/2.12.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-container/2.12.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-container/2.12.2/compatibility-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-container/2.12.2/confidence-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-container</summary>

### [`v2.12.2`](https://togithub.com/googleapis/python-container/blob/HEAD/CHANGELOG.md#&#8203;2122-httpsgithubcomgoogleapispython-containercomparev2121v2122-2022-10-07)

[Compare Source](https://togithub.com/googleapis/python-container/compare/v2.12.1...v2.12.2)

##### Bug Fixes

-   **deps:** Allow protobuf 3.19.5 ([#&#8203;305](https://togithub.com/googleapis/python-container/issues/305)) ([728fc48](https://togithub.com/googleapis/python-container/commit/728fc485d91c113a151dea2641ccfe163a5accaf))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-container).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjMyLjIzMC4wIn0=-->
@renovate-bot
chore(deps): update dependency pytest to v7.2.0 (#310)
857a2ad
@renovate-bot
chore(deps): update dependency google-cloud-container to v2.13.0 (#311)
b2d82b8
@donmccasland
Merge remote-tracking branch 'migration/main' into python-container-m…
5a680f1
…igration
@donmccasland
donmccasland requested review from a team as code owners November 2, 2022 18:02
donmccasland added 2 commits November 3, 2022 09:08
@donmccasland
lint fix
53e3bce
@donmccasland
Adding CODEOWNERS definition
10625cf
@donmccasland donmccasland added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 3, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 3, 2022
dandhlee
dandhlee approved these changes Nov 3, 2022
View reviewed changes

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM, not sure what could be wrong with the test. Could you try deleting noxfile.py and we can see?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread container/AUTHORING_GUIDE.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread container/CONTRIBUTING.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread container/snippets/noxfile.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

dandhlee
dandhlee requested changes Nov 3, 2022
View reviewed changes
Comment thread .github/CODEOWNERS Resolved

Uh oh!

There was an error while loading. Please reload this page.

@dandhlee dandhlee assigned dandhlee and unassigned engelke Nov 3, 2022
donmccasland and others added 5 commits November 3, 2022 12:48
@donmccasland @dandhlee
Update container/CONTRIBUTING.md
583de91
Co-authored-by: Dan Lee <[email protected]>
@donmccasland @dandhlee
Update container/AUTHORING_GUIDE.md
df1d2c0
Co-authored-by: Dan Lee <[email protected]>
@donmccasland
Removing noxfile
0621d06
@donmccasland
Adding blunderbuss
0adad32
@donmccasland
Merge branch 'main' into python-container-migration
933dd05
@donmccasland donmccasland added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 3, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 3, 2022
@donmccasland donmccasland added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 4, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 4, 2022
kweinmeister and others added 3 commits November 4, 2022 14:23
@kweinmeister
Merge branch 'main' into python-container-migration
d9de181
@donmccasland
Extending test timeout to 1 hour because cluster creation takes forever
444c340
@dandhlee
Merge branch 'main' into python-container-migration
526fcc0
@donmccasland donmccasland added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 7, 2022
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 7, 2022
@dandhlee
Merge branch 'main' into python-container-migration
14ecc9f
@dandhlee dandhlee added kokoro:run Add this label to force Kokoro to re-run the tests. snippet-bot:force-run Force snippet-bot runs its logic labels Nov 7, 2022
@snippet-bot snippet-bot Bot removed the snippet-bot:force-run Force snippet-bot runs its logic label Nov 7, 2022
dandhlee
dandhlee approved these changes Nov 7, 2022
View reviewed changes

@dandhlee dandhlee left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. Pending test passes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dandhlee

dandhlee commented Nov 7, 2022

Copy link
Copy Markdown
Collaborator

Verified all tests related to container are passing, all other checklist items are complete! Merging with Rebase and merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dandhlee
dandhlee merged commit b0302e6 into main Nov 7, 2022
@dandhlee
dandhlee deleted the python-container-migration branch November 7, 2022 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@nicain nicain nicain approved these changes
@dandhlee dandhlee dandhlee approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dandhlee dandhlee

Labels

kokoro:run Add this label to force Kokoro to re-run the tests. samples Issues that are directly related to samples.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@donmccasland @dandhlee @nicain @engelke @kokoro-team @arithmetic1728 @Shabirmean @renovate-bot @kweinmeister
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.