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 — chore: Modify integration tests to support VPC-SC environment by vinnysenthil · Pull Request #262 · googleapis/python-aiplatform

Conversation

@vinnysenthil

@vinnysenthil vinnysenthil commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

Fixes part of b/178500935 and unblocks cl/362114575 🦕

Sorry, something went wrong.

Uh oh!

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

All reactions
vinnysenthil added 2 commits March 15, 2021 14:57
@vinnysenthil
Allow system test bucket to be set by env var for VPCSC
90189e4
@vinnysenthil
Contional VPCSC skip, bucket env var setting
feadd91
@vinnysenthil
vinnysenthil requested review from a team and sasha-gitg March 15, 2021 21:19
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 15, 2021
@vinnysenthil
vinnysenthil requested a review from busunkim96 March 15, 2021 21:19
busunkim96
busunkim96 approved these changes Mar 15, 2021
View reviewed changes
Comment thread noxfile.py Outdated
if not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS", ""):
session.skip("Credentials must be set via environment variable")

# Set test artifact bucket env var for system tests

@busunkim96 busunkim96 Mar 15, 2021

Copy link
Copy Markdown
Contributor

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.

Synthtool will attempt to overwrite these lines since the noxfile.py is templated.

Options:

  • Add a s.replace(...) in synth.py that adds in these lines (example)
  • Move the env var setting to the top of tests/system/aiplatform/test_dataset.py

Sorry, something went wrong.

Uh oh!

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

All reactions

@vinnysenthil vinnysenthil Mar 15, 2021

Copy link
Copy Markdown
Contributor Author

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.

Thanks for catching this, taking option 2 and moving to tests/system/aiplatform/test_dataset.py

Sorry, something went wrong.

Uh oh!

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

All reactions
sasha-gitg
sasha-gitg approved these changes Mar 15, 2021
View reviewed changes
vinnysenthil added 2 commits March 15, 2021 15:49
@vinnysenthil
Move env var override to test file
f173b91
@vinnysenthil
Use previous image dataset index file
9423d76
@vinnysenthil
vinnysenthil merged commit 9dff2a6 into googleapis:dev Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sasha-gitg sasha-gitg sasha-gitg approved these changes
+1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

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.

3 participants

@vinnysenthil @busunkim96 @sasha-gitg
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.