fix logrotate to match file with date #2478
No reviewers
Labels
No labels
freeze-break-request
post-freeze
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Infrastructure/ansible#2478
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "logrotate_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related to https://pagure.io/fedora-infrastructure/issue/12398
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/8b9d22bad4724b9db506a5619a7dce40
This will take care of the YYYY-MM-DD ones... but there is still also a access_log one.
So perhaps 2 entries? or some regex that works for both?
rebased onto
6d4c6b0be1
PR updated
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/9996ead7b6e14a979f324267f93e13af
well, you shouldn't need *log and access_log right? the first one should match...
I think there may not be newlines between the logs to match? not 100% sure tho.
rebased onto
f10301013c
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/558e5323f59e41be9572d63e771bec71
@kevin PR updated
Metadata Update from @kevin:
rebased onto
2f67aade41
rebased onto
2f67aade41
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/780e9a2db66a4c16b0ac11a6bb3408bb
Sorry this one has lingered so long. ;(
So, this will only matter on those kojipkgs servers, but it will apply to everything. Will it cause problems for non matching hosts?
Or perhaps can we just do a specific one for kojipkgs instead of changing every one all over?
rebased onto
5561372a5f
Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/cfd4e79ee0f6418ea232627358f21368
@kevin I've just updated with condition !
Can you test this ??
That looks ok, but... this is a file, not a template. We would need to move it to a .j2 file and change the copy to a template in the ansible play(s) that call it.
Can you do that?
Sorry this is drawing out so long. Thanks for working on it!
rebased onto
8a9adc58ec
yes I've just updated the PR , thank you
Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/dd415917788e44b9b66ba965f46decef
rebased onto
e9734b9cdf
rebased onto
e9734b9cdf
Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/418b2bb4b7614832aeb25a40b5c17869
Thanks!
Pull-Request has been merged by kevin