-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[CI][static][workers] write access to allow deleteDir #24233
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Trends 🧪❕ Flaky test reportNo test was executed to be analysed. |
script/fix_permissions.sh
Outdated
# Change permissions with write access of all files inside the specific folder | ||
docker run -v "${LOCATION}":/beat ${DOCKER_IMAGE} sh -c "find /beat -exec chmod -R +w {} \;" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Change permissions with write access of all files inside the specific folder | ||
chmod -R +w "${LOCATION}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this PR do?
The beats build system somehow create files with read only access and different ownership, this causes issues in the CI when using static workers
Why is it important?
Ensure the static workers can be tear down correctly.
Test