Skip to content

Commit

Permalink
Merge branch 'eclipse-platform:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SougandhS authored Dec 5, 2024
2 parents 562d1b6 + 36763d2 commit 84324ed
Show file tree
Hide file tree
Showing 149 changed files with 578 additions and 1,361 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkVersions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
maven-version: 3.9.9

- name: Check and increment versions
uses: Wandalen/wretry.action@8ceaefd717b7cdae4f2637f9a433242ade421a0a # master
uses: Wandalen/wretry.action@ffdd254f4eaf1562b8a2c66aeaa37f1ff2231179 # master
with:
attempt_delay: 200
attempt_limit: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepareRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Update Main Versions
run: mvn -U -ntp -f eclipse-platform-parent org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=${{ github.event.milestone.title }}.0-SNAPSHOT -Dmodules=../eclipse.platform.releng.prereqs.sdk
- name: Update Release Versions
run: mvn -ntp -f eclipse-platform-parent/pom.xml --non-recursive org.eclipse.tycho:tycho-versions-plugin:set-property -Dproperties=releaseNumberSDK,releaseNumberPlatform,releaseName -DnewReleaseName=${{ steps.get-release-name.outputs.name }} -DnewReleaseNumberSDK=${{ github.event.milestone.title }} -DnewReleaseNumberPlatform=${{ github.event.milestone.title }}
run: mvn -ntp -f eclipse-platform-parent/pom.xml --non-recursive org.eclipse.tycho:tycho-versions-plugin:set-property -Dproperties=releaseVersion,releaseName -DnewReleaseName=${{ steps.get-release-name.outputs.name }} -DnewreleaseVersion=${{ github.event.milestone.title }}
- name: Create Pull Request for Release ${{ github.event.milestone.title }}
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/updateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,9 @@ jobs:
cache: maven
- name: Update Versions
run: >-
mvn -U -Pbuild-individual-bundles -ntp
mvn -U -B -ntp
org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=${{ github.event.milestone.title }}.0-SNAPSHOT
org.eclipse.tycho:tycho-versions-plugin:set-parent-version -DnewParentVersion=${{ github.event.milestone.title }}.0-SNAPSHOT
- name: Build and Bump Versions
uses: Wandalen/wretry.action@8ceaefd717b7cdae4f2637f9a433242ade421a0a # master
with:
attempt_delay: 120000
attempt_limit: 10
command: >-
mvn -U -Pbuild-individual-bundles -ntp
clean verify
-DskipTests
-Dcompare-version-with-baselines.skip=false
org.eclipse.tycho:tycho-versions-plugin:bump-versions -Dtycho.bump-versions.increment=100
- name: Create Pull Request for Release ${{ github.event.milestone.title }}
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
Expand All @@ -49,5 +38,3 @@ jobs:
add-paths: |
pom.xml
**/pom.xml
**/*.MF
3 changes: 1 addition & 2 deletions JenkinsJobs/AutomatedTests/I_unit_mac.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pipeline {
ANT_HOME = tool(type:'ant', name:'apache-ant-latest')
PATH = "${JAVA_HOME}/bin:${ANT_HOME}/bin:${PATH}"
ANT_OPTS = "-Djava.io.tmpdir=${WORKSPACE}/tmp -Djava.security.manager=allow"
eclipseArch = \'''' + ARCH + ''''
}
steps {
cleanWs() // workspace not cleaned by default
Expand Down Expand Up @@ -75,7 +74,7 @@ java -XshowSettings -version 1>javaSettings.txt 2>&1
ant -f getEBuilder.xml -DbuildId=${buildId} -DeclipseStream=${STREAM} -DEBUILDER_HASH=${EBUILDER_HASH} \\
-DdownloadURL=https://download.eclipse.org/eclipse/downloads/drops4/${buildId} \\
-Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=${eclipseArch} \\
-Dosgi.os=macosx -Dosgi.ws=cocoa -Dosgi.arch=''' + ARCH + ''' \\
-DtestSuite=all
# For smaller test-suites see: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/be721e33c916b03c342e7b6f334220c6124946f8/production/testScripts/configuration/sdk.tests/testScripts/test.xml#L1893-L1903
\'\'\'
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/AddToPComposite.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for (STREAM in STREAMS){
stringParam('buildId', null, 'Build ID of the build to be added.')
}

label('centos-latest')
label('basic')

logRotator {
daysToKeep(3)
Expand Down
19 changes: 12 additions & 7 deletions JenkinsJobs/Builds/I_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ for (STREAM in STREAMS){
# format: Minute Hour Day Month Day of the week (0-7)
# - - - Integration Eclipse SDK builds - - -
# 2024-12 Release Schedule
# 2025-03 Release Schedule
# Normal : 6 PM every day (1/6 - 2/9)
# 0 18 * * *
0 18 * * *
# Milestone/RC Schedule
# Post M1, no nightlies, I-builds only. (Be sure to "turn off" for tests and sign off days)
0 6 9-20 11 5-7,1-3
0 18 9-20 11 5-7,1-3
# 0 6 14-26 2 5-7,1-3
# 0 18 14-26 2 5-7,1-3
""")
}
}
Expand Down Expand Up @@ -55,7 +55,7 @@ pipeline {
}
agent {
kubernetes {
inheritFrom 'centos-8'
inheritFrom 'ubuntu-2404'
yaml """
apiVersion: v1
kind: Pod
Expand Down Expand Up @@ -247,7 +247,7 @@ spec:
stage('Aggregator maven build'){
environment {
KEYRING = credentials('secret-subkeys-releng.asc')
KEYRING_PASSPHRASE = credentials('secret-subkeys-releng.acs-passphrase')
MAVEN_GPG_PASSPHRASE = credentials('secret-subkeys-releng.acs-passphrase')
}
steps {
container('jnlp') {
Expand Down Expand Up @@ -423,11 +423,16 @@ spec:
build job: 'AutomatedTests/ep''' + MAJOR + MINOR + '''I-unit-macosx-aarch64-java17', parameters: [string(name: 'buildId', value: "${env.BUILD_IID.trim()}")], wait: false
build job: 'AutomatedTests/ep''' + MAJOR + MINOR + '''I-unit-macosx-x86_64-java17', parameters: [string(name: 'buildId', value: "${env.BUILD_IID.trim()}")], wait: false
build job: 'AutomatedTests/ep''' + MAJOR + MINOR + '''I-unit-win32-x86_64-java17', parameters: [string(name: 'buildId', value: "${env.BUILD_IID.trim()}")], wait: false
build job: 'Start-smoke-tests', parameters: [string(name: 'buildId', value: "${env.BUILD_IID.trim()}")], wait: false
build job: 'SmokeTests/Start-smoke-tests', parameters: [string(name: 'buildId', value: "${env.BUILD_IID.trim()}")], wait: false
}
}
}
stage('Trigger publication to Maven snapshots repo') {
when {
environment name: 'COMPARATOR_ERRORS_SUBJECT', value: ''
// On comparator-erros, skip the deployment of snapshot version to the 'eclipse-snapshots' maven repository to prevent that ECJ snapshot
// from being used in verification builds. Similar to how the p2-repository is not added to the I-build composite in that case.
}
steps {
container('jnlp') {
build job: 'CBIaggregator', parameters: [string(name: 'snapshotOrRelease', value: '-snapshot')], wait: false
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/markStable.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ job('Builds/markStable'){
stringParam('buildId', null, 'ID of the build to be marked stable.')
}

label('centos-8')
label('basic')

logRotator {
daysToKeep(3)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/markUnstable.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ job('Builds/markUnstable'){
stringParam('issueUrl', null, 'URL for the issue.')
}

label('centos-8')
label('basic')

logRotator {
daysToKeep(3)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Cleanup/cleanupDLsite.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ job('rt.equinox.releng.cleanupDLsite'){
cron('45 7 * * *')
}

label('centos-latest')
label('basic')

logRotator {
daysToKeep(10)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Cleanup/cleanupReleaseArtifacts.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ job('Cleanup/cleanupReleaseArtifacts'){
displayName('Cleanup Release Artifacts')
description('Cleanup major artifacts from previous releases at the beginning of a new release.')

label('centos-latest')
label('basic')

logRotator {
daysToKeep(1)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Cleanup/dailyCleanOldBuilds.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and other such scripts.
numToKeep(5)
}

label('centos-latest')
label('basic')

triggers {
cron('''
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Cleanup/pruneDailyRepos.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and other such scripts.
}


label('centos-latest')
label('basic')

triggers {
cron('''
Expand Down
4 changes: 2 additions & 2 deletions JenkinsJobs/JobDSL.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Streams": [
"4.34"
"4.35"
],
"Branches": {
"4.34": "master"
"4.35": "master"
}
}
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/CBIaggregator.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ job('Releng/CBIaggregator'){
choiceParam('snapshotOrRelease', ['release', 'snapshot'], null)
}

label('centos-latest')
label('basic')

jdk('openjdk-jdk11-latest')

Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/PublishJDTtoMaven.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ job('Releng/PublishJDTtoMaven'){
stringParam('REPO_ID', null, 'ID (buildNo) of repository created by CBI aggregator job.')
}

label('centos-latest')
label('basic')

jdk('openjdk-jdk11-latest')

Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/PublishPDEToMaven.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ job('Releng/PublishPDEToMaven'){
stringParam('REPO_ID', null, 'ID (buildNo) of repository created by CBI aggregator job.')
}

label('centos-latest')
label('basic')

jdk('openjdk-jdk11-latest')

Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/PublishPlatformToMaven.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ job('Releng/PublishPlatformToMaven'){
stringParam('REPO_ID', null, 'ID (buildNo) of repository created by CBI aggregator job.')
}

label('centos-latest')
label('basic')

jdk('openjdk-jdk11-latest')

Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/checkCompositesValidity.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ job('Releng/checkCompositesValidity'){

jdk('adoptopenjdk-hotspot-jdk11-latest')

label('centos-8')
label('basic')

triggers {
cron {
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/collectPerfResults.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ job('Releng/collectPerfResults'){
stringParam('buildID', null, 'ID of the I-build being tested.')
}

label('centos-8')
label('basic')

logRotator {
daysToKeep(5)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/collectResults.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ job('Releng/ep-collectResults'){
stringParam('buildID', null, 'ID of the I-build being tested.')
}

label('centos-8')
label('basic')

logRotator {
daysToKeep(5)
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/createGenericComposites.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ job('Releng/createGenericComposites'){

jdk('openjdk-jdk11-latest')

label('centos-8')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down
4 changes: 2 additions & 2 deletions JenkinsJobs/Releng/createMaintenanceBranch.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ job('Releng/createMaintenanceBranch'){
stringParam('tag', null, 'Release tag to be used when making the branch. For example: S4_26_0_RC2')
}

label('centos-latest')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand All @@ -28,7 +28,7 @@ function fn_toPushRepo() {
if ! [[ "$from" == http* ]]; then
echo $from
else
echo $(sed -e 's,http://git.eclipse.org/gitroot,ssh://[email protected]:29418,' -e 's,https://git.eclipse.org/r,ssh://[email protected]:29418,' -e 's,https://github.com/,[email protected]:,' <<< $from)
echo $(sed -e 's,https://github.com/,[email protected]:,' <<< $from)
fi
}
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/makeVisible.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ I-builds promote to 'S' until 'R'.

jdk('adoptopenjdk-hotspot-jdk11-latest')

label('centos-8')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/newStreamRepos.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ job('Releng/newStreamRepos'){
stringParam('streamVersion', null, 'The stream version for which repos should be initialized.')
}

label('centos-latest')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/renameAndPromote.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ S is used for milestones and includes the milestone version. For example: S4_25_

jdk('adoptopenjdk-hotspot-jdk11-latest')

label('centos-latest')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down
4 changes: 2 additions & 2 deletions JenkinsJobs/Releng/tagEclipseRelease.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GitHub issue (or legacy bugzilla bug ID) to track tagging the release, for examp

jdk('oracle-jdk8-latest')

label('centos-latest')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down Expand Up @@ -63,7 +63,7 @@ function toPushRepo() {
if ! [[ "$from" == http* ]]; then
echo $from
else
echo $(sed -e 's,http://git.eclipse.org/gitroot,ssh://[email protected]:29418,' -e 's,https://git.eclipse.org/r,ssh://[email protected]:29418,' -e 's/https:\\/\\/github.com/ssh:\\/\\/[email protected]/g' <<< $from)
echo $(sed -e 's/https:\\/\\/github.com/ssh:\\/\\/[email protected]/g' <<< $from)
fi
}
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Releng/updateIndex.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ job('Releng/updateIndex'){

jdk('openjdk-jdk11-latest')

label('centos-8')
label('basic')

wrappers { //adds pre/post actions
timestamps()
Expand Down
22 changes: 21 additions & 1 deletion JenkinsJobs/SmokeTests/FOLDER.groovy
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
folder('SmokeTests') {
displayName('Smoke Tests')
description('Folder for Smoke Tests')
}
}

pipelineJob('SmokeTests/Start-smoke-tests'){
description('Start all smoke tests for the Eclipse SDK')
parameters { // Define parameters in job configuration to make them already available in the very first build
stringParam {
name('buildId')
description('Build Id to test (such as I20240611-1800, N20120716-0800).')
trim(true)
}
}
definition {
cpsScm {
lightweight(true)
scm {
github('eclipse-platform/eclipse.platform.releng.aggregator', 'master')
}
scriptPath('JenkinsJobs/SmokeTests/StartSmokeTests.jenkinsfile')
}
}
}
Loading

0 comments on commit 84324ed

Please sign in to comment.