[ 
https://issues.apache.org/jira/browse/AURORA-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santhosh Kumar Shanmugham updated AURORA-1824:
----------------------------------------------
    Description: 
Similar to the binding-helper that was introduced for DockerContainerizer 
(introduced in https://reviews.apache.org/r/52479/), we need another 
binding-helper that will resolve the MesosContainerizers docker config's image 
tag to image digest.

DSL Translation:

{noformat}
Job {
...
mesos = Mesos(image='{{docker.resolve["my-image"]["my-tag"]}}')
...
}
{noformat}

will be translated to,

{noformat}
Job {
...
mesos = Mesos(image=DockerImage(name="my-image", digest="my-digest"))
...
}
{noformat}


  was:
Similar to the binding-helper that was introduced for DockerContainerizer 
(introduced in https://reviews.apache.org/r/52479/), we need another 
binding-helper that will resolve the MesosContainerizers docker config's image 
tag to image digest.

DSL Translation:

{noformat}
Job {
...
mesos = Mesos(image='{{docker.resolve["my-image"]["my-tag"]}}')
...
}

will be translated to,

Job {
...
mesos = Mesos(image=DockerImage(name="my-image", digest="my-digest"))
...
}
{noformat}



> Create a binding-helper to resolve docker tags to concrete image digests for 
> MesosContainerizer
> -----------------------------------------------------------------------------------------------
>
>                 Key: AURORA-1824
>                 URL: https://issues.apache.org/jira/browse/AURORA-1824
>             Project: Aurora
>          Issue Type: Story
>            Reporter: Santhosh Kumar Shanmugham
>
> Similar to the binding-helper that was introduced for DockerContainerizer 
> (introduced in https://reviews.apache.org/r/52479/), we need another 
> binding-helper that will resolve the MesosContainerizers docker config's 
> image tag to image digest.
> DSL Translation:
> {noformat}
> Job {
> ...
> mesos = Mesos(image='{{docker.resolve["my-image"]["my-tag"]}}')
> ...
> }
> {noformat}
> will be translated to,
> {noformat}
> Job {
> ...
> mesos = Mesos(image=DockerImage(name="my-image", digest="my-digest"))
> ...
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to