diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/updateProductVersion.sh | 21 | ||||
-rw-r--r-- | scripts/verifyFreezePeriod.sh | 11 |
2 files changed, 0 insertions, 32 deletions
diff --git a/scripts/updateProductVersion.sh b/scripts/updateProductVersion.sh deleted file mode 100755 index 150dc7dfa..000000000 --- a/scripts/updateProductVersion.sh +++ /dev/null @@ -1,21 +0,0 @@ -#############################README################################################################################## -#Before running this script configure the source and target POM versions correctly, follow detailed steps below: -# 1. Update "updateProductVersion.sh" script with proper source and target version properly for all 4 mentioned files. -# 2. From Shell command prompt go to "eclipse.platform.releng.aggregator" directory -# 3. Then we should run the script using command: ./scripts/updateProductVersion.sh -# 4. Above script will take around less than a minute max to update the complete Eclipse sources. -# 5. Make sure to create the gerrit for for "eclipse.platform.releng.aggregator" in first place: -# 6. gerrit build will fail for this change, you can commit without gerrit validation -# 7. After committing above change, you need to deploy the POM for the new Eclipse version 4.16 -# 8. e.g. For new Eclipse release 4.16 [Note: version value will change depending on the release] run below jobs: -# https://ci.eclipse.org/releng/job/deploy-eclipse-platform-parent-pom/ -# https://ci.eclipse.org/releng/job/deploy-eclipse-sdk-target-pom/ -# 9. Now create the gerrit patches for all sub-modules which should pass. -#10. Finally commit all the modified files in each of the individual submodules of Releng. - -script_location=$( (cd $(dirname $0) && pwd) ) - -find $script_location/.. -name pom.xml -exec sed -i 's/4.22.0/4.23.0/g' {} \; -find $script_location/.. -name MANIFEST.MF -exec sed -i 's/4.22.0/4.23.0/g' {} \; -find $script_location/.. -type f -name *.product -exec sed -i 's/4.22.0/4.23.0/g' {} \; -find $script_location/.. -name feature.xml -exec sed -i 's/4.22.0/4.23.0/g' {} \; diff --git a/scripts/verifyFreezePeriod.sh b/scripts/verifyFreezePeriod.sh deleted file mode 100644 index 26b5f28f5..000000000 --- a/scripts/verifyFreezePeriod.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -today=$(date "+%Y-%m-%dT00:00:00Z") -tomorrow=$(date -d "+1 days" "+%Y-%m-%dT00:00:00Z") -calendarId="prfk26fdmpru1mptlb06p0jh4s%40group.calendar.google.com" -curl "https://www.googleapis.com/calendar/v3/calendars/${calendarId}/events?timeMin=${today}&timeMax=${tomorrow}&key=${GOOGLE_API_KEY}" | grep -i -e "summary.*stabilization" -if [[ $? == 0 ]]; then - echo "Today is a freeze day" - exit 1 #Exiting with non-0 makes the build fail, and Gerrit Jenkins plugin voting -1 on review -fi -echo "No freeze today" -exit 0 #Exiting with non-0 makes the build succeed, and Gerrit Jenkins plugin voting -1 on review |