tag:github.com,2008:https://github.com/ggee/gradle-docker/releases Release notes from gradle-docker 2019-04-24T21:45:51Z tag:github.com,2008:Repository/222816553/0.22.1 2019-04-24T21:45:51Z 0.22.1: [fix] Don't shadow the standard gradle 'ext' field on tasks. (#243) <p>[fix] All Gradle Tasks (and many other things) have a special 'ext' extension,<br> which is of type ExtraPropertiesExtension<br> (see <a href="https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionAware.html" rel="nofollow">https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/ExtensionAware.html</a>).<br> Previously the DockerComposeExtension was shadowing this as it was set as a field<br> with name 'ext' on the gradle tasks created by this plugin.</p> <h2>Before this PR</h2> <p>It was not possible to set custom properties on the <code>generateDockerCompose</code> task by the usual <code>generateDockerCompose.ext.foo = "bar"</code> method supported by all other Gradle tasks because the <code>GenerateDockerCompose</code> task had a field <code>ext</code> that contained the <code>DockerComposeExtension</code>.</p> <h2>After this PR</h2> <p>This PR removes the <code>ext</code> field on <code>GenerateDockerCompose</code> and <code>DockerComposeUp</code> and gets the <code>DockerComposeExtension</code> directly from the project.</p> GrahamDennis tag:github.com,2008:Repository/222816553/0.22.0 2019-04-10T15:37:56Z 0.22.0: [improvement] docker configuration includes productDependencies (#239) <h2>Before this PR</h2> <p>Internally, many repos use this plugin in conjunction with gradle-sls-packaging. When trying to create a docker-compose.yml for ETE testing, users usually want to use versions of their <em>product dependencies</em>.</p> <p>From <a href="https://github.com/palantir/sls-packaging/releases/tag/3.7.1">sls-packaging 3.7.1</a> onwards, there's now a convenient way of getting access to this information.</p> <h2>After this PR</h2> <p>Repos that use <code>com.palantir.docker-compose</code> at the root and <code>com.palantir.sls-java-service-distribution</code> in a subproject will now be able to magically refer to their product dependencies when templating their docker-compose.yml files:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" my-product: container_name: my-product.palantir.pt hostname: my-product domainname: palantir.pt image: 'docker-registry/foo/my-product:{{com.palantir.foo:my-product}}' ports: - &quot;8901:8901&quot; - &quot;8902:8902&quot;"><pre> <span class="pl-ent">my-product</span>: <span class="pl-ent">container_name</span>: <span class="pl-s">my-product.palantir.pt</span> <span class="pl-ent">hostname</span>: <span class="pl-s">my-product</span> <span class="pl-ent">domainname</span>: <span class="pl-s">palantir.pt</span> <span class="pl-ent">image</span>: <span class="pl-s"><span class="pl-pds">'</span>docker-registry/foo/my-product:{{com.palantir.foo:my-product}}<span class="pl-pds">'</span></span> <span class="pl-ent">ports</span>: - <span class="pl-s"><span class="pl-pds">"</span>8901:8901<span class="pl-pds">"</span></span> - <span class="pl-s"><span class="pl-pds">"</span>8902:8902<span class="pl-pds">"</span></span></pre></div> iamdanfox tag:github.com,2008:Repository/222816553/0.21.0 2019-01-07T17:46:54Z 0.21.0 <p>Support task name for tags (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="371038877" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/205" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/205/hovercard" href="https://github.com/palantir/gradle-docker/pull/205">palantir#205</a>)</p> devkanro tag:github.com,2008:Repository/222816553/0.20.1 2018-07-03T19:57:55Z 0.20.1 <p>fix issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="267922038" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/149" data-hovercard-type="issue" data-hovercard-url="/palantir/gradle-docker/issues/149/hovercard" href="https://github.com/palantir/gradle-docker/issues/149">palantir#149</a> and issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="274497929" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/151" data-hovercard-type="issue" data-hovercard-url="/palantir/gradle-docker/issues/151/hovercard" href="https://github.com/palantir/gradle-docker/issues/151">palantir#151</a> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="318789314" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/177" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/177/hovercard" href="https://github.com/palantir/gradle-docker/pull/177">palantir#177</a>)</p> thunderstumpges tag:github.com,2008:Repository/222816553/0.20.0 2018-06-28T18:23:21Z 0.20.0 <p>dockerComposeUp task (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="336418576" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/186" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/186/hovercard" href="https://github.com/palantir/gradle-docker/pull/186">palantir#186</a>)</p> samrogerson tag:github.com,2008:Repository/222816553/0.19.2 2018-02-16T14:31:00Z 0.19.2 <p>Capture tagName in lazily evaluated block (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="297800575" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/167" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/167/hovercard" href="https://github.com/palantir/gradle-docker/pull/167">palantir#167</a>)</p> darora tag:github.com,2008:Repository/222816553/0.19.1 2018-02-15T17:50:51Z 0.19.1 <p>Fix lazy evaluation (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="297536868" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/166" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/166/hovercard" href="https://github.com/palantir/gradle-docker/pull/166">palantir#166</a>)</p> darora tag:github.com,2008:Repository/222816553/0.19.0 2018-02-15T17:12:21Z 0.19.0 <p>Merge pull request <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="297509017" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/165" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/165/hovercard" href="https://github.com/palantir/gradle-docker/pull/165">palantir#165</a> from darora/da/image-name-lazy</p> darora tag:github.com,2008:Repository/222816553/0.18.0 2018-02-14T16:19:11Z 0.18.0: Merge pull request #163 from darora/da/docker-image-name <p>Allow for configuration of additional template tokens for docker compose files.</p> iamdanfox tag:github.com,2008:Repository/222816553/0.17.2 2017-12-22T17:18:37Z 0.17.2 <p>Publishing plugin to 0.9.9 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="284212341" data-permission-text="Title is private" data-url="https://github.com/palantir/gradle-docker/issues/160" data-hovercard-type="pull_request" data-hovercard-url="/palantir/gradle-docker/pull/160/hovercard" href="https://github.com/palantir/gradle-docker/pull/160">palantir#160</a>)</p> ggee