-
Notifications
You must be signed in to change notification settings - Fork 13
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
stf_collect_logs leaves logs in the git path #522
Comments
The default logging dir can be under build/working, which we create, and hopefully already ignore. |
I would probably create a new |
Adding things to the build directory (possibly outside of
This is currently the fastest way to iterate on operator code (actually a fully local build where the local operator connects to the cluster API is faster, but quite different approach). The speed of it is affected (sometimes dominated) by how long it takes to upload all the files from the local directory into the cluster - now including all the logs from your last round of testing, multiple copies of the operator-sdk, and checkouts of other projects in build/working, etc. Fine if your lab machine is in the same datacenter as your cluster, but otherwise it can be long. I usually work around the biggest offenders by deleting I also noted a very large All this to say that it's not just .gitignore that is required here, we want to consider how we can implement this in a way that doesn't make development builds more painful. |
When running stf-run-ci with
ansible-playbook build/run-ci.yml
the result is various logs dumped into the default git path.Would suggest either changing the default logging directory, adding a new logging directory in the build/ directory and writing there, along with some update to .gitignore so we don't accidentally see logs committed to the repo.
The text was updated successfully, but these errors were encountered: