-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add a flag to skip tests using Cloud Logging API #57
Comments
Hello, and first of all, thank you for releasing such amazing software! I'm very interested in this software, and when I tried to hack it, I noticed that running There are several ways to operate on the files under test in Go, but which method would be best (or another)?
If this issue is only a temporary change until the Workload Identity Pool becomes available, then using environment variables would be the simplest approach. Thanks! |
@Okabe-Junya Thank you for being interested in contributing this project 🙇
I prefer the first way. It's because we'll support OSS kubernetes logs or other log storage in future and it needs to call some APIs not on Google Cloud. In the case, I also want to disable calling it in my test because I don't want to prepare every environment. By the way, we have Again, thank you for being interested in this project 👍 |
Thanks! First of all, I apologize for my delay in response - I took days off.
I think we should clearly separate the packages. It would be better to create a package for managing test flags under the
The second option is the approach that uses short flags, but do you mean a combination of the first and the third (i.e. using an internal package and environment variables)? In any case, it seems we have reached a consensus on the overall strategy. Thank you :) |
Yes, you are right. I meant it's combination of 1st and 3rd.
Yes, and we can discuss further details with the code reviews with actual codes. That would be far easier to discuss.
Thank you! You can take your time only when you want to, this is an OSS project. |
I'll mark this issue assigned to you but this is just to make it clear that this |
We need few weeks to get Workload Identity Pool in our testing project and we can't enable backend tests using Cloud Logging on CI until that.
Let's make a flag to skip these tests for running these tests in current CI without using Cloud Logging.
The text was updated successfully, but these errors were encountered: