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 "Modeling Project Releng/Releasing/Scheduled Releases"
(New page: Want to set up automatic builds and subsequent promotes? You need to edit the apache's crontab on your build server to set a schedule. For example, to run an I build every Tuesday at 6pm,...) |
|||
Line 1: | Line 1: | ||
− | Want to set up automatic builds and subsequent promotes? You need to edit the apache's crontab on your build server to set a schedule. | + | Want to set up [[Modeling_Project_Releng/Building/Scheduled_Builds|automatic builds]] and subsequent promotes? You need to edit the [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/apache_crontab.txt?root=Modeling_Project&view=markup apache's crontab] on your build server to set a schedule. |
For example, to run an I build every Tuesday at 6pm, and promote it two hours later: | For example, to run an I build every Tuesday at 6pm, and promote it two hours later: | ||
− | # EMF | + | # EMF 2.5 I builds from HEAD |
− | 00 18 * * 2 /home/www-data/build/emf/scripts/start_cron.sh -sub emf -buildType I -tagBuild true -runJDK50Tests -runJDK60Tests -basebuilderBranch RC2_34 -a -email "nickboldt+build@gmail.com" -noSearchCVS > $HOME/cron_logs/start_cron.sh.emf.25I.txt 2>&1 | + | 00 18 * * 2 /home/www-data/build/emf/scripts/start_cron.sh -sub emf -buildType I -tagBuild true -runJDK50Tests -runJDK60Tests \ |
− | 00 20 * * 2 /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh -c org.eclipse.emf/org.eclipse.emf.releng/scripts/promoteToEclipse.emf.properties,HEAD -sub emf -branch 2.5.0 -type I -user nickb -announce -email "nickboldt+build@gmail.com" > $HOME/cron_logs/promoteToEclipse_cron.sh.emf.25I.txt 2>&1 | + | -basebuilderBranch RC2_34 -a -email "nickboldt+build@gmail.com" -noSearchCVS > $HOME/cron_logs/start_cron.sh.emf.25I.txt 2>&1 |
+ | |||
+ | 00 20 * * 2 [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/tools/scripts//promoteToEclipse_cron.sh?root=Modeling_Project&view=markup /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh] \ | ||
+ | -c org.eclipse.emf/org.eclipse.emf.releng/scripts/promoteToEclipse.emf.properties,HEAD -sub emf -branch 2.5.0 -type I -user nickb \ | ||
+ | -announce -email "nickboldt+build@gmail.com" > $HOME/cron_logs/promoteToEclipse_cron.sh.emf.25I.txt 2>&1 | ||
− | Or, to listen to CVS for changes, then tag & release those changes to your map file(s), and run a build IF REQUIRED | + | Or, to listen to CVS for changes, then tag & release those changes to your map file(s), and run a build '''ONLY IF REQUIRED''': |
− | # GEF I builds: see gef.HEAD.options.txt#EXECUTE_ON_MAP_CHANGE for start_cron.sh command | + | # GEF I builds: see gef.HEAD.options.txt#EXECUTE_ON_MAP_CHANGE for [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/tools/scripts/start_cron.sh?root=Modeling_Project&view=markup start_cron.sh] command |
− | 00 19 * * 2 /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/gef.HEAD.options.txt -debug 2 > $HOME/cron_logs/update_tags.sh.gef.35I.txt 2>&1 | + | 00 19 * * 2 [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/tools/scripts/org.eclipse.releng.tools.tagandrelease/update_tags.sh?root=Modeling_Project&view=markup /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh] \ |
− | 00 20 * * 2 /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh -parent NONE -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools -c org.eclipse.gef/org.eclipse.gef.releng/promoteToEclipse.gef.properties,HEAD -sub gef -branch 3.5.0 -type I -user nickb -announce -email " | + | /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/gef.HEAD.options.txt -debug 2 \ |
+ | > $HOME/cron_logs/update_tags.sh.gef.35I.txt 2>&1 | ||
+ | |||
+ | 00 20 * * 2 [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/tools/scripts//promoteToEclipse_cron.sh?root=Modeling_Project&view=markup /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh] -parent NONE \ | ||
+ | -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools -c org.eclipse.gef/org.eclipse.gef.releng/promoteToEclipse.gef.properties,HEAD \ | ||
+ | -sub gef -branch 3.5.0 -type I -user nickb -announce -email "nickboldt+build@gmail.com" \ | ||
+ | > $HOME/cron_logs/promoteToEclipse_cron.sh.gef.35I.txt 2>&1 | ||
− | + | More examples can be seen in the [http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/apache_crontab.txt?root=Modeling_Project&view=markup crontab for apache@emft.eclipse.org]. | |
+ | See also [[Modeling_Project_Releng/Building/Scheduled_Builds|Scheduled Builds]]. | ||
[[Category:Releng]] | [[Category:Releng]] |
Revision as of 12:11, 31 October 2008
Want to set up automatic builds and subsequent promotes? You need to edit the apache's crontab on your build server to set a schedule.
For example, to run an I build every Tuesday at 6pm, and promote it two hours later:
# EMF 2.5 I builds from HEAD 00 18 * * 2 /home/www-data/build/emf/scripts/start_cron.sh -sub emf -buildType I -tagBuild true -runJDK50Tests -runJDK60Tests \ -basebuilderBranch RC2_34 -a -email "nickboldt+build@gmail.com" -noSearchCVS > $HOME/cron_logs/start_cron.sh.emf.25I.txt 2>&1 00 20 * * 2 /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh \ -c org.eclipse.emf/org.eclipse.emf.releng/scripts/promoteToEclipse.emf.properties,HEAD -sub emf -branch 2.5.0 -type I -user nickb \ -announce -email "nickboldt+build@gmail.com" > $HOME/cron_logs/promoteToEclipse_cron.sh.emf.25I.txt 2>&1
Or, to listen to CVS for changes, then tag & release those changes to your map file(s), and run a build ONLY IF REQUIRED:
# GEF I builds: see gef.HEAD.options.txt#EXECUTE_ON_MAP_CHANGE for start_cron.sh command 00 19 * * 2 /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh \ /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/gef.HEAD.options.txt -debug 2 \ > $HOME/cron_logs/update_tags.sh.gef.35I.txt 2>&1 00 20 * * 2 /home/www-data/build/modeling/scripts/promoteToEclipse_cron.sh -parent NONE \ -d :pserver:anonymous@dev.eclipse.org:/cvsroot/tools -c org.eclipse.gef/org.eclipse.gef.releng/promoteToEclipse.gef.properties,HEAD \ -sub gef -branch 3.5.0 -type I -user nickb -announce -email "nickboldt+build@gmail.com" \ > $HOME/cron_logs/promoteToEclipse_cron.sh.gef.35I.txt 2>&1
More examples can be seen in the crontab for apache@emft.eclipse.org.
See also Scheduled Builds.