Commit 8e73833e authored by Ben Cooksley's avatar Ben Cooksley

Remove support for Qt 5.9

parent 2703cb2f
......@@ -10,7 +10,6 @@ server:
cacheLocation:
WindowsMSVCQt5.11: "C:\\CI\\archives\\WindowsMSVCQt5.11\\"
SUSEQt5.9: "/srv/archives/production/SUSEQt5.9/"
SUSEQt5.10: "/srv/archives/production/SUSEQt5.10/"
SUSEQt5.11: "/srv/archives/production/SUSEQt5.11/"
FreeBSDQt5.12: "/usr/home/jenkins/archives/production/"
......
......@@ -10,7 +10,6 @@ server:
cacheLocation:
WindowsMSVCQt5.11: "C:\\CI\\sandbox-archives\\WindowsMSVCQt5.11\\"
SUSEQt5.9: "/srv/archives/sandbox/SUSEQt5.9/"
SUSEQt5.10: "/srv/archives/sandbox/SUSEQt5.10/"
SUSEQt5.11: "/srv/archives/sandbox/SUSEQt5.11/"
FreeBSDQt5.12: "/usr/home/jenkins/archives/sandbox/"
......
// Request a node to be allocated to us
node( "SUSEQt5.9" ) {
node( "SUSEQt5.10" ) {
// We want Timestamps on everything
timestamps {
// We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed
......
[
{"name": "Craft Setup Deploy"},
{"name": "Extragear craft master SUSEQt5.9"}
{"name": "Extragear craft master SUSEQt5.10"}
]
......@@ -11,7 +11,6 @@ parser.add_argument('metainfo', nargs='+', help='metainfo.yaml files', type=str)
arguments = parser.parse_args()
allPlatforms = {
'SUSEQt5.9': 'Linux',
'SUSEQt5.10': 'Linux',
'SUSEQt5.11': 'Linux',
'FreeBSDQt5.12': 'FreeBSD',
......
......@@ -26,8 +26,8 @@ sourcesLocation = os.getcwd()
buildLocation = CommonUtils.buildDirectoryForSources( sources=sourcesLocation, inSourceBuild=buildSpecification['in-source-build'] )
# Are we allowed to run?
# We only gather this metadata from the principal Linux platform, which at the moment is SUSEQt5.7 for Frameworks and SUSEQt5.9 for everyone else
if arguments.platform != 'SUSEQt5.7' and arguments.platform != 'SUSEQt5.9':
# We only gather this metadata from the principal Linux platform, which at the moment is SUSEQt5.10 for Frameworks and everyone else
if arguments.platform != 'SUSEQt5.10':
# Then there is nothing for us to do
sys.exit(0)
......
......@@ -22,8 +22,8 @@ buildEnvironment = EnvironmentHandler.generateFor( installPrefix=arguments.using
sourcesLocation = os.getcwd()
# Are we allowed to run?
# We only gather this metadata from the principal Linux platform, which at the moment is SUSEQt5.7 for Frameworks and SUSEQt5.9 for everyone else
if arguments.platform != 'SUSEQt5.7' and arguments.platform != 'SUSEQt5.9':
# We only gather this metadata from the principal Linux platform, which at the moment is SUSEQt5.10 for everything
if arguments.platform != 'SUSEQt5.10':
# Then there is nothing for us to do
sys.exit(0)
......
......@@ -3,13 +3,13 @@ variables:
PRODUCT: Frameworks
linux kf5-qt5 qt5.9:
image: "kdeorg/ci-suse-qt59"
image: "kdeorg/ci-suse-qt510"
extends: .linux
only:
- master
- merge_requests
variables:
PLATFORM: SUSEQt5.9
PLATFORM: SUSEQt5.10
BRANCH_GROUP: kf5-qt5
linux kf5-qt5 qt5.11:
......
'SUSEQt5.9':
- 'kdesupport/qca'
'SUSEQt5.10':
- 'kdesupport/qca'
......
SUSEQt5.9.template
\ No newline at end of file
This diff is collapsed.
SUSEQt5.9.template
\ No newline at end of file
SUSEQt5.10.template
\ No newline at end of file
This diff is collapsed.
SUSEQt5.9.template
\ No newline at end of file
SUSEQt5.10.template
\ No newline at end of file
SUSEQt5.9.template
\ No newline at end of file
// Request a node to be allocated to us
node( currentPlatform ) {
// We want Timestamps on everything
timestamps {
// We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed
catchError {
// First Thing: Checkout Sources
stage('Checkout Sources') {
// Our CI scripts
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/ci-tooling']]
]
// Projects metadata and next generation dependency metadata
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/repo-metadata/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/repo-metadata']]
]
// Dependency Metadata
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/kde-build-metadata/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/kde-build-metadata']]
]
}
// Now we run the Product Dependency Build Process
stage('Build Product Dependencies') {
// This script will do the following:
// 1) Determine what is in this Product
// 2) Determine what those repositories depend on
// 3) Determine what dependencies are outside of this Product
// 4) Sort those dependencies into an appropriate order to build them
// 5) Checkout, Configure, Compile, Install and Capture the Installation each of those dependencies in turn
// We can't do this as Pipeline steps unfortunately (at least not easily)
// Tests and Other Quality Tests won't be run during this process
// The results of this process are only intended to be used as part of the base of this Product, so don't need testing
sh "python3 -u ci-tooling/helpers/build-product-dependencies.py --product ${productName} --branchGroup ${branchGroup} --environment ${ciEnvironment} --platform ${currentPlatform} --installTo '$HOME/install-prefix/'"
}
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
// If our condition has changed, is FAILURE or UNSTABLE then we want to send an email
if( previousResult != currentBuild.result || currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Construct the list of our recipients - these people always want to be notified about Dependency Build jobs
def mailTo = []
// If someone kicked this job off, they're presumably interested as well
mailTo << emailextrecipients( [[$class: 'RequesterRecipientProvider']] )
// Finalise the list of recipients
mailTo = mailTo.join(',')
// Send the email now
emailext(
to: mailTo,
body: '${JELLY_SCRIPT,template="html_gmail"}',
mimeType: 'text/html',
subject: 'KDE CI: ${PROJECT_NAME} - Build # ${BUILD_NUMBER} - ${BUILD_STATUS}!',
attachLog: false
)
}
}
}
SUSEQt5.9.template
\ No newline at end of file
SUSEQt5.10.template
\ No newline at end of file
SUSEQt5.9.template
\ No newline at end of file
// Request a node to be allocated to us
node( currentPlatform ) {
// We want Timestamps on everything
timestamps {
// We want to catch any errors that occur to allow us to send out notifications (ie. emails) if needed
catchError {
// First Thing: Checkout Sources
stage('Checkout Sources') {
// Our CI scripts
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/ci-tooling']]
]
// Projects metadata and next generation dependency metadata
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/repo-metadata/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/repo-metadata']]
]
// Dependency Metadata
checkout changelog: false, poll: false, scm: [
$class: 'GitSCM',
branches: [[name: 'master']],
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ci-tooling/kde-build-metadata/']],
userRemoteConfigs: [[url: 'https://anongit.kde.org/kde-build-metadata']]
]
}
// Now we run the Product Dependency Build Process
stage('Build Product Dependencies') {
// This script will do the following:
// 1) Determine what is in this Product
// 2) Determine what those repositories depend on
// 3) Determine what dependencies are outside of this Product
// 4) Sort those dependencies into an appropriate order to build them
// 5) Checkout, Configure, Compile, Install and Capture the Installation each of those dependencies in turn
// We can't do this as Pipeline steps unfortunately (at least not easily)
// Tests and Other Quality Tests won't be run during this process
// The results of this process are only intended to be used as part of the base of this Product, so don't need testing
sh "python3 -u ci-tooling/helpers/build-product-dependencies.py --product ${productName} --branchGroup ${branchGroup} --environment ${ciEnvironment} --platform ${currentPlatform} --installTo '$HOME/install-prefix/'"
}
}
// Let's determine if we need to send out notifications
// What happened in our previous build?
def previousResult = currentBuild.previousBuild?.result
// If our condition has changed, is FAILURE or UNSTABLE then we want to send an email
if( previousResult != currentBuild.result || currentBuild.result == 'FAILURE' || currentBuild.result == 'UNSTABLE' ) {
// Construct the list of our recipients - these people always want to be notified about Dependency Build jobs
def mailTo = []
// If someone kicked this job off, they're presumably interested as well
mailTo << emailextrecipients( [[$class: 'RequesterRecipientProvider']] )
// Finalise the list of recipients
mailTo = mailTo.join(',')
// Send the email now
emailext(
to: mailTo,
body: '${JELLY_SCRIPT,template="html_gmail"}',
mimeType: 'text/html',
subject: 'KDE CI: ${PROJECT_NAME} - Build # ${BUILD_NUMBER} - ${BUILD_STATUS}!',
attachLog: false
)
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment