Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "WTP Releng Processes"
(→Release latest stable build to /webtools/repository) |
(→Release latest stable build to /webtools/repository) |
||
Line 62: | Line 62: | ||
name="The Eclipse Web Tools Platform (WTP) software repository"/> | name="The Eclipse Web Tools Platform (WTP) software repository"/> | ||
<add> | <add> | ||
+ | <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.0/R-3.9.0-20170613094504/repository/"/> | ||
+ | <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.1/R-3.9.1-20170912000144/repository/"/> | ||
+ | <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.1a/R-3.9.1a-20171004113814/repository/"/> | ||
<repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.2/R-3.9.2-20171201000141/repository/"/> | <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.2/R-3.9.2-20171201000141/repository/"/> | ||
</add> | </add> |
Revision as of 10:53, 8 February 2018
Draft doc where I plan to put all the release process docs for getting an I or M build published as an S or R build. -- Nick Boldt
Contents
Configuration
In order to send mail, you must create a ~/.buildermailrc file on build.eclipse.org, with contents like this:
set from="\"WTP Releng\"<nboldt@redhat.com>" or set from="\"The WTP Build guy\"<ccc@us.ibm.com>"
Publish M build
# for http://build.eclipse.org/webtools/committers/wtp-R3.9.3-M/20180125030226/M-3.9.3-20180125030226/
# 1/3. move old/new builds out of the promote folder cd /shared/webtools/committers/wtp-R3.9.3-M/ mkdir ../wtp-tmp; mv * ../wtp-tmp mv ../wtp-tmp/20180125030226 . # just include the one build we want to promote
# 2/3. promote the build with email send cd /shared/webtools/releng.control && ./promote.sh -vdscap wtp-R3.9.3-M
# 3/3. put back the other builds cd /shared/webtools/committers/wtp-R3.9.3-M/ mv ../wtp-tmp/* . rmdir ../wtp-tmp
Publish M build as S build
# for http://build.eclipse.org/webtools/committers/wtp-R3.9.3-M/20180125030226/M-3.9.3-20180125030226/ cd /shared/webtools/releng.control && ./promote.sh -vdcap wtp-R3.9.3-M # no -s flag # now rename & promote again cd /shared/webtools/committers/wtp-R3.9.3-M/20180125030226 cp /shared/webtools/releng.control/renameBuild.sh . ./renameBuild.sh M-3.9.3-20180125030226 S-3.9.3RC1-20180125030226 rm -f renameBuild.sh cd /shared/webtools/releng.control && ./promote.sh -vdscap wtp-R3.9.3-M
Legend
# -v = verbose # -d = delete old builds # -s = send mail # -c = copy from committers to downloads # -a = add properties # -p = projectName/folder
Release latest stable build to /webtools/repository
Create an ant script like this:
$ vim /shared/webtools/apps/antrunner/antrunner-b/makeOxygen2Composite.xml <project default="createcomposite" basedir="."> <target name="createcomposite"> <p2.composite.repository> <repository location="file:/home/data/httpd/download.eclipse.org/webtools/repository/oxygen/" name="The Eclipse Web Tools Platform (WTP) software repository"/> <add> <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.0/R-3.9.0-20170613094504/repository/"/> <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.1/R-3.9.1-20170912000144/repository/"/> <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.1a/R-3.9.1a-20171004113814/repository/"/> <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.9.2/R-3.9.2-20171201000141/repository/"/> </add> </p2.composite.repository> </target> </project>
Regenerate composite site:
cd /shared/webtools/apps/antrunner/antrunner-b/ ./runAntRunner.sh makeOxygen2Composite.xml
Generated contents will be here:
ls -la /home/data/httpd/download.eclipse.org/webtools/repository/oxygen/
Then check the site with p2 browser or Eclipse:
http://download.eclipse.org/webtools/repository/oxygen/
Release latest build to simrel
First, you must request permission to push to the simrel repo
Next, check out the code.
git clone ssh://USERNAME@git.eclipse.org:29418/simrel/org.eclipse.simrel.build.git
Submit your change as a gerrit request.
Wait until you see the verification job has passed.
Finally, push your change to the repo, either via git commandline, egit, or with the blue buttons on the gerrit request itself.