You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Josh Fischer <jo...@joshfischer.io> on 2019/05/02 19:20:22 UTC

Re: Jenkins Build for Heron

Any chance I could get some help with this?

- Josh



On Fri, Apr 26, 2019 at 10:45 AM Dave Fisher <da...@comcast.net> wrote:

> Hi Josh,
>
> You need to be added to the  hudson-jobadmin LDAP group. Only PMC Chairs
> can do this.
>
> Is there a PMC Chair listening here who could grant Josh Karma?
>
> Regards,
> Dave
>
> > On Apr 26, 2019, at 3:50 AM, Josh Fischer <jo...@joshfischer.io> wrote:
> >
> >
> > I was looking around the site
> https://builds.apache.org/view/Heron%20Jobs/ . I've logged in, but I
> don't see a way to create a freestyle project/pipeline/anything in the UI.
>  Am I missing something obvious?
> >
> >  Please see the google drive link below for the image.
> >
> >
> https://drive.google.com/file/d/1BGjltTiRNZRfBaT5d2heTKEfKfUe0Irz/view?usp=sharing
> >
> >
> > On Tue, Apr 23, 2019 at 7:02 PM Josh Fischer <jo...@joshfischer.io>
> wrote:
> > Thanks for the help Gavin and Dave.  I’m sure I will have some questions
> as I go.  Will start to understand the process more tonight.  I’ll follow
> up with a status update  and questions to dev@heron.
> >
> >
> > On Tue, Apr 23, 2019 at 5:36 PM Dave Fisher <da...@comcast.net>
> wrote:
> > Hi Gavin,
> >
> > Thanks!
> >
> > Josh - when you create the job under a Heron tab make sure that just
> after the JDK selection you check the “Restrict where this project can be
> run to the “Label Expression” = git-websites
> >
> > You can play with the shell script to look at what is where on the
> git-websites box.
> >
> > Let me know on dev@heron if you want to discuss the Incubator site as
> an example.
> >
> > Regards,
> > Dave
> >
> > > On Apr 23, 2019, at 12:44 PM, Gavin McDonald <ip...@gmail.com>
> wrote:
> > >
> > > Hi All,
> > >
> > > gulp and hugo should be installed on the websites jenkins node shortly
> > >
> > > HTH
> > >
> > > Gav...
> > >
> > >
> > > On Tue, Apr 23, 2019 at 8:38 PM Dave Fisher <da...@comcast.net>
> wrote:
> > >>
> > >> Hi -
> > >>
> > >> I am a mentor to Heron and am following this request. Does the website
> > > Jenkins box have the software and if so, what version?
> > >>
> > >> If there is a quick way to query that information that would be
> great! If
> > > not then we figure a way to look.
> > >>
> > >>> On Apr 23, 2019, at 11:50 AM, Josh Fischer <jo...@joshfischer.io>
> wrote:
> > >>>
> > >>> I am one of the committers on the incubating project Heron.  I am
> > > looking
> > >>> to create a Jenkins job that will be triggered on commit's to the
> > >>> "asf-site" branch to build and deploy our static assets and I have
> some
> > >>> questions.
> > >>>
> > >>> 1. Does the Jenkins box have the build tools listed below already?
> Or
> > > do
> > >>> you think it would be better if I downloaded and installed in the
> > > workspace
> > >>> for each build?
> > >>>
> > >>> 2. Where would I put the static files to be served?  I'm assuming
> there
> > > is
> > >>> something already pre-defined in the jenkins box that I can re-use?
> > >>>
> > >>>
> > >>> The requirements for building our site  are as follows: (I copied our
> > > setup
> > >>> script directly  to make sure I didn't miss anything).  I hope this
> is
> > >>> enough detail, please let me know.
> > >>>
> > >>> A quick overview is:
> > >>>
> > >>>
> > >>>  - Make <https://www.gnu.org/software/make/>
> > >>>  - Hugo
> > >>>  - GulpJs
> > >>>  - Node.js <https://nodejs.org/en/>
> > >>>  - npm <https://www.npmjs.com/>
> > >>>  - pip <https://pypi.python.org/pypi/pip> - install PyYAML>=3.12
> > >>>  - Go <https://golang.org/> (make sure that your GOPATH and GOROOT
> are
> > >>>  set)
> > >>>  - Java 8
> > >>>  - Bazel 0.23
> > >>>
> > >>>
> > >>> PLATFORM=`platform`
> > >>> if [ $PLATFORM = darwin ]; then
> > >>> go get -v github.com/gohugoio/hugo
> > >>> which wget || brew install wget
> > >>> elif [ $PLATFORM = ubuntu ]; then
> > >>> sudo apt-get install golang git mercurial -y
> > >>> export GOROOT=/usr/lib/go
> > >>> export GOPATH=$HOME/go
> > >>> export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
> > >>> go get -u -v github.com/spf13/hugo
> > >>> elif [ $PLATFORM = centos ]; then
> > >>> sudo yum -y install nodejs npm golang --enablerepo=epel
> > >>> export GOROOT=/usr/lib/go
> > >>> export GOPATH=$HOME/go
> > >>> export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
> > >>> go get -u -v github.com/spf13/hugo
> > >>> fi
> > >>> npm install
> > >>> sudo -H pip uninstall -y pygments
> > >>> sudo -H pip install pygments==2.1.3 pdoc==0.3.2
> > >>> Please Advise,
> > >>>
> > >>
> > >> Thanks
> > >> Regards,
> > >> Dave
> > >>
> > >>> Josh
> > >>>
> > >>> On Sat, Apr 13, 2019 at 7:47 PM Josh Fischer <jo...@joshfischer.io>
> > > wrote:
> > >>>
> > >>>> Hi,
> > >>>>
> > >>>> I am one of the committers on the incubating project Heron.  I am
> > > looking
> > >>>> to create a Jenkins job that will be triggered on commit's to the
> > >>>> "asf-site" branch to build and deploy our static assets.  I'd like
> to
> > > check
> > >>>> if the Jenkins box supports what we will need for building our site
> as
> > > well
> > >>>> as get some guidance to where and how I will place the static assets
> > > to be
> > >>>> served for our site.
> > >>>>
> > >>>>
> > >>>> The requirements for building our site  are as follows: (I copied
> our
> > >>>> setup script directly  to make sure I didn't miss anything).  I hope
> > > this
> > >>>> is enough detail, please let me know.
> > >>>>
> > >>>> A quick overview is:
> > >>>>
> > >>>>
> > >>>>  - Make <https://www.gnu.org/software/make/>
> > >>>>  - Node.js <https://nodejs.org/en/>
> > >>>>  - npm <https://www.npmjs.com/>
> > >>>>  - pip <https://pypi.python.org/pypi/pip> - install PyYAML>=3.12
> > >>>>  - Go <https://golang.org/> (make sure that your GOPATH and GOROOT
> are
> > >>>>  set)
> > >>>>  - Java 8
> > >>>>  - Bazel 0.23
> > >>>>
> > >>>>
> > >>>> PLATFORM=`platform`
> > >>>> if [ $PLATFORM = darwin ]; then
> > >>>> go get -v github.com/gohugoio/hugo
> > >>>> which wget || brew install wget
> > >>>> elif [ $PLATFORM = ubuntu ]; then
> > >>>> sudo apt-get install golang git mercurial -y
> > >>>> export GOROOT=/usr/lib/go
> > >>>> export GOPATH=$HOME/go
> > >>>> export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
> > >>>> go get -u -v github.com/spf13/hugo
> > >>>> elif [ $PLATFORM = centos ]; then
> > >>>> sudo yum -y install nodejs npm golang --enablerepo=epel
> > >>>> export GOROOT=/usr/lib/go
> > >>>> export GOPATH=$HOME/go
> > >>>> export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
> > >>>> go get -u -v github.com/spf13/hugo
> > >>>> fi
> > >>>> npm install
> > >>>> sudo -H pip uninstall -y pygments
> > >>>> sudo -H pip install pygments==2.1.3 pdoc==0.3.2
> > >>>>
> > >>
> > >
> > >
> > > --
> > > Gav...
> >
> > --
> > Sent from A Mobile Device
>
>

Re: Jenkins Build for Heron

Posted by Josh Fischer <jo...@joshfischer.io>.
I just verified. It looks like I now have the necessary permissions. Thank
you all for the help.

Dave,

I'll follow up on dev@heron if I have any questions.

- Josh

On Fri, May 3, 2019 at 1:17 AM Gavin McDonald <ip...@gmail.com> wrote:

> Note that you were added to the hudson-jobadmin group by Jan Materne 3
> days ago.
>
> HTH
>
> Gav...
>
>
> On Fri, May 3, 2019 at 3:07 AM Josh Fischer <jo...@joshfischer.io> wrote:
> >
> > Thank you for looking in to this Justin. I appreciate your time.
> >
> > Hope you have a good night!
> >
> > - Josh
> >
> > On Thu, May 2, 2019 at 6:25 PM Justin Mclean <ju...@classsoftware.com>
> wrote:
> >>
> >> Hi,
> >>
> >>> You need to be added to the  hudson-jobadmin LDAP group. Only PMC
> Chairs can do this.
> >>
> >>
> >> I would help but have no idea how, there is no interface in whimsey
> that I can see for doing this, and the infra documentation is lacking. I’ll
> ask them how to do it.
> >>
> >> Thanks,
> >> Justin
>
>
>
> --
> Gav...
>

Re: Jenkins Build for Heron

Posted by Gavin McDonald <ip...@gmail.com>.
Note that you were added to the hudson-jobadmin group by Jan Materne 3 days
ago.

HTH

Gav...


On Fri, May 3, 2019 at 3:07 AM Josh Fischer <jo...@joshfischer.io> wrote:
>
> Thank you for looking in to this Justin. I appreciate your time.
>
> Hope you have a good night!
>
> - Josh
>
> On Thu, May 2, 2019 at 6:25 PM Justin Mclean <ju...@classsoftware.com>
wrote:
>>
>> Hi,
>>
>>> You need to be added to the  hudson-jobadmin LDAP group. Only PMC
Chairs can do this.
>>
>>
>> I would help but have no idea how, there is no interface in whimsey that
I can see for doing this, and the infra documentation is lacking. I’ll ask
them how to do it.
>>
>> Thanks,
>> Justin



--
Gav...

Re: Jenkins Build for Heron

Posted by Josh Fischer <jo...@joshfischer.io>.
Thank you for looking in to this Justin. I appreciate your time.

Hope you have a good night!

- Josh

On Thu, May 2, 2019 at 6:25 PM Justin Mclean <ju...@classsoftware.com>
wrote:

> Hi,
>
> You need to be added to the  hudson-jobadmin LDAP group. Only PMC Chairs
>> can do this.
>
>
> I would help but have no idea how, there is no interface in whimsey that I
> can see for doing this, and the infra documentation is lacking. I’ll ask
> them how to do it.
>
> Thanks,
> Justin
>

Re: Jenkins Build for Heron

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> You need to be added to the  hudson-jobadmin LDAP group. Only PMC Chairs can do this.

I would help but have no idea how, there is no interface in whimsey that I can see for doing this, and the infra documentation is lacking. I’ll ask them how to do it.

Thanks,
Justin