tree-wide: drop f31 support
We no longer release into F31, and the right specfile was anyway not being tested. This allows us to remove a workaround that updates the VMs during deploy, and other fedora-31 specific hacks.
This commit is contained in:
parent
1d7df26775
commit
25abccf66d
23 changed files with 10 additions and 104272 deletions
73
schutzbot/Jenkinsfile
vendored
73
schutzbot/Jenkinsfile
vendored
|
|
@ -40,23 +40,6 @@ pipeline {
|
|||
|
||||
parallel {
|
||||
|
||||
stage('F31') {
|
||||
agent { label "f31cloudbase && x86_64 && aws" }
|
||||
environment {
|
||||
AWS_CREDS = credentials('aws-credentials-osbuildci')
|
||||
AWS_IMAGE_TEST_CREDS = credentials('aws-credentials-osbuild-image-test')
|
||||
}
|
||||
steps {
|
||||
sh "schutzbot/ci_details.sh"
|
||||
retry(3) {
|
||||
sh "schutzbot/mockbuild.sh"
|
||||
}
|
||||
stash (
|
||||
includes: 'osbuild-mock.repo',
|
||||
name: 'fedora31'
|
||||
)
|
||||
}
|
||||
}
|
||||
stage('F32') {
|
||||
agent { label "f32cloudbase && x86_64 && aws" }
|
||||
environment {
|
||||
|
|
@ -133,62 +116,6 @@ pipeline {
|
|||
stage("Testing 🍌") {
|
||||
parallel {
|
||||
|
||||
stage('F31 Base') {
|
||||
agent { label "f31cloudbase && x86_64 && aws" }
|
||||
environment { TEST_TYPE = "base" }
|
||||
steps {
|
||||
unstash 'fedora31'
|
||||
run_tests('base')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('fedora31-base')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('F31 Image') {
|
||||
agent { label "f31cloudbase && psi && x86_64" }
|
||||
environment {
|
||||
TEST_TYPE = "image"
|
||||
AWS_CREDS = credentials('aws-credentials-osbuildci')
|
||||
AWS_IMAGE_TEST_CREDS = credentials('aws-credentials-osbuild-image-test')
|
||||
AZURE_CREDS = credentials('azure')
|
||||
OPENSTACK_CREDS = credentials("psi-openstack-creds")
|
||||
VCENTER_CREDS = credentials('vmware-vcenter-credentials')
|
||||
DISTRO_CODE = "fedora31"
|
||||
}
|
||||
steps {
|
||||
unstash 'fedora31'
|
||||
run_tests('image')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('fedora31-image')
|
||||
sh (
|
||||
label: "Run cloud cleaner just in case something failed",
|
||||
script: "schutzbot/run_cloud_cleaner.sh"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('F31 Integration') {
|
||||
agent { label "f31cloudbase && x86_64 && aws" }
|
||||
environment {
|
||||
TEST_TYPE = "integration"
|
||||
AWS_CREDS = credentials('aws-credentials-osbuildci')
|
||||
AWS_IMAGE_TEST_CREDS = credentials('aws-credentials-osbuild-image-test')
|
||||
}
|
||||
steps {
|
||||
unstash 'fedora31'
|
||||
run_tests('integration')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('fedora31-integration')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('F32 Base') {
|
||||
agent { label "f32cloudbase && x86_64 && aws" }
|
||||
environment { TEST_TYPE = "base" }
|
||||
|
|
|
|||
|
|
@ -41,16 +41,6 @@ sudo rm -f /etc/yum.repos.d/fedora*modular*
|
|||
greenprint "Enabling fastestmirror and disabling weak dependencies to speed up dnf even more 🏎️"
|
||||
echo -e "fastestmirror=1\ninstall_weak_deps=0" | sudo tee -a /etc/dnf/dnf.conf
|
||||
|
||||
# Ensure we are using the latest dnf since early revisions of Fedora 31 had
|
||||
# some dnf repo priority bugs like BZ 1733582.
|
||||
# NOTE(mhayden): We can exclude kernel updates here to save time with dracut
|
||||
# and module updates. The system will not be rebooted in CI anyway, so a
|
||||
# kernel update is not needed.
|
||||
if [[ $ID == fedora ]]; then
|
||||
greenprint "Upgrading system to fix dnf issues"
|
||||
sudo dnf -y upgrade --exclude kernel --exclude kernel-core
|
||||
fi
|
||||
|
||||
greenprint "Adding osbuild team ssh keys"
|
||||
cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue