You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/14 14:57:00 UTC

[jira] [Commented] (BIGTOP-2949) Add gradle task which leverage bigtop-ci/build.sh to build packages

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

ASF GitHub Bot commented on BIGTOP-2949:
----------------------------------------

Github user evans-ye commented on a diff in the pull request:

    https://github.com/apache/bigtop/pull/310#discussion_r156964821
  
    --- Diff: build.gradle ---
    @@ -425,6 +425,24 @@ task "bigtop-slaves"(type:Exec,
       commandLine command
     }
     
    +task "docker-package"(type:Exec,
    +        description: 'Build packages via docker build.\n' +
    +                'Usage:\n  $ ./gradlew -POS=[centos-7|fedora-26|debian-9|ubuntu-16.04|opensuse-42.3] -Pprefix=TAG_PREFIX -Ptarget=GRADLE_TARGET docker-package\n' +
    +                'Example:\n  $ ./gradlew -POS=debian-9 -Pprefix=1.2.1 -Ptarget=tez-pkg docker-package\n' +
    --- End diff --
    
    Valuable inputs @c0s!
    I love the idea of generating targets. Speaking of the name, how about tez-pkg-ind?
    Although dockerized build is our implementation detail, it can tell user what exactly the different is between tez-pkg and tez-pkg-ind. Anyhow user need to have docker installed before running any dockerized target bigtop provides. Therefore I think we should explicitly expose the info.



> Add gradle task which leverage bigtop-ci/build.sh to build packages
> -------------------------------------------------------------------
>
>                 Key: BIGTOP-2949
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2949
>             Project: Bigtop
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 1.2.1
>            Reporter: Evans Ye
>            Assignee: Evans Ye
>             Fix For: 1.3.0
>
>
> Currently we ask our user to build bigtop packages using a very long one-liner docker command. 
> It can only be used with [doc|https://cwiki.apache.org/confluence/display/BIGTOP/How+to+build+Bigtop-trunk]. Meanwhile, *-u jenkins* is very much confusing since we actually need uid 1001 on the host machine instead of just having a user name jenkins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)