hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11933) run test-patch.sh in a docker container under Jenkins
Date Thu, 21 May 2015 18:53:18 GMT

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

Allen Wittenauer commented on HADOOP-11933:
-------------------------------------------

I'm play shell games. :D

--dockermode is a standalone option that says "hey, we were invoked underneath docker, don't
spawn another one" TESTPATCHMODE has all of the user passed parameters.  We then append --basedir,
etc to *override* the values in TESTPATCHMODE.

So this code is adding --dockermode to the parameter list.  If you want, I can move --dockermode
to be after TESTPATCHMODE if it makes it cleaner.  Or maybe just a comment here, warning of
the black magic in the works.

> run test-patch.sh in a docker container under Jenkins
> -----------------------------------------------------
>
>                 Key: HADOOP-11933
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11933
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-11933.00.patch, HADOOP-11933.01.patch, HADOOP-11933.02.patch,
HADOOP-11933.03.patch, HADOOP-11933.04.patch, HADOOP-11933.05.patch
>
>
> because of how hard it is to control the content of the Jenkins environment, it would
be beneficial to run it in a docker container so that we can have tight control of the environment



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message