Skip to content

Commit 9d2551e

Browse files
committed
Try building on CentOS 6.10.
1 parent af65ef6 commit 9d2551e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/docker.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
matrix:
3333
# CentOS 5.11 setup was saved as an image pushed to Docker Hub. See the
3434
# Overview section at https://hub.docker.com/r/proatria/centos for details.
35-
container: [ 'alpine:3.12', 'proatria/centos:5.11-chevah1' ]
35+
container: [ 'alpine:3.12', 'centos:6.10' ]
3636
timeout-minutes: 30
3737
steps:
3838

@@ -46,13 +46,13 @@ jobs:
4646
curl --output /usr/local/bin/paxctl https://bin.chevah.com:20443/third-party-stuff/alpine/paxctl-3.12
4747
chmod +x /usr/local/bin/paxctl
4848
49-
# Our Chevah Centos 5 image, built for python-package.
50-
# FIXME: Update it to include unzip.
51-
- name: CentOS 5.11 setup
52-
if: matrix.container == 'proatria/centos:5.11-chevah1'
49+
- name: CentOS 6.10 setup
50+
if: matrix.container == 'centos:6.10'
5351
run: |
54-
wget https://vault.centos.org/5.11/os/x86_64/CentOS/unzip-5.52-3.el5.x86_64.rpm
55-
rpm -i unzip-5.52-3.el5.x86_64.rpm
52+
sed -i s/^mirrorlist=/#mirrorlist=/ /etc/yum.repos.d/*.repo
53+
sed -i s@^#baseurl=http://mirror.centos.org/centos/\$releasever/@baseurl=http://vault.centos.org/6.10/@ /etc/yum.repos.d/*.repo
54+
yum -y upgrade
55+
yum -y install wget curl gcc make m4 automake libtool patch sudo which openssh-clients unzip git perl-Test-Simple
5656
5757
- name: Clone repo independently
5858
run: |

build.conf

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ PIP_VERSION="23.0.1"
2323
SETUPTOOLS_VERSION="67.6.0"
2424

2525
# Python modules versions to be used everywhere possible.
26+
# Latest cryptography/bcrypt requires Rust for building, use wheels everywhere.
2627
CFFI_VERSION="1.15.1"
2728
CRYPTOGRAPHY_VERSION="39.0.2"
2829
SUBPROCESS32_VERSION="3.5.4"

0 commit comments

Comments
 (0)