infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivér Szabó (JIRA) <>
Subject [jira] [Commented] (INFRA-17071) Build and publish Docker images (infra-solr,logsearch) to Docker hub
Date Sun, 30 Sep 2018 20:55:00 GMT


Olivér Szabó commented on INFRA-17071:

[~gmcdonald], seems like it's worked now, used built-in steps for running the maven goals
(that used a bit newer maven version as well) and set to use private maven repo there. Also
probably that have ran on a different machine with a different docker username (Username:
whiskbot), not sure which one mattered there yet. i will keep this open for a few days, and
if it will work with other environments i will close this

> Build and publish Docker images (infra-solr,logsearch) to Docker hub
> --------------------------------------------------------------------
>                 Key: INFRA-17071
>                 URL:
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Docker, Jenkins
>            Reporter: Olivér Szabó
>            Assignee: Gavin
>            Priority: Major
>              Labels: Docker
> For some newly created ambari repos (apache/ambari-logsearch and apache/ambari-infa)
we want to push containers to apache docker hub repos. 
> ask is similar as here:
> images would be:
> apache/ambari-infra-solr
> apache/ambari-logsearch-portal
> apache/ambari-logsearch-logfeeder
> i have started to test around to see am i able to push (without an existing docker repo
on docker hub) directly to apache dockerhub with the jenkins user (
- it failed as it was expected)
> cc [~gmcdonald], 
> can those repositories be created on docker hub? and if jenkins user can access write
into those repos, is it needed to build and push the images through maven (as credentials
are in .m2/settings.xml or security.xml or something) or can we just call docker push with
the right params after the docker build?

This message was sent by Atlassian JIRA

View raw message