Skip to content

Commit b9547b3

Browse files
authored
Merge branch 'master' into fix-crypto-key-path
2 parents 2fb5f96 + a031120 commit b9547b3

File tree

9 files changed

+18
-15
lines changed

9 files changed

+18
-15
lines changed

.github/blunderbuss.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ assign_issues:
44
- leahecole
55
- gguuss
66
- crwilcox
7+
- tmatsuo
78
assign_prs:
89
- busunkim96
910
- kurtisvg
1011
- leahecole
1112
- gguuss
1213
- crwilcox
14+
- tmatsuo

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ be able to accept your pull requests.
3636
## Authoring, testing, and contributing samples
3737

3838
See [AUTHORING_GUIDE.md](AUTHORING_GUIDE.md).
39+
40+
## Code Reviews
41+
42+
After meeting the above criteria, your code will need to be approved by two reviewers before it can be merged into master. One will be a [CODEOWNER](.github/CODEOWNERS) for the product you are contributing to, and the other will be a repo owner, there to double check for anything that might be detrimental to the overall repo health (things that could cause future tech debt, test flakiness, etc.). Both will automatically be assigned. Some product areas have mulitple folks who can act as the CODEOWNER, and you may be working more closely with a teammate who isn't the automatically assigned reviewer. In that case, it is perfectly fine to manually assign the teammate more familiar with this work as your CODEOWNER reviewer. If you do not hear from your repo owner reviewer within a day (and you know they are not OOO), send them a friendly ping so that you can better understand the review cadence for your PR. All the repo owners are juggling reviews alongside other work, and their velocities can vary, but they are happy to hear from you. If you see that your repo owner reviewer is OOO, you can use the "blunderbuss: assign" label to assign a new reviewer.

blog/introduction_to_data_models_in_cloud_datastore/blog_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import os
1515

16-
from gcp_devrel.testing.flaky import flaky
16+
from flaky import flaky
1717

1818
from blog import main
1919

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
pytest==5.3.2
2-
gcp-devrel-py-tools==0.0.15
32
flaky==3.6.1

blog/introduction_to_data_models_in_cloud_datastore/wiki_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import os
1515

16-
from gcp_devrel.testing.flaky import flaky
16+
from flaky import flaky
1717

1818
from wiki import main
1919

compute/api/create_instance_test.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
# limitations under the License.
1313

1414
import os
15-
import re
15+
import uuid
1616

17-
from gcp_devrel.testing.flaky import flaky
17+
from flaky import flaky
1818

1919
from create_instance import main
2020

2121
PROJECT = os.environ['GCLOUD_PROJECT']
2222
BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
23+
INSTANCE_NAME = 'test-instance-' + str(uuid.uuid4())
2324

2425

2526
@flaky
@@ -28,14 +29,12 @@ def test_main(capsys):
2829
PROJECT,
2930
BUCKET,
3031
'us-central1-f',
31-
'test-instance',
32+
INSTANCE_NAME,
3233
wait=False)
3334

3435
out, _ = capsys.readouterr()
3536

36-
expected_output = re.compile(
37-
(r'Instances in project .* and zone us-central1-.* - test-instance'
38-
r'.*Deleting instance.*done..$'),
39-
re.DOTALL)
40-
41-
assert re.search(expected_output, out)
37+
assert "Instances in project" in out
38+
assert "zone us-central1-f" in out
39+
assert INSTANCE_NAME in out
40+
assert "Deleting instance" in out

compute/api/requirements-test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
pytest==5.3.2
2-
gcp-devrel-py-tools==0.0.15
32
flaky==3.6.1

jobs/v3/api_client/quickstart_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
from gcp_devrel.testing.flaky import flaky
14+
from flaky import flaky
1515

1616

1717
@flaky
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pytest==5.3.2
2-
gcp-devrel-py-tools==0.0.15
32
google-cloud-core
3+
gcp-devrel-py-tools==0.0.16
44
flaky==3.6.1

0 commit comments

Comments
 (0)