-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Easier system test setup/teardown #2669
Comments
I don't think that 2 and 3 are really possible now. I don't know that it would be good practice to pull down overall credentials. There is kind of a public/private key model right now that is secure. I'm not really sure what the overall goal that you're trying to achieve is. Maybe you can clarify that a little bit? |
I want to qualify new Python runtime images, by running all the google-cloud-python system tests inside the new image, before it's been released. I have set up a project to run these tests in, with the populated sample data. But a few problems crop up:
This is what I'm doing right now, from the command line, locally: GoogleCloudPlatform/python-runtime@9aeedd3 Any suggestions on improvements are welcome. I want to get this running on the internal CI, but handling the credentials and api keys in a safe way is challenging. |
Thanks for the pointer to GoogleCloudPlatform/python-runtime#39, it gives a bit (a lotta bit?) more context than your GitHub profile page.
|
I added a company name and snazzy picture to my GitHub profile :) If the tests are already setup to play nicely within a single project, that is excellent, and removes the need for 1, 3 and 5. I just assumed it was a problem without actually checking. That leaves the list of APIs that need to be enabled, and a nicer way to setup data and indexes that doesn't require installing the cloud SDK. After some more work, I got everything working except for This is the list of APIs I enabled in my project (cloud-python-runtime-qa), which should be explicitly listed in the Google Cloud Storage JSON API logging
Also,
|
Currently, everything but 'logging' works. See: googleapis/google-cloud-python#2669
|
Filed #2740 for the logging error. If the rest is won't/can't fix, which seems reasonable, then go ahead and close this. |
Feature request: A single command I (as an authenticated user, or CI system) run that:
[Optional] 5) Tear down and delete everything
For example
system_test/setup cloud-python-runtime-qa
run by user[email protected]
creates a projectcloud-python-runtime-qa-1234
, populates the datastore with sample data, downloads the json credentials in some reasonable way.I don't actually know if this level of automation is actually possible with the platform yet.
The text was updated successfully, but these errors were encountered: