diff options
| author | Sravan Kumar Lakkimsetti | 2018-12-08 11:28:43 +0000 |
|---|---|---|
| committer | Sravan Kumar Lakkimsetti | 2018-12-08 11:28:43 +0000 |
| commit | 2cbc3e8cc8e8db105c020b4089553ffb884ef21e (patch) | |
| tree | f184c3e872d359a18061f00c5711b369acdbfb50 | |
| parent | f86eda1961bdde3e4dcd4820e2b47a4ed6d511aa (diff) | |
| download | eclipse.platform.releng.aggregator-2cbc3e8cc8e8db105c020b4089553ffb884ef21e.tar.gz eclipse.platform.releng.aggregator-2cbc3e8cc8e8db105c020b4089553ffb884ef21e.tar.xz eclipse.platform.releng.aggregator-2cbc3e8cc8e8db105c020b4089553ffb884ef21e.zip | |
Bug 541824 - Update product version number to 4.11 across build scripts
Change-Id: Iad862d1f63091c339039870eff34b28dd0f1060c
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
15 files changed, 175 insertions, 42 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/apiexclude/exclude_list.txt b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/apiexclude/exclude_list.txt index 2891015ff..a5f2a0790 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/apiexclude/exclude_list.txt +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/apiexclude/exclude_list.txt @@ -1,4 +1,4 @@ -# List of approved API changes after 4.10 RC1 +# List of approved API changes after 4.11 RC1 # The unapproved entry exclude list can be copied from <build>/buildlogs/mb080_publish-eclipse_output.txt # Search for: Potential exclude list: diff --git a/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/platform.sdk.p2.inf b/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/platform.sdk.p2.inf index 66885087f..3994cea20 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/platform.sdk.p2.inf +++ b/eclipse.platform.releng.tychoeclipsebuilder/platform.sdk/platform.sdk.p2.inf @@ -1,8 +1,8 @@ instructions.configure=\ -addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ mkdir(path:${installFolder}/dropins); requires.1.namespace=org.eclipse.equinox.p2.iu requires.1.name=toolingorg.eclipse.configuration.macosx @@ -49,7 +49,7 @@ properties.0.name = org.eclipse.equinox.p2.type.product properties.0.value = true properties.1.name = org.eclipse.equinox.p2.description -properties.1.value = Initial 4.10 Release of the Platform SDK. +properties.1.value = Initial 4.11 Release of the Platform SDK. properties.2.name = org.eclipse.equinox.p2.provider properties.2.value = Eclipse.org diff --git a/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf b/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf index 8cd040925..a72348091 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf +++ b/eclipse.platform.releng.tychoeclipsebuilder/platform/platform.p2.inf @@ -1,8 +1,8 @@ instructions.configure=\ -addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ mkdir(path:${installFolder}/dropins); requires.1.namespace=org.eclipse.equinox.p2.iu requires.1.name=toolingorg.eclipse.platform.configuration.macosx @@ -51,7 +51,7 @@ properties.0.name = org.eclipse.equinox.p2.type.product properties.0.value = true properties.1.name = org.eclipse.equinox.p2.description -properties.1.value = Initial 4.10 Release of the Eclipse Platform. +properties.1.value = Initial 4.11 Release of the Eclipse Platform. properties.2.name = org.eclipse.equinox.p2.provider properties.2.value = Eclipse.org diff --git a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf index 9e85d20e9..96dbc7f22 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf +++ b/eclipse.platform.releng.tychoeclipsebuilder/sdk/sdk.p2.inf @@ -1,8 +1,8 @@ instructions.configure=\ -addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);\ -addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ -addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.11,name:The Eclipse Project Updates);\ +addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ +addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2019-03,name:2019-03);\ mkdir(path:${installFolder}/dropins); requires.1.namespace=org.eclipse.equinox.p2.iu requires.1.name=toolingorg.eclipse.sdk.configuration.macosx @@ -49,7 +49,7 @@ properties.0.name = org.eclipse.equinox.p2.type.product properties.0.value = true properties.1.name = org.eclipse.equinox.p2.description -properties.1.value = Initial 4.10 Release of the Eclipse SDK. +properties.1.value = Initial 4.11 Release of the Eclipse SDK. properties.2.name = org.eclipse.equinox.p2.provider properties.2.value = Eclipse.org diff --git a/production/build-functions.shsource b/production/build-functions.shsource index 27b85d76e..0e233c48b 100755 --- a/production/build-functions.shsource +++ b/production/build-functions.shsource @@ -1148,9 +1148,9 @@ fn-summarize-apitooling () # Make sure FREEZE_PARAMS is defined, but empty space, if not using freeze reports. FREEZE_PARAMS=" " # When no "freeze" in effect for a release comment these out. Uncomment after M6, changing to appropriate versions. - FREEZE_PARAMS="-DfreezeBaseURL=http://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.10RC1-201811290330/eclipse-SDK-4.10RC1-win32-x86_64.zip \ - -DfreezeName=Eclipse-SDK-4.10RC1 \ - -DfreezeFilename=eclipse-SDK-4.10RC1-win32-x86_64.zip " + #FREEZE_PARAMS="-DfreezeBaseURL=http://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.11RC1-201811290330/eclipse-SDK-4.11RC1-win32-x86_64.zip \ + # -DfreezeName=Eclipse-SDK-4.11RC1 \ + # -DfreezeFilename=eclipse-SDK-4.11RC1-win32-x86_64.zip " # this API_PREV_REF_LABEL variable should be changed any time the version used # by previousBaseURL changes. Its purpose is just to localize changes to this one # place, and not have to make further, hard-coded changes to php files. @@ -1158,8 +1158,8 @@ fn-summarize-apitooling () # NOTE: the *reference* for API changes should be the "previous release", even if it is a "service release". API_PREV_REF_LABEL=4.9 fn-write-property API_PREV_REF_LABEL - API_FREEZE_REF_LABEL=4.10RC1 - #API_FREEZE_REF_LABEL=" " + #API_FREEZE_REF_LABEL=4.11RC1 + API_FREEZE_REF_LABEL=" " fn-write-property API_FREEZE_REF_LABEL java -Djava.io.tmpdir=$TMP_DIR -jar "$BASEBUILDER_LAUNCHER" \ -data ${BUILD_DIR}/workspace-apitoolingsLogs \ diff --git a/production/build_eclipse_org.shsource b/production/build_eclipse_org.shsource index a0af9fc8f..e8894a09b 100644 --- a/production/build_eclipse_org.shsource +++ b/production/build_eclipse_org.shsource @@ -21,7 +21,7 @@ source localBuildProperties.shsource 2>/dev/null export BUILD_HOME=${BUILD_HOME:-/shared/eclipse/builds} export BRANCH=${BRANCH:-master} -export STREAM=${STREAM:-4.10.0} +export STREAM=${STREAM:-4.11.0} export BUILD_TYPE=${BUILD_TYPE:-I} # If not set be caller, make sure its an empty string diff --git a/production/createReports.sh b/production/createReports.sh index 5483f4bfc..1004310b7 100755 --- a/production/createReports.sh +++ b/production/createReports.sh @@ -66,22 +66,22 @@ function latestSimpleRepo if [[ ${build_type} == "I" ]] then - update_dir_segment="4.10-I-builds" - buildIdToCompare="4.9/R-4.9-201809060745" + update_dir_segment="4.11-I-builds" + buildIdToCompare="4.10milestones/S-4.10RC2-201812060815" echo -e "\tlatest_R_build: R-4.9-201809060745" elif [[ ${build_type} == "Y" ]] then - update_dir_segment="4.9-Y-builds" + update_dir_segment="4.11-Y-builds" # Note: we use same value for Y-builds as for I-builds, since conceptually - # they are the same, except that Y-builds use some code from BETA_JAVA11 branch. - latest_I_build=$(latestSimpleRepo "${repo_root}/4.9-I-builds" "I20*") + # they are the same, except that Y-builds use some code from BETA_JAVA12 branch. + latest_I_build=$(latestSimpleRepo "${repo_root}/4.11-I-builds" "I20*") RC=$? if [[ $RC != 0 ]] then exit $RC fi echo -e "\tlatest_I_build: $latest_I_build" - buildIdToCompare="4.9-I-builds/${latest_I_build}" + buildIdToCompare="4.11-I-builds/${latest_I_build}" else echo -e "\nERROR: Unhandled build type: ${build_type} so update_dir_segment undefined: $update_dir_segment" echo -e "\n\tand repo reports not produced." diff --git a/production/miscToolsAndNotes/checkComposites/checkComposites.sh b/production/miscToolsAndNotes/checkComposites/checkComposites.sh index c247f6b20..96a5964f4 100755 --- a/production/miscToolsAndNotes/checkComposites/checkComposites.sh +++ b/production/miscToolsAndNotes/checkComposites/checkComposites.sh @@ -29,13 +29,14 @@ repoHttpAccess=http://download.eclipse.org repoAccess=${repoFileAccess} # TODO: reduce this list soon repoList="\ -/eclipse/updates/4.8/ \ -/eclipse/updates/4.9/ \ +/eclipse/updates/4.11/ \ /eclipse/updates/4.10/ \ -/eclipse/updates/4.9-Y-builds/ \ /eclipse/updates/4.10-I-builds/ \ /eclipse/updates/4.10milestones/ \ - +/eclipse/updates/4.11-I-builds/ \ +/eclipse/updates/4.11milestones/ \ +/eclipse/updates/4.11-Y-builds/ \ +/eclipse/updates/4.11-P-builds/ \ " diff --git a/production/miscToolsAndNotes/updaterepo/updateGenericComposites.sh b/production/miscToolsAndNotes/updaterepo/updateGenericComposites.sh index c438ce476..c83dce62e 100755 --- a/production/miscToolsAndNotes/updaterepo/updateGenericComposites.sh +++ b/production/miscToolsAndNotes/updaterepo/updateGenericComposites.sh @@ -62,8 +62,8 @@ BUILDFILESTR="-f ${BUILDFILE}" currentStream=$1 if [[ -z "${currentStream}" ]] then - printf "\n\t%s\t%s\n" "WARNING:" "Current stream version not specified on command line, assuming 4.10" - currentStream="4.10" + printf "\n\t%s\t%s\n" "WARNING:" "Current stream version not specified on command line, assuming 4.11" + currentStream="4.11" fi maintenanceStream=$2 diff --git a/production/miscToolsAndNotes/updaterepo/updateGenericComposites.xml b/production/miscToolsAndNotes/updaterepo/updateGenericComposites.xml index 6f2e76d01..871576833 100644 --- a/production/miscToolsAndNotes/updaterepo/updateGenericComposites.xml +++ b/production/miscToolsAndNotes/updaterepo/updateGenericComposites.xml @@ -27,7 +27,7 @@ <fail unless="currentStream" - message="currentStream (such as '4.10') must be defined for this script" /> + message="currentStream (such as '4.11') must be defined for this script" /> <fail unless="maintenanceStream" message="maintenanceStream (such as '4.9') must be defined for this script" /> diff --git a/production/sdk/bootstrap/mb411I_hudson.sh b/production/sdk/bootstrap/mb411I_hudson.sh new file mode 100644 index 000000000..ab7e3005b --- /dev/null +++ b/production/sdk/bootstrap/mb411I_hudson.sh @@ -0,0 +1,132 @@ +#!/usr/bin/env bash + +# This job is just like its cronjob counter part, except it +# turns off verbose debugging (else Hudson logs would be 300 MB) +# and does not pipe output to separate files, but lets it all go +# to Hudson't "console". +# Normally resides in $BUILD_HOME + +function usage() +{ + printf "\n\tSimple script start a build of a certain stream." >&2 + printf "\n\tUsage: %s [[-h] | [-t]] " $(basename $0) >&2 + printf "\n\t\t%s\n" "where h==help, t==test build " >&2 +} + +# Start with minimal path for consistency across machines +# plus, cron jobs do not inherit an environment +# care is needed not have anything in ${HOME}/bin that would effect the build +# unintentionally, but is required to make use of "source localBuildProperties.shsource" on +# local machines. +# Likely only a "release engineer" would be interested, such as to override "SIGNING" (setting it +# to false) for a test I-build on a remote machine. +export PATH=/usr/local/bin:/usr/bin:/bin:${HOME}/bin +# unset common variables (some defined for genie.releng) which we don't want (or, set ourselves) +unset JAVA_HOME +unset JAVA_ROOT +unset JAVA_JRE +unset CLASSPATH +unset JAVA_BINDIR +unset JRE_HOME + +# 0002 is often the default for shell users, but it is not when ran from +# a cron job, so we set it explicitly, so releng group has write access to anything +# we create. +NEWUMASK="0002" +oldumask=$(umask) +umask $NEWUMASK + +echo "ulimit (file handles): $( ulimit -n ) " +ulimit -n 4096 +echo "ulimit (file handles): $( ulimit -n ) " + +echo "locale charmap: $(locale charmap)" +echo "LC_ALL: $LC_ALL" +echo "LANG: $LANG" +echo "LANGUAGE: $LANGUAGE" +export LC_ALL=en_US.UTF-8 +export LANG=en_US.UTF-8 +export LANGUAGE=en_US.UTF-8 +echo "LC_ALL: $LC_ALL" +echo "LANG: $LANG" +echo "LANGUAGE: $LANGUAGE" +echo "locale charmap: $(locale charmap)" + +# all optional +# normally, when ran from crobjob, none should be specified +while getopts 'hti' OPTION +do + case $OPTION in + h) usage + exit + ;; + t) export testbuildonly=true + ;; + i) export invisibleBuild=true + ;; + esac +done + +# this localBuildProperties.shsource file is to ease local builds to override some variables. +# It should not be used for production builds. +source localBuildProperties.shsource 2>/dev/null + +# BUILD_HOME defines the "top" of the build area (for all types of builds) +export BUILD_HOME=${BUILD_HOME:-/shared/eclipse/builds} + +SCRIPT_NAME=$0 + +echo "Starting $SCRIPT_NAME at $( date +%Y%m%d-%H%M ) " + +echo "umask explicitly set to $NEWUMASK, old value was $oldumask" + +export BRANCH=master +export BUILD_TYPE=I +export STREAM=4.11.0 + +eclipseStreamMajor=${STREAM:0:1} + +# unique short name for stream and build type +BUILDSTREAMTYPEDIR=${eclipseStreamMajor}$BUILD_TYPE + +export BUILD_ROOT=${BUILD_HOME}/${BUILDSTREAMTYPEDIR} + +# These values for proxies come from the configuration files of the Releng HIPP instance. +# They are normally defined in "ANT_OPTS" and similar environment variables, but +# the JavaDoc program requires them is this special -Jflag form. +export JAVA_DOC_PROXIES=${JAVA_DOC_PROXIES:-"-J-Dhttps.proxyHost=proxy.eclipse.org -J-Dhttps.proxyPort=9898 -J-Dhttps.nonProxyHosts=\"172.30.206.*\""} + +# These definitions are primarily for Curl. (Wget and other programs use different env variables or parameters +export NO_PROXY=${NO_PROXY:-eclipse.org,build.eclipse.org,download.eclipse.org,archive.eclipse.org,dev.eclipes.org,git.eclipse.org} +export ALL_PROXY=${ALL_PROXY:-proxy.eclipse.org:9898} + +# default (later) is set to 'true'. +# set to false here for less output. +# setting to false until bug 495750 is fixed, else too much output. +export MVN_DEBUG=false + + +export PRODUCTION_SCRIPTS_DIR=production +if [[ -z "${WORKSPACE}" ]] +then + export RUNNING_ON_HUDSON=false +else + export RUNNING_ON_HUDSON=true +fi +echo -e "\n\t[INFO]RUNNING_ON_HUDSON: $RUNNING_ON_HUDSON" + +# To allow this cron job to work from hudson, or traditional crontab +if [[ -z "${WORKSPACE}" ]] +then + export UTILITIES_HOME=/shared/eclipse + source $BUILD_HOME/bootstrap.shsource + makeProductionDirectoryOnBuildMachine + # build_eclipse_org.shsource should come from branch + # though ideally the rest of "production" directory would be identical between branches. +${BUILD_ROOT}/${PRODUCTION_SCRIPTS_DIR}/master-build.sh "${BUILD_ROOT}/${PRODUCTION_SCRIPTS_DIR}/build_eclipse_org.shsource" +else + export UTILITIES_HOME=${WORKSPACE}/utilities/production + source $UTILITIES_HOME/sdk/bootstrap/bootstrap.shsource + $UTILITIES_HOME/master-build.sh $UTILITIES_HOME/build_eclipse_org.shsource +fi + diff --git a/production/sdk/bootstrap/mb4Y_hudson.sh b/production/sdk/bootstrap/mb4Y_hudson.sh index 5706329ec..c341c0acd 100755 --- a/production/sdk/bootstrap/mb4Y_hudson.sh +++ b/production/sdk/bootstrap/mb4Y_hudson.sh @@ -85,7 +85,7 @@ echo "umask explicitly set to $NEWUMASK, old value was $oldumask" export BRANCH=master export BUILD_TYPE=Y -export STREAM=4.10.0 +export STREAM=4.11.0 export PATCH_OR_BRANCH_LABEL=java12 eclipseStreamMajor=${STREAM:0:1} diff --git a/production/sdk/cleaners/cleanupNightlyRepo.sh b/production/sdk/cleaners/cleanupNightlyRepo.sh index 6ce99c428..6a59572f0 100755 --- a/production/sdk/cleaners/cleanupNightlyRepo.sh +++ b/production/sdk/cleaners/cleanupNightlyRepo.sh @@ -210,10 +210,10 @@ function cleanRepo () remoteBase="/home/data/httpd/download.eclipse.org" -eclipseIRepo="${remoteBase}/eclipse/updates/4.10-I-builds" -eclipseSRepo="${remoteBase}/eclipse/updates/4.10milestones" -eclipseYRepo="${remoteBase}/eclipse/updates/4.9-Y-builds" -eclipsePRepo="${remoteBase}/eclipse/updates/4.9-P-builds" +eclipseIRepo="${remoteBase}/eclipse/updates/4.11-I-builds" +eclipseSRepo="${remoteBase}/eclipse/updates/4.11milestones" +eclipseYRepo="${remoteBase}/eclipse/updates/4.11-Y-builds" +eclipsePRepo="${remoteBase}/eclipse/updates/4.11-P-builds" #doDryrun=dryrun doDryrun= diff --git a/production/testScripts/configuration/streamSpecific.properties b/production/testScripts/configuration/streamSpecific.properties index 693ec628f..80d9df84c 100644 --- a/production/testScripts/configuration/streamSpecific.properties +++ b/production/testScripts/configuration/streamSpecific.properties @@ -5,7 +5,7 @@ # purely title or identifier for display, to help confirm right file # is being retrieved and used. -streamSpecificPropertiesTitle="Properties for 4.10.0 builds and tests" +streamSpecificPropertiesTitle="Properties for 4.11.0 builds and tests" # These "previousRelease" variables are primarily used to have a # stable version of Eclipse, that is used, for example, for it's p2 diff --git a/production/testScripts/test_runTests2.xml.sh b/production/testScripts/test_runTests2.xml.sh index f2783b19b..b9385c92d 100755 --- a/production/testScripts/test_runTests2.xml.sh +++ b/production/testScripts/test_runTests2.xml.sh @@ -86,7 +86,7 @@ wget -O ${WORKSPACE}/getEBuilder.xml --no-verbose http://${GIT_HOST}/c/platfor ANTFILE=getEBuilder.xml buildId=I20150320-0800 -eclipseStream=4.10.0 +eclipseStream=4.11.0 EBUILDER_HASH=master #EBUILDER_HASH=4295494c43e464a0c4ee39b7e0c847fbc3263f2a |
