-
Notifications
You must be signed in to change notification settings - Fork 4
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
Performing tasks on a remote worker with Docker. #24
base: scheduler
Are you sure you want to change the base?
Conversation
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.
thanks @wesleymonte
overall, the code seems ok to me. However, I submitted a bunch of small comments. Any doubt, talk to me directly
src/main/java/org/fogbowcloud/arrebol/execution/DockerTaskExecutor.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
public void setRequirements(Map<String, String> requirements) { | ||
this.requirements = requirements; |
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.
it is odd
this.requirements = requirements; | ||
} | ||
|
||
protected void setImage(String image){ |
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.
it is odd
public String start() throws Exception { | ||
String containerId = this.containerRequestHelper.createContainer(); | ||
this.containerRequestHelper.startContainer(); | ||
LOGGER.info("Started the container " + this.containerName); |
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.
should log address and name (in all the places we have only one of them)
return execInstanceResult; | ||
} | ||
|
||
public void setRequirements(Map<String, String> requirements){ |
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.
it is odd
this.containerRequestHelper.setRequirements(requirements); | ||
} | ||
|
||
public void setImage(String image){ |
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.
it is odd
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.
Working on changes requests.
Hotfix/fixed pull image
…g-lsd/arrebol into feature/check-commands-state
Feature/check commands state
Feature/check commands tests.
Added stderr to exec instance
Feature/docker script
Feature/worker deployment
Enhancement of deploy doc
Updated deploy doc
Hotfix/arrebol k8s doc
No description provided.