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

Performing tasks on a remote worker with Docker. #24

Open
wants to merge 290 commits into
base: scheduler
Choose a base branch
from

Conversation

wesleymonte
Copy link
Contributor

No description provided.

Copy link
Member

@thiagomanel thiagomanel left a 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/Configuration.java Outdated Show resolved Hide resolved
}

public void setRequirements(Map<String, String> requirements) {
this.requirements = requirements;
Copy link
Member

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){
Copy link
Member

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);
Copy link
Member

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){
Copy link
Member

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){
Copy link
Member

Choose a reason for hiding this comment

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

it is odd

Copy link
Member

@joivo joivo left a 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.

wesleymonte and others added 25 commits June 17, 2019 18:10
wesleymonte and others added 30 commits April 29, 2020 12:27
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.

6 participants