Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI OSes #5050

Merged
merged 1 commit into from
May 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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