-
Notifications
You must be signed in to change notification settings - Fork 200
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
Container code #5250
Closed
Closed
Container code #5250
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ccc5329
escape bash with double quotes as an optional
unkcpz 5816956
address escape issue for ENV variable
unkcpz e61fd73
review
unkcpz 56fd860
double quotes set from computer and to exec command line
unkcpz 034e77b
update test
unkcpz 54ad568
seperate std input output
unkcpz 77e996d
computer_cmdline_params
unkcpz 2e968b4
add use_double_escape to Code and CodeInfo
unkcpz a8c5ce1
unittest
unkcpz 2f5b53f
add computer_cmdline_params to code_info
unkcpz 02067c3
Add custom string for code info to maximum flexibility
unkcpz 549f43f
rename to prepend_cmdline_params
unkcpz e1e758d
code_info use_double_quotes as a tuple
unkcpz 9e23623
explicitly set use_double_quotes in every scheduler test
unkcpz ba40f5a
code setup
unkcpz afa69fc
computer setup
unkcpz 26191fb
draft container code class from code
unkcpz 60049ce
test for container code by calcjob
unkcpz 7d99ace
ugly implementaion of code setup CMD for container code
unkcpz cba54e5
add template for the sarus cmd parameters
unkcpz 1ea9e5e
use tmpl to set sarus command
unkcpz 00aa846
do not escape '$' in bash script
unkcpz 235b67b
rename parameters of ContainerCode init
unkcpz aa1bd86
cmdline for sarus
unkcpz b54e6e2
clean ContainerCode class
unkcpz c915cb2
rollback to only set image in tmpl
unkcpz 34812cc
dont escape when there is $ cmdline param
unkcpz 3284580
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ee8b20b
rename to ContainerizedCode
unkcpz 97d994a
rename the variables
unkcpz 10505cc
review
unkcpz dbcaaed
more
9bc4d3d
entry point issue fix
unkcpz 5bf1a9b
combine append and cmdline_params quotes control
unkcpz b12d6fa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ | |
'Comment', | ||
'Computer', | ||
'ComputerEntityLoader', | ||
'ContainerizedCode', | ||
'DESCENDING', | ||
'Data', | ||
'Dict', | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if "on_container" should be a separate option. Maybe instead of having the "ON_COMPUTER" option we call it "CODE_LOCATION" and provide 3 choices: on a computer, on a container, local. Something like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that these three cases are related; the downside of your suggestion is that we would need to break backwards compatibility.
At this stage I would rather vote for a separate option that is turned off by default.