Hi all,
While at the OSGeo code sprint, I spent some time working with
CircleCI. The goal was to see if one build could chain multiple repos
together. That is, could a CircleCI job build GeoTools, GeoWebCache,
and GeoServer?
The good news is that CircleCI is flexible enough to chain builds. I
put together a dummy example of that with JTS and Hatbox[1]. I was able
to see a failure on a branch of JTS where I changed the name of class
that Hatbox uses.
When I tried to setup a GeoTools build[2], I ran into problems where I
was unable to get the project to build. I may have screwed up something
with the job config or we need a bigger box from CircleCI (which would
cost money).
Since I wasn't finding good examples and was generally having trouble, I
moved on to working with Jody on ImageN.
Anyone who is interested is more than welcome to my branches. Also, I'm
happy to answer any questions. Wish I had better news...
Cheers,
Jim
1. https://github.com/jnh5y/jts/blob/circleci/.circleci/config.yml
2. https://github.com/jnh5y/geotools/blob/circleci/.circleci/config.yml
On 5/14/2019 2:49 AM, Andrea Aime wrote:
Hi Jody,
this worries me... the build server is showing long build queues with
the current workload,
if we add more, we should also provision more build power imho?
Cheers
Andrea
On Mon, May 13, 2019 at 10:54 PM Jody Garnett <[email protected]
<mailto:[email protected]>> wrote:
When build.geoserver.org <http://build.geoserver.org> is back we
should be able to configure it to check pull request branches and
do a long build chain as you describe Andrea.
--
Jody Garnett
On Mon, 13 May 2019 at 14:22, Chris Snider
<[email protected]
<mailto:[email protected]>> wrote:
Is any part of the build chain Jenkins? I know Jenkins can
call a build script from another branch of the same
repository, but it may also work to call a build job from a
different repository. I plan on investigating this process
for our in-house builds for a project I moved to. Might be
worth someone with access to the build servers to investigate
cross-repository builds?
Chris Snider
Senior Software Engineer
pa-logo-email
*From:* Andrea Aime <[email protected]
<mailto:[email protected]>>
*Sent:* Monday, May 13, 2019 10:37 AM
*To:* Geotools-Devel list
<[email protected]
<mailto:[email protected]>>;
Geoserver-devel <[email protected]
<mailto:[email protected]>>
*Subject:* Re: [Geoserver-devel] GeoTools PR reviews and
downstream builds
On Mon, May 13, 2019 at 5:29 PM Andrea Aime
<[email protected]
<mailto:[email protected]>> wrote:
Was wondering if this could be delegated to the build
server, rough idea:
* Add a entry in the build matrix that runs a custom
shell script
* The script build geotools without tests (the other
builds cover that) in order to have fresh local GT
jars in the maven repository
* The script then check out GeoServer sources, and
builds it with tests
* Repeat the above steps for GWC as well
However, I have no idea if a build matrix entry is even
allowed to do the above.
Has anyone experiences trying to do anything similar
Another possibility would be to run the custom script on
another build platform. Has anyone experience for example with
circle-ci?
I see they provide 4 build containers to open source projects:
https://circleci.com/open-source/
Open to other free alternatives too, bring them in.
Cheers
Andrea
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito
3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584
1660272 mob: +39 339 8844549 http://www.geo-solutions.it
http://twitter.com/geosolutions_it
------------------------------------------------------- /Con
riferimento alla normativa sul trattamento dei dati personali
(Reg. UE 2016/679 - Regolamento generale sulla protezione dei
dati “GDPR”), si precisa che ogni circostanza inerente alla
presente email (il suo contenuto, gli eventuali allegati,
etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è
giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse
darmene notizia. This email is intended only for the person or
entity to which it is addressed and may contain information
that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or use of
this e-mail or the information herein by anyone other than the
intended recipient is prohibited. If you have received this
email by mistake, please notify us immediately by telephone or
e-mail./
_______________________________________________
GeoTools-Devel mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geotools-devel
--
Regards, Andrea Aime == GeoServer Professional Services from the
experts! Visit http://goo.gl/it488V for more information. == Ing.
Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di
Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39
0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it
http://twitter.com/geosolutions_it
------------------------------------------------------- /Con
riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene
notizia. This email is intended only for the person or entity to which
it is addressed and may contain information that is privileged,
confidential or otherwise protected from disclosure. We remind that -
as provided by European Regulation 2016/679 “GDPR” - copying,
dissemination or use of this e-mail or the information herein by
anyone other than the intended recipient is prohibited. If you have
received this email by mistake, please notify us immediately by
telephone or e-mail./
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel