[jbosstools-issues] [JBoss JIRA] (JBIDE-19911) Create a (manual) job to update a given 3rd-party project on TP

Nick Boldt (JIRA) issues at jboss.org
Wed Aug 24 15:27:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-19911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283919#comment-13283919 ] 

Nick Boldt commented on JBIDE-19911:
------------------------------------

Here's what I did for the latest TP update:

{quote}
1. Update jbosstoolstargetplatformrequirements-mirror-matrix [1] job config to add new triple:

    docker;2.1.0.201608232052;download.eclipse.org_-_linuxtools_-_update-neon-1-docker-rc1

[1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstoolstargetplatformrequirements-mirror-matrix/configure

2. Run the job to create new mirrors for each triple.

3. When done, update these two files to insert the new <repository location="..."/>  for Docker and Red Deer. 

(This could be done by a sed script.)

4. Run verifyTarget.sh [2] to also update the versions of IUs, not just the URLs, in jbosstools/ folder and verify there are no duplicates / conflicts. 

This could take up to an hour. Repeat for jbdevstudio. 

(Both runs can be done in parallel if you stagger them about 5 mins apart, but COULD result in maven errors, so just run it again if that happens.)

[2] https://github.com/jbosstools/jbosstools-build-ci/blob/jbosstools-4.4.x/util/verifyTarget.sh

5. Submit PR [3]. 

[3] https://github.com/jbosstools/jbosstools-target-platforms/pull/232

6. Merge PR and build new TP [4].

[4] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstoolstargetplatforms-matrix/build

7. When done (~1hr), announce change{quote}

> Create a (manual) job to update a given 3rd-party project on TP
> ---------------------------------------------------------------
>
>                 Key: JBIDE-19911
>                 URL: https://issues.jboss.org/browse/JBIDE-19911
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: build
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Mickael Istria
>             Fix For: 4.4.x
>
>
> For 3rd-party sites that are regularly changing, we could provide a Jenkins job that would automatically update the .target and provide the pull request.
> * Input: sourceSite, initialMirror (as found in .target), targetMirror
> * Then
> ** job mirros the sourceSite
> ** job publishes (scp) it to targetMirror
> ** job runs "sed s/initialMirror/targetMirror/" on multiple/*.target
> ** job runs "mvn fix-version ..." on multiple/*.target
> ** "mvn clean verify -Pmultiple2repo" on multiple/*.target
> ** git add multiple/*.target; git commit -m "Update initialMirror to targetMirror"; git push origin HEAD:change-BUILD_NUMBER
> ** p2diff
> ** Put p2diff as a comment on PR: https://developer.github.com/v3/pulls/comments/#create-a-comment



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list