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

support multiple lines in devcontainer action #116

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

guybartal
Copy link
Collaborator

Support multiple lines in devcontainer action

Before this PR CI workflow developers could only code commands in a single line (inline) to run inside devcontainer,
this becomes challenging to code complex scenarios and maintain it overtime as it is less readable.

This PR introduces a way to embed multiple shell command lines which are more readable and maintainable,
this inline script then materializes into a temp unique shell file which is mounted as command.sh file inside the workspace path.

@guybartal guybartal requested a review from Copilot December 12, 2024 07:28

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

@guybartal guybartal enabled auto-merge (squash) December 12, 2024 07:47
@guybartal guybartal merged commit eeda8a4 into main Dec 12, 2024
2 checks passed
@marrobi
Copy link
Member

marrobi commented Dec 12, 2024

Not sure this should have been merged, the changes are typically made upstream to common files and then pulled down to this repo. Not sure it breaks anything though, @tamirkamara ?

@guybartal
Copy link
Collaborator Author

It got merged automatically, anyway I need that for the next PR, cause I'm counting on it.

@guybartal guybartal deleted the guybartal/ci-multiple-lines branch December 12, 2024 15:35
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.

3 participants