Skip to content
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

Add a PR check to ensure that sidecar executable files have executable permissions #824

Merged
merged 1 commit into from
Feb 2, 2021
Merged

Add a PR check to ensure that sidecar executable files have executable permissions #824

merged 1 commit into from
Feb 2, 2021

Conversation

ericwill
Copy link
Contributor

@ericwill ericwill commented Feb 1, 2021

Signed-off-by: Eric Williams ericwill@redhat.com

What does this PR do?

If a sidecar adds any .sh files, check that they are executable to prevent entrypoint errors.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

Fixes eclipse-che/che#18737

How to test this PR?

Locally, add a non-executable .sh file in sidecars/* and run .ci/sidecar-check-script-permissions.sh. The script should fail until the file gets executable permissions.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

…issions

If a sidecar adds any .sh files, check that they are executable to prevent entrypoint errors.

Fixes eclipse-che/che#18737

Signed-off-by: Eric Williams <ericwill@redhat.com>
@ericwill
Copy link
Contributor Author

ericwill commented Feb 2, 2021

@benoitf any thoughts?

@ericwill ericwill merged commit 7e824ab into eclipse-che:master Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add PR check to ensure sidecar executable files are have correct permissions
2 participants