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

Fix permissions for all files given in s2i #59

Merged
merged 1 commit into from
Oct 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ echo "---> Copying varnish configuration files..."
rm -rf "${VARNISH_CONFIGURATION_PATH}/default.vcl"
cp -Rfv /tmp/src/. "${VARNISH_CONFIGURATION_PATH}"

# Fix source directory permissions
fix-permissions ./
fix-permissions ${VARNISH_CONFIGURATION_PATH}

if [ ! -f "${VARNISH_CONFIGURATION_PATH}/default.vcl" ]; then
echo "Error: The varnish configuration must contain 'default.vcl' file."
exit 1
Expand Down