Keep in mind any encrypted data included in the config file (if any;
hopefully none) isn’t portable between Jenkinses without copying the
encryption keys for it.

On Wed, Aug 5, 2020 at 07:03 Uwe Schindler <uschind...@apache.org> wrote:

> Hi,
>
>
>
> Gavin and I moved all the Lucene builds to the new Cloudbees ASF Jenkins.
>
>
>
> The root URL is:  <https://ci-builds.apache.org/job/Lucene/>
> https://ci-builds.apache.org/job/Lucene/
>
>
>
> All PMC members should be able to access it. There are still some minor
> issues, like we need to cleanup old workspaces, but in general it works. I
> will provide a documentation how I scripted the migration of JOBs using the
> Jnekisn REST API later today.
>
>
>
> In short: You can move most jobs with a one-line CURL->CURL pipe and 2 API
> tokens. 😊
>
>
>
> Uwe
>
>
>
> -----
>
> Uwe Schindler
>
> uschind...@apache.org
>
> ASF Member, Apache Lucene PMC / Committer
>
> Bremen, Germany
>
> https://lucene.apache.org/
>
>
>
> From: Uwe Schindler <uschind...@apache.org>
> Sent: Wednesday, August 5, 2020 11:17 AM
> To: gmcdon...@apache.org
> Cc: d...@lucene.apache.org; 'builds' <builds@apache.org>
> Subject: RE: Migration of Lucene Jobs and Nodes
>
>
>
> Hi Gavin,
>
>
>
> many thanks was very helpful. In the meantime I was also able to get JOB
> configs through the REST API (just append config.xml to the JOB URL on the
> old Jenkins), but thanks to your work, it makes it easier for me to review
> what we have.
>
>
>
> From what I found out the jobs should more or less be identical on the new
> Jenkins CI (I will just try). To import the JOB, you can do a POST REST API
> request to the new server. I already created an API token to use CURL.
>
>
>
> I opened a new Issue in ASF JIRA on how to proceed:
>
>  <https://issues.apache.org/jira/browse/INFRA-20644>
> https://issues.apache.org/jira/browse/INFRA-20644
>
>
>
> Looking forward to work with you as usual on Slack 😊
>
> Uwe
>
>
>
> -----
>
> Uwe Schindler
>
> uschind...@apache.org <mailto:uschind...@apache.org>
>
> ASF Member, Apache Lucene PMC / Committer
>
> Bremen, Germany
>
> https://lucene.apache.org/
>
>
>
> From: Gavin McDonald <gmcdon...@apache.org <mailto:gmcdon...@apache.org>
> >
> Sent: Wednesday, August 5, 2020 9:41 AM
> To: Uwe Schindler <uschind...@apache.org <mailto:uschind...@apache.org> >
> Cc: d...@lucene.apache.org <mailto:d...@lucene.apache.org> ; builds <
> builds@apache.org <mailto:builds@apache.org> >
> Subject: Re: Migration of Lucene Jobs and Nodes
>
>
>
> Hi Uwe,
>
>
>
> On Tue, Aug 4, 2020 at 6:12 PM Uwe Schindler <uschind...@apache.org
> <mailto:uschind...@apache.org> > wrote:
>
> Sorry still busy…
>
>
>
> Can you create the folder for Lucene and maybe export the jobs’ XML. They
> are about 20 jobs all with Regex /^(Lucene|Solr)-.*/
>
>
>
> I found 57 config.xml files related to Lucene and Solr
>
>
>
>
>
> You can attach it to this mail thread or place them in a Pastebin/Gist.
>
>
>
> I tarred them all up and placed them in your home directory on
> home.apache.org <http://home.apache.org>
>
>
>
> lucene-solr-jobs.tar.gz
>
>
>
> Each config.xml is in its own directory with the original job name as the
> directory name
>
>
>
> HTH
>
>
>
> Gav...
>
>
>
>
>
> Uwe
>
>
>
> -----
>
> Uwe Schindler
>
> Achterdiek 19, D-28357 Bremen
> <https://www.google.com/maps/search/Achterdiek+19,+D-28357+Bremen?entry=gmail&source=g>
>
> https://www.thetaphi.de
>
> eMail: u...@thetaphi.de <mailto:u...@thetaphi.de>
>
>
>
> From: Gavin McDonald <gmcdon...@apache.org <mailto:gmcdon...@apache.org>
> >
> Sent: Tuesday, July 28, 2020 10:01 PM
> To: Uwe Schindler <uschind...@apache.org <mailto:uschind...@apache.org> >
> Cc: d...@lucene.apache.org <mailto:d...@lucene.apache.org> ; builds <
> builds@apache.org <mailto:builds@apache.org> >
> Subject: Re: Migration of Lucene Jobs and Nodes
>
>
>
> Hi Uwe
>
>
>
> On Tue, Jul 28, 2020 at 9:17 PM Uwe Schindler <uschind...@apache.org
> <mailto:uschind...@apache.org> > wrote:
>
> Hi Gavin,
>
> I was one of the first ones who responded,
>
>
>
> Yup I remember :)
>
>
>
> but I had not time to take action yet. I also wanted to wait for some
> early adopters to see the possible problems.
> I will come back to you on Slack. Would it be possible to get a zip file
> of the current Job configs for inspection and transformation?
>
>
>
> It would yes, not sure much easier that would be as compared to just
> re-creating from new, I guess that also depends on the number
>
> of jobs.
>
>
>
>
>
>
> Uwe
>
> Am July 28, 2020 6:39:25 PM UTC schrieb Gavin McDonald <
> gmcdon...@apache.org <mailto:gmcdon...@apache.org> >:
>
> Hi,
>
> As detailed in previous emails and the shiny yellow banner on
> builds.apache.org <http://builds.apache.org> , your jobs need migrating
> to ci-builds.apache.org <http://ci-builds.apache.org> ; and ,
> in your case, your two lucene nodes.
>
> All this before August 15th
>
> Please let me know when you want me to move your nodes over to the new
> server.
>
> Thanks
>
>
>
>
>
>
> --
>
>   <
> https://docs.google.com/uc?export=download&id=14XAxDiKQKdzj5fyVBrnygMFzK97BCLtZ&revid=0B5hu7lzp9DLfRkdTQUxHVVo3S0dDR1RPK1dSKys2Ym15QmtJPQ>
>
>
> Gavin McDonald
>
> Systems Administrator
>
> ASF Infrastructure Team
>
>
>
>
>
>
> --
>
>   <
> https://docs.google.com/uc?export=download&id=14XAxDiKQKdzj5fyVBrnygMFzK97BCLtZ&revid=0B5hu7lzp9DLfRkdTQUxHVVo3S0dDR1RPK1dSKys2Ym15QmtJPQ>
>
>
> Gavin McDonald
>
> Systems Administrator
>
> ASF Infrastructure Team
>
> --
Matt Sicker <boa...@gmail.com>

Reply via email to