Skip to content

Conversation

@jsimonweb
Copy link
Contributor

@jsimonweb jsimonweb commented May 12, 2022

  • Update region tags
  • Update DB_HOST env. variable to be INSTANCE_HOST

@jsimonweb jsimonweb requested a review from a team as a code owner May 12, 2022 23:03
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label May 12, 2022
@snippet-bot
Copy link

snippet-bot bot commented May 12, 2022

Here is the summary of possible violations 😱

Details

There is a possible violation for removing region tag in use.

The end of the violation section. All the stuff below is FYI purposes only.


You are about to delete the following sample browser pages.

You are about to delete the following frozen region tag.

Here is the summary of changes.

You are about to add 2 region tags.
You are about to delete 2 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@jsimonweb jsimonweb requested review from bshaffer and enocom May 12, 2022 23:03
putenv('INSTANCE_HOST');
putenv('DB_PASS');
putenv('DB_NAME');
putenv('DB_USER');
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than do this, we can use the /** @runInSeparrateProcess */ annotation in PHPUnit, which ensures that the environment variables are isolated to the call.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@jsimonweb jsimonweb requested a review from bshaffer May 27, 2022 22:55
@bshaffer bshaffer merged commit 39ad5b0 into GoogleCloudPlatform:master Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants