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

Interpolate the content of text file #99

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

bgandon
Copy link
Contributor

@bgandon bgandon commented Feb 5, 2024

With this PR, the content of text_file is interpolated the same way text is.

The change in out is quite trivial, and we've added two automated tests to cover the new expected behavior.

This new behavior may produce unexpected results when the content of the text_file includes some environment variables that are to be printed verbatim and not expanded.

We think that including variables like $BUILD_PIPELINE_NAME in the ù text_file` and expecting these to be printed verbatim in a Slack message is a very uncommon requirement. Thus, we expect the impact to be very limited.

@bgandon bgandon changed the title interpolate text file Interpolate the content of text file Feb 5, 2024
@bgandon bgandon self-assigned this Feb 5, 2024
@bgandon
Copy link
Contributor Author

bgandon commented Feb 6, 2024

PR-testing pipeline job is broken but the build and tests are passing ✅

@bgandon bgandon merged commit 82e2bd0 into develop Feb 6, 2024
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

1 participant