Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new Managed VMs samples. #156

Merged
merged 1 commit into from
Jan 20, 2016
Merged

Adding new Managed VMs samples. #156

merged 1 commit into from
Jan 20, 2016

Conversation

theacodes
Copy link
Contributor

Existing samples have been renamed:

  • django_tutorial -> django_cloudsql
  • hello_world -> hello_world_compat
  • hello_world_custom -> (superseded by) hello_world

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 19, 2016
@theacodes theacodes changed the title [DO NOT MERGE] Adding new Managed VMs samples. Adding new Managed VMs samples. Jan 19, 2016
@theacodes
Copy link
Contributor Author

Confirmed - No docs reference any renamed folders.

@theacodes
Copy link
Contributor Author

The tests currently do not run - we'll need to configure our project and add all of the necessary config stuff in our secrets, do you mind saving that for another PR, @waprin?

@waprin
Copy link
Contributor

waprin commented Jan 19, 2016

lgtm

@waprin
Copy link
Contributor

waprin commented Jan 19, 2016

Im confused about the testing comment, it looks like travis ran?

@theacodes
Copy link
Contributor Author

Im confused about the testing comment, it looks like travis ran?

Travis ran, but the new tests in this folder did not get picked up. A __init__.py file needs to be placed in this folder for that to work (and this folder needs to be added to .coveragerc).

--authorized-networks 0.0.0.0/0 \
--tier D0

2. Create a new user and database for the application. The easiest way to do this is via the [Google Developers Console](https://console.developers.google.com/project/_/sql/instances/example-instance2/access-control/users). Alternatively, you can use MySQL tools such as the command line client or workbench.
Copy link
Contributor

Choose a reason for hiding this comment

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

If you want to recommend using the MySQL client you have to add the gcloud sql instances set-root-password command to give them an initial login.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

Existing samples have been renamed:
* django_tutorial -> django_cloudsql
* hello_world -> hello_world_compat
* hello_world_custom -> (superseded by) hello_world
theacodes pushed a commit that referenced this pull request Jan 20, 2016
@theacodes theacodes merged commit b00f1dc into master Jan 20, 2016
@theacodes theacodes deleted the managedvms-samples branch January 20, 2016 18:47
arbrown pushed a commit that referenced this pull request Nov 7, 2022
This PR fixes the flaky test reported in #149 where string `'snippets-test-enclcibdnr'`, as an example, is not found in string `'snippets-test-enclci...jects/'` because the string is truncated. We can avoid the issue by casting to `str()` before calling `print()`.

Fixes #149 🦕
dandhlee pushed a commit that referenced this pull request Nov 9, 2022
This PR fixes the flaky test reported in #149 where string `'snippets-test-enclcibdnr'`, as an example, is not found in string `'snippets-test-enclci...jects/'` because the string is truncated. We can avoid the issue by casting to `str()` before calling `print()`.

Fixes #149 🦕
xtineskim pushed a commit that referenced this pull request Nov 11, 2022
dandhlee pushed a commit that referenced this pull request Nov 14, 2022
arbrown pushed a commit that referenced this pull request Nov 17, 2022
This PR migrates from autosynth to [owl bot](https://github.com/googleapis/repo-automation-bots/tree/master/packages/owl-bot).  owl bot will save time for maintainers as it will automatically open PRs when there are updates in [googleapis-gen](https://github.com/googleapis/googleapis-gen/tree/master/google) without requiring maintainers to run `synthtool` to build the client from protos. Additionally, similar to autosynth, PRs will be automatically opened when there are template updates.
dandhlee pushed a commit that referenced this pull request Nov 17, 2022
This PR migrates from autosynth to [owl bot](https://github.com/googleapis/repo-automation-bots/tree/master/packages/owl-bot).  owl bot will save time for maintainers as it will automatically open PRs when there are updates in [googleapis-gen](https://github.com/googleapis/googleapis-gen/tree/master/google) without requiring maintainers to run `synthtool` to build the client from protos. Additionally, similar to autosynth, PRs will be automatically opened when there are template updates.
telpirion pushed a commit that referenced this pull request Dec 2, 2022
* feat: product_number variable is replaced with product_id
Import product code samples are added

* use project_number in search_simple_query.py

* use project_number in search_with_boost_spec.py

* use project_number in search_with_filtering.py

* use project number in search_with_ordering.py

* use project_number in search_with_pagination.py

* use project_number in search_with_query_expansion_spec.py

* use project_number in search_with_facet_spec.py

* use correct path to resources

* revert change to paths

* resolve error where bq table doesn't exist

* use google.cloud.bigquery client

* fix for failed tests

* 🦉 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

* move samples/interactive-tutorials/product/setup to move samples/interactive-tutorials/product/setup_product

* allow import_products_bq_test to run concurrently

* 🦉 Updates from OwlBot

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

* add dependency for test

* remove tests for setup script

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
dandhlee pushed a commit that referenced this pull request Dec 2, 2022
* feat: product_number variable is replaced with product_id
Import product code samples are added

* use project_number in search_simple_query.py

* use project_number in search_with_boost_spec.py

* use project_number in search_with_filtering.py

* use project number in search_with_ordering.py

* use project_number in search_with_pagination.py

* use project_number in search_with_query_expansion_spec.py

* use project_number in search_with_facet_spec.py

* use correct path to resources

* revert change to paths

* resolve error where bq table doesn't exist

* use google.cloud.bigquery client

* fix for failed tests

* 🦉 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

* move samples/interactive-tutorials/product/setup to move samples/interactive-tutorials/product/setup_product

* allow import_products_bq_test to run concurrently

* 🦉 Updates from OwlBot

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

* add dependency for test

* remove tests for setup script

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Avani-Thakker-Crest pushed a commit to Avani-Thakker-Crest/python-docs-samples that referenced this pull request Jun 21, 2023
dizcology pushed a commit that referenced this pull request Sep 11, 2023
gcr.io/repo-automation-bots/owlbot-python:latest@sha256:3c3a445b3ddc99ccd5d31edc4b4519729635d20693900db32c4f587ed51f7479
leahecole pushed a commit that referenced this pull request Sep 15, 2023
gcr.io/repo-automation-bots/owlbot-python:latest@sha256:3c3a445b3ddc99ccd5d31edc4b4519729635d20693900db32c4f587ed51f7479
dandhlee added a commit that referenced this pull request Sep 15, 2023
* docs(samples): add code samples (#21)

* docs(samples): add code samples

* 🦉 Updates from OwlBot post-processor

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

* fix region tags

* enforce Python type hints

* use build specific projects for samples testing

* Remove project number env variable. Remove cloud storage dependency. Clean up resources > 3 hours old (instead of 2 days old).

* Remove project number in favor of project ID. Avoid infinite loops in responses to LROs.

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#33)

* chore(deps): update dependency google-cloud-video-live-stream to v0.1.2 (#34)

* ci: try to stop channel again before deleting it in the test (#36)

* Try to stop channel again before deleting it in the test.

* docs(samples): try to stop channel again before deleting it in the test.

* 🦉 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>

* docs(samples): add sample for creating a channel with a failover backup input (#37)

* chore(deps): update dependency google-cloud-video-live-stream to v0.1.3 (#39)

* chore: remove dependency google-api-python-client in samples (#40)

* chore(deps): update dependency google-api-python-client to v2.47.0

* chore: remove dependency google-api-python-client in samples

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency grpcio to v1.46.0 (#41)

* chore(deps): update dependency grpcio to v1.46.1 (#44)

* chore(deps): update dependency grpcio to v1.46.3 (#47)

* chore(deps): update dependency google-cloud-video-live-stream to v0.1.4 (#48)

* docs: align channel config with best practices (#71)

skipping optional check for kokoro pre-release dependencies.

* chore(deps): update all dependencies (#70)

* 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]>

* docs(samples): fix timeout for LROs; first call can take up to 10 minutes (#82)

Co-authored-by: Anthonios Partheniou <[email protected]>

* docs(samples): fix timeout for create input and start channel LROs; first call can take up to 15 minutes (#86)

* chore(deps): update all dependencies (#87)

* 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]>

* chore(deps): update all dependencies to v1.0.1 (#90)

* chore(deps): update all dependencies to v1.0.1

* revert

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.0.2 (#94)

* chore(deps): update dependency grpcio to v1.48.1 (#101)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency pytest to v7.1.3 (#106)

* chore(deps): update dependency grpcio to v1.49.0 (#111)

* chore(deps): update dependency grpcio to v1.49.1 (#112)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.0.3 (#115)

* chore(deps): update dependency google-cloud-video-live-stream to v1.0.4 (#118)

* chore(deps): update dependency grpcio to v1.50.0 (#119)

* chore(deps): update dependency pytest to v7.2.0 (#120)

* chore(deps): update dependency grpcio to v1.51.1 (#128)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.1.0 (#131)

* chore(deps): update dependency google-cloud-video-live-stream to v1.2.0 (#135)

* chore(deps): update dependency pytest to v7.2.1 (#136)

* chore(deps): update dependency google-cloud-video-live-stream to v1.2.1 (#139)

* chore(deps): update all dependencies (#146)

* chore(deps): update dependency pytest to v7.2.2 (#149)

* chore(deps): update all dependencies (#155)

* chore(deps): update dependency pytest to v7.3.0 (#156)

* chore(deps): update dependency pytest to v7.3.1 (#157)

* chore(deps): update dependency grpcio to v1.54.0 (#158)

* chore(deps): update dependency grpcio to v1.54.2 (#159)

* chore(deps): update dependency pytest to v7.3.2 (#163)

* chore(deps): update all dependencies (#164)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.4.1 (#169)

* chore(deps): update dependency grpcio to v1.56.2 (#173)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.5.0 (#179)

* chore(deps): update dependency grpcio to v1.57.0 (#181)

* docs(samples): add samples and tests for pools and assets (#180)

* docs(samples): add samples and tests for pools and assets

* 🦉 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]>

* chore(deps): update dependency google-cloud-video-live-stream to v1.5.1 (#183)

* fix licence headers

* Update video/live-stream/noxfile_config.py

Co-authored-by: Leah E. Cole <[email protected]>

* update CODEOWNERS and blunderbuss.yml

* restrict requirements.txt by python version

* skip python version 2.7

* Update video/live-stream/noxfile_config.py

Co-authored-by: Dan Lee <[email protected]>

* 🦉 Updates from OwlBot post-processor

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

* Update video/live-stream/README.md

Co-authored-by: Dan Lee <[email protected]>

* Update video/live-stream/README.md

Co-authored-by: Dan Lee <[email protected]>

---------

Co-authored-by: Nicholas Cook <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: Yu-Han Liu <[email protected]>
Co-authored-by: Leah E. Cole <[email protected]>
Co-authored-by: Dan Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants