Bug 425061 - A static URL to latest integration build
Summary: A static URL to latest integration build
Status: RESOLVED FIXED
Alias: None
Product: WTP Releng
Classification: WebTools
Component: releng (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Julio C. Chavez CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 412211
  Show dependency tree
 
Reported: 2014-01-08 01:19 EST by Mickael Istria CLA
Modified: 2014-09-03 12:21 EDT (History)
3 users (show)

See Also:


Attachments
New version of the promote.sh (11.12 KB, application/octet-stream)
2014-09-01 19:49 EDT, Julio C. Chavez CLA
no flags Details
Previous version of the promote.sh script (10.13 KB, application/octet-stream)
2014-09-01 19:50 EDT, Julio C. Chavez CLA
no flags Details
New version of the promote.sh (11.17 KB, application/octet-stream)
2014-09-02 12:08 EDT, Julio C. Chavez CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2014-01-08 01:19:37 EST
Currently WebTools parent pom embeds a static versioned URL for the integration build to build against when using "build-individual-bundles". https://git.eclipse.org/c/webtools/webtools.releng.aggregator.git/tree/wtp-parent/pom.xml#n352
As the integration build is subject to change often, and as we prefer avoiding changes in parent pom so often, it would be helpful to have a static URL (link or copy) for the last available integration build, and to make parent pom consume it.
Something like http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-latest would be fine.
Comment 2 Mickael Istria CLA 2014-08-06 13:12:32 EDT
Up.
Current "mvn clean verify -Pbuild-individual-bundles" is failing because the URL specified in parent pom isn't existing any more. A static URL would be welcome.
Comment 3 Julio C. Chavez CLA 2014-08-14 12:57:48 EDT
I am working now with the WTP scripts to promote and rename the builds, is in this point where the "latest I build" can be updated. Investigating  the best approach.
Comment 4 Mickael Istria CLA 2014-08-18 04:53:37 EDT
IMO, the simplest approach is to create a http://download.eclipse.org/webtools/downloads/drops/R3.6.0/I-latest folder, and to have output of I-builds being rsync'd into this folder (as well as there current locations).
Or if disk space is a concern, instead of copying stuff, you can think of putting composite*.xml files in it, and having the publish process update those files, but I find it less easy.
Comment 5 Julio C. Chavez CLA 2014-09-01 19:49:51 EDT
Created attachment 246600 [details]
New version of the promote.sh

Adds the [-r] option, to refresh the I-latest directory.
Comment 6 Julio C. Chavez CLA 2014-09-01 19:50:30 EDT
Created attachment 246601 [details]
Previous version of the promote.sh script

Previous version to the [-r] option addition.
Comment 7 Julio C. Chavez CLA 2014-09-01 19:51:23 EDT
promote.sh script updated to perform the I-latest refresh on demand.

The new option [-r], indicates that a refresh of the repositories on I-latest requires to be refreshed with the defined build.

The old and new scripts are attached. 

R3_7_integration pom.xml is updated, poiting now to the I-latest dir.
Comment 8 Julio C. Chavez CLA 2014-09-02 12:08:03 EDT
Created attachment 246632 [details]
New version of the promote.sh
Comment 9 Julio C. Chavez CLA 2014-09-02 12:14:42 EDT
R3_6_maintenance updated to, initial I-latest sync done.
Comment 10 Mickael Istria CLA 2014-09-02 12:22:08 EDT
Cool.
What is the URL for I-Build then?
Did you also change WTP main pom file to use this URL instead of the volatile one?
Comment 11 Julio C. Chavez CLA 2014-09-03 12:09:46 EDT
The URLs are:
 http://download.eclipse.org/webtools/downloads/drops/R3.6.1/I-latest
 http://download.eclipse.org/webtools/downloads/drops/R3.7.0/I-latest
 
 Yes, the wtp-parent/pom.xml is updated with:
 3.7.0 =>
 <webtools.buildSite>http://download.eclipse.org/webtools/downloads/drops/R3.7.0/I-latest</webtools.buildSite>
 3.6.1 =>
 <webtools.buildSite>http://download.eclipse.org/webtools/downloads/drops/R3.6.1/I-latest</webtools.buildSite>
 
 Additionally, the script that we use to promote the the builds now includes an option to launch the rsync on demand, this will be done as part of the normal process when the Integration (or Maintenance) be promoted.
 
 This was not included as "part" of the promote copy operation so we can decide in each promotion if we do the update or not (in case there were a problem or testing purpose), also this allows to sync the repositories after the promotion, since it is independent.
Comment 12 Mickael Istria CLA 2014-09-03 12:21:48 EDT
Great, thanks!