-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Project delete-on-update option may not be working correctly #11733
Labels
Comments
You seem to be correct, sir. awx/awx/playbooks/project_update.yml Line 28 in fb7c827
does not seem to remove hidden files and/or directories |
@AlanCoding - ran integration tests and they were a-ok. |
Using latest devel awx:
The task is still showing Ok as result |
Merged
Using last devel kit:
Closing this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
SUMMARY
This output should probably never be allowed to happen:
If the deletion was successful, then the git task should always be changed. Instead, it is "ok" - no change.
I suspect this is because the deletion task may not be deleting hidden folders, including the
.git
folder, which the git module detects, so it then does a checkout, as opposed to a new clone. This is not the intention. The folder should be genuinely empty after the deletion task.The text was updated successfully, but these errors were encountered: