Skip to content

Commit

Permalink
Update CI OSes
Browse files Browse the repository at this point in the history
Remove deprecated buster, centos 7 and bionic.
  • Loading branch information
nickva committed May 11, 2024
1 parent 022ffd1 commit a95e4f8
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions build-aux/Jenkinsfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ MINIMUM_ERLANG_VERSION = '24.3.4.17'
// We create parallel build / test / package stages for each OS using the metadata
// in this map. Adding a new OS should ideally only involve adding a new entry here.
meta = [
'centos7': [
name: 'CentOS 7',
spidermonkey_vsn: '1.8.5',
enable_nouveau: true,
enable_clouseau: true,
image: "apache/couchdbci-centos:7-erlang-${ERLANG_VERSION}"
],

'centos8': [
name: 'CentOS 8',
spidermonkey_vsn: '60',
Expand All @@ -39,14 +31,6 @@ meta = [
image: "apache/couchdbci-centos:8-erlang-${ERLANG_VERSION}"
],

'bionic': [
name: 'Ubuntu 18.04',
spidermonkey_vsn: '1.8.5',
enable_nouveau: true,
enable_clouseau: true,
image: "apache/couchdbci-ubuntu:bionic-erlang-${ERLANG_VERSION}"
],

'focal': [
name: 'Ubuntu 20.04',
spidermonkey_vsn: '68',
Expand All @@ -63,14 +47,6 @@ meta = [
image: "apache/couchdbci-ubuntu:jammy-erlang-${ERLANG_VERSION}"
],

'buster': [
name: 'Debian 10',
spidermonkey_vsn: '60',
enable_nouveau: true,
enable_clouseau: true,
image: "apache/couchdbci-debian:buster-erlang-${ERLANG_VERSION}"
],

'bullseye-ppc64': [
name: 'Debian 11 POWER',
spidermonkey_vsn: '78',
Expand Down Expand Up @@ -384,25 +360,22 @@ pipeline {
unarchive mapping: ['pkgs/' : '.']

sh( label: 'Build Debian repo', script: '''
mkdir -p $BRANCH_NAME/debian $BRANCH_NAME/el7 $BRANCH_NAME/el8 $BRANCH_NAME/source
mkdir -p $BRANCH_NAME/debian $BRANCH_NAME/el8 $BRANCH_NAME/source
git clone https://github.com/apache/couchdb-pkg
for plat in buster bullseye focal
for plat in bullseye focal
do
reprepro -b couchdb-pkg/repo includedeb $plat pkgs/$plat/*.deb
done
''' )

sh( label: 'Build CentOS repos', script: '''
#cp js/centos-7/*rpm pkgs/centos7
#cp js/centos-8/*rpm pkgs/centos8
cd pkgs/centos7 && createrepo_c --database .
cd ../centos8 && createrepo_c --database .
cd pkgs/centos8 && createrepo_c --database .
''' )

sh( label: 'Build unified repo', script: '''
mv couchdb-pkg/repo/pool $BRANCH_NAME/debian
mv couchdb-pkg/repo/dists $BRANCH_NAME/debian
mv pkgs/centos7/* $BRANCH_NAME/el7
mv pkgs/centos8/* $BRANCH_NAME/el8
mv apache-couchdb-*.tar.gz $BRANCH_NAME/source
cd $BRANCH_NAME/source
Expand Down

0 comments on commit a95e4f8

Please sign in to comment.