infra-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/INFRA-17071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633115#comment-16633115
] 

Olivér Szabó commented on INFRA-17071:
--------------------------------------

[~gmcdonald], thanks, that is awesome.
It seems it did not worked with just the simple docker push command, I'm wondering that will
work with a maven plugin (if credentials are used from maven setting.xml/security.xml that
would explain), so i will try it out with that as well

> Build and publish Docker images (infra-solr,logsearch) to Docker hub
> --------------------------------------------------------------------
>
>                 Key: INFRA-17071
>                 URL: https://issues.apache.org/jira/browse/INFRA-17071
>             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: https://issues.apache.org/jira/browse/INFRA-16647
> 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 (https://builds.apache.org/job/Ambari-Infra-docker-push/
- 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
(v7.6.3#76005)

Mime
View raw message