| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Disclaimer: I have NO container_analysis experience, but have used this repo before :) Here's how running this went: -Pretty please add a README so users know how you want them to run your code (that they need to install the requirements, let them know what needs to be enabled in their GCP Project, etc., any environment vars). Given that I've never used container analysis, I failed a bunch before I was able to successfully run stuff
ERROR: grafeas 0.1.0 has requirement google-api-core[grpc]<2.0.0dev,>=1.6.0, but you'll have google-api-core 0.1.4 which is incompatible. ERROR: google-cloud-containeranalysis 0.1.0 has requirement google-api-core[grpc]<2.0.0dev,>=1.4.1, but you'll have google-api-core 0.1.4 which is incompatible.
|
Sorry, something went wrong.
|
@leahecole I added a README, let me know if that looks better. Your pubsub issues may have been because the team recently switched from the beta topic to the GA one, so I updated the sample to use the new topic. Let me know what you think |
Sorry, something went wrong.
There was a problem hiding this comment.
pubsub test is also still giving me an error, and I wonder if it has to do with the incorrectly resolved dependency
Sorry, something went wrong.
| 1. **Set Environment Variables** | ||
|
|
||
| ``` | ||
| $ export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" |
There was a problem hiding this comment.
GOOGLE_CLOUD_PROJECT -> GCLOUD_PROJECT
Sorry, something went wrong.
There was a problem hiding this comment.
Should users also set their application credentials here?
Sorry, something went wrong.
There was a problem hiding this comment.
Is that required? I don't have it set in my terminal and it's working, I assume because I authenticated locally with "gcloud login"
I'm not really sure how much detail is required for set up here, so I copied this readme from a different project
Sorry, something went wrong.
|
Note that the tests aren't actually running, since this PR is based on a fork. I forgot that quirk of this repo Maybe after we resolve these comments I can close this and open another one as an internal branch? Let me know what you think |
Sorry, something went wrong.
|
Ooo I forgot that's a quirk of this repo also. @dansanche I think that after resolution, opening another one and linking it here in the comments is a fabulous idea. |
Sorry, something went wrong.
|
@leahecole I believe I resolved the issues you mentioned, except setting application credentials. Let me know if you think that should be added |
Sorry, something went wrong.
|
Sorry, didn't process that properly. I think adding the application creds is a good idea because right now it throws a warning if you don't |
Sorry, something went wrong.
|
sounds good, I'll add it to the new PR |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
added Python samples for the Container Analysis GA