Skip to content

Commit

Permalink
Move previous version to 4.33RC2a across build scripts (#2312)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohananRahul authored Sep 4, 2024
1 parent 967ea60 commit 4b03561
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions cje-production/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ API_FREEZE_REF_LABEL=""
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.33RC2"
PREVIOUS_RELEASE_VER="4.33RC2a"
PREVIOUS_RELEASE_REPO_ID="4.33-I-builds"
#build id for getting repo
BASEBUILD_ID="I20240828-1820"
BASEBUILD_ID="I20240903-0240"
#release id for downloading eclipse
PREVIOUS_RELEASE_ID="S-4.33RC2-202408281820"
PREVIOUS_RELEASE_ID="S-4.33RC2a-202409030240"

BUILDTOOLS_REPO="https://download.eclipse.org/eclipse/updates/buildtools/"
WEBTOOLS_REPO="https://download.eclipse.org/webtools/downloads/drops/R3.33.0/R-3.33.0-20240304165142/repositoryunittests/"
Expand Down
2 changes: 1 addition & 1 deletion eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

<compare-version-with-baselines.skip>true</compare-version-with-baselines.skip>
<tycho.baseline.replace>all</tycho.baseline.replace>
<previous-release.baseline>https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240828-1820/</previous-release.baseline>
<previous-release.baseline>https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240903-0240/</previous-release.baseline>

<!--
Declaration of properties that contribute to the arg line for the tycho-surefire-plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux-x86_64=\${basedir
org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-${buildId}-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-${buildId}-macosx-cocoa-x86_64.dmg

org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-4.33RC2-linux-gtk-x86_64.tar.gz
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-4.33RC2-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-4.33RC2-macosx-cocoa-x86_64.dmg
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux-x86_64=\${basedir}/eclipse-platform-4.33RC2a-linux-gtk-x86_64.tar.gz
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32-x86_64=\${basedir}\\\\eclipse-platform-4.33RC2a-win32-x86_64.zip
org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx-x86_64=\${basedir}/eclipse-platform-4.33RC2a-macosx-cocoa-x86_64.dmg

org.eclipse.equinox.p2.tests.current.build.repo=https://download.eclipse.org/eclipse/updates/${eclipseStreamMajor}.${eclipseStreamMinor}-${buildType}-builds/${buildId}
org.eclipse.equinox.p2.tests.last.release.build.repo=https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240828-1820/
org.eclipse.equinox.p2.tests.last.release.build.repo=https://download.eclipse.org/equinox/drops/S-4.33RC2a-202409030240/

Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ buildId=${buildId}
# such as "4.5" instead of "4.5.0".
eclipseStream=${releaseNumberSDK}
# similar for previous release version
previousReleaseVersion=4.33RC2
previousReleaseVersion=4.33RC2a
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@


mkdir -p workarea/${buildId}/eclipse-testing
cp /home/files/buildzips/oxygen/R/S-4.33RC2-202408281820//eclipse-platform-4.33-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/platformLocation/
cp /home/files/buildzips/oxygen/R/S-4.33RC2a-202409030240//eclipse-platform-4.33-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/platformLocation/

cp /home/files/buildzips/oxygen/R/S-4.33RC2-202408281820//eclipse-SDK-4.33-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/
cp /home/files/buildzips/oxygen/R/S-4.33RC2a-202409030240//eclipse-SDK-4.33-linux-gtk-x86_64.tar.gz ./workarea/${buildId}/eclipse-testing/

cp eclipse-junit-tests-${buildId}.zip workarea/${buildId}/eclipse-testing/

Expand Down
12 changes: 6 additions & 6 deletions production/testScripts/configuration/streamSpecific.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ streamSpecificPropertiesTitle="Properties for 4.34.0 builds and tests"
# stable version of Eclipse, that is used, for example, for it's p2
# director, etc., so that "running the tests" is not actually using
# the "just built" versions.
previousReleaseLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.33RC2-202408281820/
previousReleaseLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.33RC2a-202409030240/
# version here is "build label" ... in general form, the "middle" of archive name,
# such as "eclipse-platform-${previousReleaseVersion}-linux-gtk-x86_64.tar.gz
# Also used used in p2 testing?
previousReleaseVersion=4.33RC2
previousReleaseVersion=4.33RC2a
# This is last segment of last release repo, such as in
# http://${ARCHIVE_HOST}/eclipse/updates/${previousReleaseVersion}
# NOTE: I am assuming the "composite" repo is suitable for p2. In theory,
# they might want the simple repo, such as at 4.4/R-4.4.1-201409250400
previousReleaseVersionRepo=4.33RC2
previousReleaseVersionRepo=4.33RC2a

# Note: API tests needs the _base_ of previous release, and also the previous service release
# Bug 378587 - update releng tests (data) to go work against previous release
Expand All @@ -34,12 +34,12 @@ apiTestsPreviousRefererenceWin32Filename=obsoleteAndNotUsed
# baselinePerf=true
# are specified. The baselinePerf will often be the same as "previous release", but
# not necessarily, so is not hard coded in assumptions.
baselinePerfLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.33RC2-202408281820
baselinePerfLocation=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-4.33RC2a-202409030240
# NOTE: value must match baselineCode in testScripts/updateTestResultsPages.sh
baselinePerfVersion=S-4.33RC2-202408281820
baselinePerfVersion=S-4.33RC2a-202409030240
# TODO: could/should eventually "compute" label, from full version?
baselinePerfVersionLabel=4.33
baselinePerfBuildId=I20240828-1820
baselinePerfBuildId=I20240903-0240

# We currently set here, but would be better to compute this value
# by peeking in the "to be tested" tar file.
Expand Down
2 changes: 1 addition & 1 deletion production/testScripts/updateTestResultsPages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ then

# TODO: avoid this hard coding of baseline value
# NOTE: value must start with a letter match baselinePerfVersion in testScripts/configuration/streamSpecific.properties
baselineCode="S-4.33RC2-202408281820"
baselineCode="S-4.33RC2a-202409030240"
# to get time stamp, first remove initial IMN:
baselineForBuildSuffix=${buildId/[IMN]/}
#Then remove final '-' in build id
Expand Down

0 comments on commit 4b03561

Please sign in to comment.