You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider having multiple projects for testing #3310
@kurtisvg@crwilcox@leahecole If you know any issues which needs multiple projects for the fundamental fix, please add the label needs-multiple-projects. Once you go through your knowledge and your memory, feel free to unassign yourself.
For implementation, I think we should use gimmeproj. Example uses in ruby and go
To use gimmeproj, I think we'll probably need to
create a new project for meta project
try to run all the tests on the meta project, figure out what configs/operations/resource files are needed besides enabling APIs, and write them down (for example, TEST-REQUIREMENTS.md in each directory).
maybe standardize on the resource files (or even, write a shell script for setup)
then we can finally create pool projects with all the needed stuff
Maybe we can have few more cloud projects with suffixes like -py36, -py37, etc.
We can have a common library in this repo, probably in the lib folder or somewhere. We can add that directory to sys.path in the noxfile.py so that you can just do something like:
importtest_helperproject_id=test_helper.get_project_id_from_kokoro_job_name()
# you'll get `xxx-py36` for the py-36 build and `xxxx-py37` for the py-37 build, etc.
This way, it is very easy for us to only opt in some of the tests.
Activity
tmatsuo commentedon Apr 8, 2020
@kurtisvg @crwilcox @leahecole If you know any issues which needs multiple projects for the fundamental fix, please add the label
needs-multiple-projects. Once you go through your knowledge and your memory, feel free to unassign yourself.tmatsuo commentedon Apr 9, 2020
For implementation, I think we should use gimmeproj. Example uses in ruby and go
To use gimmeproj, I think we'll probably need to
tmatsuo commentedon May 6, 2020
An easier option.
Maybe we can have few more cloud projects with suffixes like
-py36,-py37, etc.We can have a common library in this repo, probably in the
libfolder or somewhere. We can add that directory tosys.pathin thenoxfile.pyso that you can just do something like:This way, it is very easy for us to only opt in some of the tests.
tmatsuo commentedon May 6, 2020
Came up with an easier option.
Rather than having a library, we can just override the envvar
GOOGLE_CLOUD_PROJECTinnoxfile.py.tmatsuo commentedon May 15, 2020
Created 3 new projects.
I'll start using those projects with monitoring tests.
[monitoring] testing: start using build specific projects
[monitoring] testing: start using build specific projects (#3771)
[iam] testing: use multiple projects
tmatsuo commentedon May 16, 2020
It's live now.
[iam] testing: use multiple projects (#3772)
move monitoring samples from python-docs-samples (#51)
move monitoring samples from python-docs-samples (#51)