www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Farrell <jfarr...@apache.org>
Subject Re: MS-SQL, mysql, etc
Date Wed, 14 Sep 2016 05:10:41 GMT
Apache Mesos also uses Docker for its builds, they have a script [1] that
creates the dockerfile and builds out the container from there. The Apache
Thrift job also is an example of how you can setup to build/test using
Docker with jenkins, though we have switched to Travis for our primary CI

If you have any questions happy to help

[1]: https://github.com/apache/mesos/blob/master/support/docker_build.sh

On Tue, Sep 13, 2016 at 1:15 AM, Stefan Seelmann <mail@stefan-seelmann.de>

> 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 help.
> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message