question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.27.2] portPropertyFile not written anymore

See original GitHub issue

Description

After upgrading to newer d-m-p version (0.26.1 -> 0.27.2) the portPropertyFile-property is not working anymore. By checking change logs and issues we did not really found an explanation why this failure happens. We used following standard configuration.

<configuration>
    <portPropertyFile>${project.basedir}/src/test/resources/ports.properties</portPropertyFile>
    <images>
        <image>
            <name>test-db</name>
            <registry>vm-test:443</registry>
            <alias>dockerfile</alias>
            <build>
                <dockerFileDir>${project.basedir}/src/test/docker</dockerFileDir>
            </build>
            <run>
                <ports>
                    <port>host.port:5432</port>
                </ports>
                <wait>
                    <time>5000</time>
                </wait>
            </run>
        </image>
    </images>
</configuration>

Thanks in advance, Uwe

Info

  • d-m-p version : 0.26.1 -> 0.27.2
  • Maven version (mvn -v) : Apache Maven 3.3.9
  • Docker version :
Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:04:27 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:04:27 2017
 OS/Arch:      linux/amd64
 Experimental: false
  • If it’s a bug, how to reproduce : just change the version 😉

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
rohanKanojiacommented, Jul 23, 2019

oh, okay. Let me try to look into this.

1reaction
rhusscommented, Oct 12, 2018

Thanks for the report, really looks like a regression. I’m trying to jump on that asap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fabric8io/docker-maven-plugin
Network configuration for your container. portPropertyFile. File path into which the mapped port properties are written. The format of this file ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found