-
Notifications
You must be signed in to change notification settings - Fork 44
setup_gitea: blocked log output when cloning reference repo #798
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
base: main
Are you sure you want to change the base?
Conversation
📝 WalkthroughWalkthroughAdded Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
recheck |
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 48s |
fa8d872 to
0b40960
Compare
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 51s |
0b40960 to
b4f8d7f
Compare
|
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 2m 50s |
SUMMARY
The setup_gitea role, may be used to create a gitea instance on an OCP cluster and even mirror a reference git repository as the default repository in the gitea instance.
To mirror this reference repository, the role takes the variable sg_repo_mirror_url, which may contain the git account user credentials in the format:
https://:@git.server/org/repo.git
This is not a problem if the cloning task succeeds, since the output is not too verbose. However in case of failures in the task the URL may be displayed in clear.
This change enables the no_log option in the task.
ISSUE TYPE
Tests
TestBos2Sno: sno sno:ansible_extravars=enable_gitea:true sno:ansible_extravars=sg_username:gituser sno:ansible_extravars=sg_password:Git_Ops_123 sno:ansible_extravars=sg_email:[email protected] sg_repository:gitops sno:ansible_extravars=sg_repo_mirror_url:[email protected]:redhatci/ansible-collection-redhatci-ocp.git sno:ansible_extravars=sg_repo_sshkey:/var/lib/dci-openshift-agent/.ssh/id_dcibot