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

Add support for ContainerDefinition MountPoints #164

Merged
merged 2 commits into from
Jun 28, 2017
Merged

Add support for ContainerDefinition MountPoints #164

merged 2 commits into from
Jun 28, 2017

Conversation

jfklingler
Copy link
Contributor

The TaskDefinition also validates that the any ContainerDefinitions' MountPoints' SourceVolume names matche one of the Volumes in the TaskDefinition.

Fixes #163

The TaskDefinition also validates that the any ContainerDefinitions' MountPoints' SourceVolume names matche one of the Volumes in the TaskDefinition.
@Tvaroh
Copy link

Tvaroh commented May 7, 2017

Could this be merged? I need this so much.

MemoryReservation, MountPoints, Name, PortMappings, Privileged, ReadonlyRootFilesystem, Ulimits, User,
VolumesFrom, WorkingDirectory, None
)

implicit val format: JsonFormat[ContainerDefinition] = new RootJsonFormat[ContainerDefinition] {
override def write(cd: ContainerDefinition) = {
val obj = JsObject(
Copy link

Choose a reason for hiding this comment

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

MountPoints is missing from this object, so nothing is added to the result template.

Copy link
Contributor

Choose a reason for hiding this comment

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

@jfklingler I haven't had a chance to confirm myself, can you respond to @Tvaroh 's comment?

@bkrodgers
Copy link
Contributor

@jfklingler Any comment on @Tvaroh 's note above?

@jfklingler
Copy link
Contributor Author

Sorry. I haven't had a chance to get back to this. I'll try to take a look next week.

@jfklingler
Copy link
Contributor Author

Finally got back around to this. Yeah, I completely overlooked the custom JsonFormat[ContainerDefinition] for this.

@bkrodgers bkrodgers merged commit db79c1b into Bayer-Group:master Jun 28, 2017
@jfklingler jfklingler deleted the monsantoco-163 branch June 30, 2017 18: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