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

OPSEXP-1806 Fix multiline/markdown support in slack notification #162

Merged
merged 5 commits into from
Oct 26, 2022

Conversation

gionn
Copy link
Member

@gionn gionn commented Oct 25, 2022

add tests

OPSEXP-1806

@gionn gionn self-assigned this Oct 25, 2022
@pr-triage pr-triage bot added the PR: draft label Oct 25, 2022
@gionn
Copy link
Member Author

gionn commented Oct 25, 2022

Screenshot 2022-10-25 at 12 11 17

@gionn gionn marked this pull request as ready for review October 25, 2022 13:26
Copy link
Contributor

@atchertchian atchertchian left a comment

Choose a reason for hiding this comment

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

👍

esac
fi

echo ''
Copy link
Contributor

Choose a reason for hiding this comment

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

what about removing the -n switch from echo commands and removing that empty echo ?

Copy link
Member Author

@gionn gionn Oct 26, 2022

Choose a reason for hiding this comment

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

it is to avoid having that last newline converted to \n by sed, while I really want a NL before the closing heredoc tag

echo "\nEOF" would have worked as well but for some reason looked less clear to me :D

@gionn gionn merged commit 85627df into master Oct 26, 2022
@gionn gionn deleted the OPSEXP-1806-slack-tests branch October 26, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants