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

Explicitly log that setup.sh is missing when using custom setup scripts #1247

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

pmalek-sumo
Copy link
Contributor

Description

Fill in your description here.

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@pmalek-sumo pmalek-sumo self-assigned this Dec 15, 2020
@pmalek-sumo pmalek-sumo force-pushed the explicit-failure-logging-for-custom-scripts branch from ac6628e to c89e4cc Compare December 15, 2020 16:36
@pmalek-sumo pmalek-sumo marked this pull request as ready for review December 15, 2020 16:50
@pmalek-sumo pmalek-sumo requested a review from a team December 15, 2020 16:50
Comment on lines 40 to 42
[[ ! -f setup.sh ]] \
&& echo "You're missing setup.sh script in custom scripts directory: '${dir}'" \
&& continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if then would be better to use here than oneliner

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please recheck

sumo-drosiek
sumo-drosiek previously approved these changes Dec 16, 2020
Copy link
Contributor

@sumo-drosiek sumo-drosiek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pmalek-sumo
Copy link
Contributor Author

@perk-sumo @sumo-drosiek Please +1 I had to make commits pretty 🙄

@pmalek-sumo pmalek-sumo merged commit fd69f16 into main Dec 16, 2020
@pmalek-sumo pmalek-sumo deleted the explicit-failure-logging-for-custom-scripts branch December 16, 2020 11:13
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.

None yet

3 participants