[aerogear-dev] digger-jenkins repo and dockerhub
Wojciech Trocki
wtrocki at redhat.com
Wed Jun 21 06:31:07 EDT 2017
I have done couple investigations for this particular problem. For both
Travis and Jenkins we do not have any build in way to know what was
changed.
One of the ways is just to have custom script to diff specific folders and
suppress builds in build matrix if there are no changes.
Moving images to own repo will be the easiest solution here.
We done that for all RHMAP core images.
WOJCIECH TROCKI
SOFTWARE ENGINEER
Red Hat Mobile <https://www.redhat.com/>
IM: wtrocki
<https://red.ht/sig>
On Wed, Jun 21, 2017 at 10:59 AM, Leonardo Rossetti <lrossett at redhat.com>
wrote:
> Hello,
>
> We currently have the following in our digger-jenkins repo[1]:
>
> - android-sdk docker image (which includes androidctl cli);
> - jenkins android slave image;
> - openshift templates;
> - some osx related scripts;
>
> I wanted to automatically build/push the docker images to dockerhub after
> a PR is merged but I believe dockerhub has a "per repo" integration, which
> means that both images would be built/pushed every time we send a pr/commit
> into this repo.
>
> Does anyone know if we can create a "per folder" integration where it
> detects Dockerfile changes per folder (if we change android-sdk dockerfile
> it should only build this image) and not re-build and re-push both images
> on every commit?
>
> Other options would be:
>
> - Move those images to their own repo;
> - Create/host a jenkins instance somewhere so we can automate this
> workflow with custom scripts.
>
>
> Regards,
>
> [1] - https://github.com/aerogear/digger-jenkins
>
> --
>
> LEONARDO ROSSETTI
>
> SOFTWARE ENGINEER
>
> Red Hat SP <https://www.redhat.com/>
>
> lrossett at redhat.com M: 11997030621
> <https://red.ht/sig>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170621/ae608142/attachment.html
More information about the aerogear-dev
mailing list