[Gluster-infra] glusterfs-rpms and glusterfs-rpms-el6 jobs disabled

2016-06-23 Thread Nigel Babu
Hello,

The following jobs have been disabled in Jenkins:

glusterfs-rpms
glusterfs-rpms-el6

I've created the following jobs with Jenkins Job Builder to replace them:

rpms-fedora
rpms-el6

As I continue to work on Jenkins Job Builder, I'll be deactivating more jobs
and creating jobs to replace them. This is the easiest way to fallback in case
I make a mistake in configuring the new jobs.

--
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


Re: [Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
Update, the jobs have changed

https://build.gluster.org/view/RPMs/job/rpm-el6/
https://build.gluster.org/view/RPMs/job/rpm-fedora/

If all goes well, tomorrow morning, I'll disable the old rpm jobs.

On Thu, Jun 23, 2016 at 7:07 PM, Nigel Babu  wrote:

> On Thu, Jun 23, 2016 at 01:49:27PM +0530, Nigel Babu wrote:
> > Hello folks,
> >
> > In the last week or so, I've been working on converting our jobs from
> xml to
> > yaml for Jenkins Job Builder. It lets us define our Jenkins job in yaml
> files
> > (more readable than XML). It then pushes these jobs to Jenkins. My plan
> is
> > convert all the jobs into this style eventually.
> >
> > I've created the first test job[1] and it works! The code for this lives
> in
> > a pull request[2] for now. Please feel free to review it. If you have
> > questions or concerns about this process, please free to reply to this
> thread.
> > If you want to help with this conversion, also reply to this thread :)
> >
> > [1]: https://build.gluster.org/job/glusterfs-rpms-test/
> > [2]:
> https://github.com/gluster/glusterfs-patch-acceptance-tests/pull/22/files
> >
> > --
> > nigelb
>
> A short update: Jenkins Job Builder lets us use templates for jobs that are
> alike, so less code repetition. I've updated the pull request to show a
> yaml
> file that will create two jobs - one for Fedora and one for Centos 6. It is
> trivial to add a new one in this scenario.
>
> --
> nigelb
>



-- 
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
On Thu, Jun 23, 2016 at 01:49:27PM +0530, Nigel Babu wrote:
> Hello folks,
>
> In the last week or so, I've been working on converting our jobs from xml to
> yaml for Jenkins Job Builder. It lets us define our Jenkins job in yaml files
> (more readable than XML). It then pushes these jobs to Jenkins. My plan is
> convert all the jobs into this style eventually.
>
> I've created the first test job[1] and it works! The code for this lives in
> a pull request[2] for now. Please feel free to review it. If you have
> questions or concerns about this process, please free to reply to this thread.
> If you want to help with this conversion, also reply to this thread :)
>
> [1]: https://build.gluster.org/job/glusterfs-rpms-test/
> [2]: https://github.com/gluster/glusterfs-patch-acceptance-tests/pull/22/files
>
> --
> nigelb

A short update: Jenkins Job Builder lets us use templates for jobs that are
alike, so less code repetition. I've updated the pull request to show a yaml
file that will create two jobs - one for Fedora and one for Centos 6. It is
trivial to add a new one in this scenario.

--
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


[Gluster-infra] [Bug 1349450] New: Use something else that chroot to build rpm

2016-06-23 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1349450

Bug ID: 1349450
   Summary: Use something else that chroot to build rpm
   Product: GlusterFS
   Version: mainline
 Component: project-infrastructure
  Assignee: b...@gluster.org
  Reporter: msche...@redhat.com
CC: b...@gluster.org, gluster-infra@gluster.org



While I suspect chroot are fine to build rpms, there is some case where the
kernel might matter when building, such as
http://www.fewbytes.com/docker-selinux-and-the-myth-of-kernel-indipendence/ 

So opening a bug to track that;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=C9HBnJA6bw&a=cc_unsubscribe
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


Re: [Gluster-infra] jenkins-cli on build.gluster.org

2016-06-23 Thread Niels de Vos
On Wed, Jun 22, 2016 at 01:37:50PM +0530, Nigel Babu wrote:
> Hello,
> 
> If anyone has successfully got Jenkins CLI working on build.gluster.org,
> please let me know how to get it working? My attempts seem to have failed
> so far with this:

I tend to run it on build.gluster.org, something like this:

  $ java -jar jenkins-cli.jar -s http://localhost:8080/ help

HTH,
Niels


> 
> 
> java.net.SocketTimeoutException: connect timed out
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:589)
> at hudson.cli.CLI.connectViaCliPort(CLI.java:210)
> at hudson.cli.CLI.(CLI.java:128)
> at
> hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
> at hudson.cli.CLI._main(CLI.java:479)
> at hudson.cli.CLI.main(CLI.java:390)
> Suppressed: java.io.EOFException: unexpected stream termination
> at
> hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
> at hudson.remoting.Channel.(Channel.java:437)
> at hudson.remoting.Channel.(Channel.java:415)
> at hudson.remoting.Channel.(Channel.java:411)
> at hudson.remoting.Channel.(Channel.java:399)
> at hudson.remoting.Channel.(Channel.java:390)
> at hudson.remoting.Channel.(Channel.java:363)
> at hudson.cli.CLI.connectViaHttp(CLI.java:159)
> at hudson.cli.CLI.(CLI.java:132)
> ... 3 more
> 
> 
> -- 
> nigelb

> ___
> Gluster-infra mailing list
> Gluster-infra@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-infra



signature.asc
Description: PGP signature
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

[Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
Hello folks,

In the last week or so, I've been working on converting our jobs from xml to
yaml for Jenkins Job Builder. It lets us define our Jenkins job in yaml files
(more readable than XML). It then pushes these jobs to Jenkins. My plan is
convert all the jobs into this style eventually.

I've created the first test job[1] and it works! The code for this lives in
a pull request[2] for now. Please feel free to review it. If you have
questions or concerns about this process, please free to reply to this thread.
If you want to help with this conversion, also reply to this thread :)

[1]: https://build.gluster.org/job/glusterfs-rpms-test/
[2]: https://github.com/gluster/glusterfs-patch-acceptance-tests/pull/22/files

--
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra