www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: MS-SQL, mysql, etc
Date Wed, 14 Sep 2016 23:05:47 GMT
On 13/09/2016 3:15pm, Stefan Seelmann wrote:
> On 09/13/2016 02:41 AM, Aristedes Maniatis wrote:
>> Do you know of any projects running on Jenkins I can look at that do something similar?
> For Apache Directory we currently have two builds [2][3] using Docker,
> but there we start the containers from a shell script.
>> I've actually never used docker and maven drives me up the wall (but not yet quite
enough to put the effort into migrating Cayenne to gradle). So a bit of copy and paste would
> I sent you a pull request [4] that adds a new Maven profile which starts
> a Postgres Docker container before integration tests and stops it
> afterwards. For other DBs it should look similar.
> Side note: two tests in cayenne-server fail against Postgres:
> DataContextIteratedQueryIT.testPerformIteratedQuery_resolve:207 »
> CayenneRuntime
> DataContextIteratedQueryIT.testPerformIteratedQuery_CommitWithinIterator:227
> » CayenneRuntime
>> I am assuming I'll want to pull the Docker images from somewhere on local Apache
infrastructure rather than downloading them from the internet for every build?
> No, the Docker image is downloaded on demand and stored/cached locally,
> so the next build just reuses the downloaded image.
> Kind Regards,
> Stefan
> [2] https://builds.apache.org/job/dir-fortress-core-docker-test/
> [3] https://builds.apache.org/job/dir-apacheds-docker-installers/
> [4] https://github.com/apache/cayenne/pull/111

Thanks so much for this Stefan. Much appreciated.


Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

View raw message