apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.99k stars 312 forks source link

Workflows failed due to EOL of CentOS 7 #2135

Open empiredan opened 4 weeks ago

empiredan commented 4 weeks ago

BuildCompilationEnvDocker failed due to EOL of CentOS 7:

image

shalk commented 4 weeks ago

https://github.com/docker-library/official-images/pull/17094 remove the Dockerfile is a good chose

empiredan commented 3 weeks ago

docker-library/official-images#17094 remove the Dockerfile is a good chose

Thanks @shalk ! Actually I tried very hard to make BuildCompilationEnvDocker work well, however it always failed since everything about centos 7 was not found: image

shalk commented 3 weeks ago

Let me have a try to fix it.

acelyc111 commented 2 days ago

I've tried on my own develop enviroment, the centos:7.5.1804 image can be pulled and the packages can be installed sucessfully.

# laiyingchun @ laiyingchun in ~/dev/pegasus/docker/pegasus-build-env/centos7 on git:master o [0:59:49]
$ sudo docker build .
[+] Building 339.0s (6/9)                                                                                                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                       0.0s
 => => transferring dockerfile: 3.24kB                                                                                                                                                                                                                                     0.0s
 => [internal] load metadata for docker.io/library/centos:7.5.1804                                                                                                                                                                                                        18.6s
 => [internal] load .dockerignore                                                                                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                            0.0s
 => [1/6] FROM docker.io/library/centos:7.5.1804@sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a                                                                                                                                                   3.7s
 => => resolve docker.io/library/centos:7.5.1804@sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a                                                                                                                                                   0.0s
 => => sha256:65decb5f8c6d37cdd06332ef1116a92fdb52aa1b55fe6256bb3b843ee97d2279 529B / 529B                                                                                                                                                                                 0.0s
 => => sha256:cf49811e3cdb94cbdfd645f3888d7add06a315449cf2c7ca7b81c312f1e46c63 2.21kB / 2.21kB                                                                                                                                                                             0.0s
 => => sha256:5ad559c5ae16b8980924ceae7f7662d07740debd4467db19e69339926ec8f255 74.69MB / 74.69MB                                                                                                                                                                           2.5s
 => => sha256:7a45e4a1efbaafc1d9aa89925b6fdb33288a96d35ea0581412316e2f0ad3720a 319B / 319B                                                                                                                                                                                 0.0s
 => => extracting sha256:5ad559c5ae16b8980924ceae7f7662d07740debd4467db19e69339926ec8f255                                                                                                                                                                                  1.1s
 => [2/6] RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo &&     sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo &&     sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo &&     yum -y install centos-rel  97.0s
 => [3/6] RUN pip3 install --upgrade pip --no-cache-dir && pip3 install --no-cache-dir cmake -i https://pypi.tuna.tsinghua.edu.cn/simple                                                                                                                                   8.8s
 => [4/6] RUN wget --progress=dot:giga https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz -P /opt/maven     && cd /opt/maven     && tar -zxf apache-maven-3.8.3-bin.tar.gz     && rm apache-maven-3.8.3-bin.tar.gz               210.7s

Did I miss something?

shalk commented 1 day ago

i know. The error message is contain aarch64. But centos 7.5.1804 not support aarch64 in sclo

https://vault.centos.org/7.5.1804/sclo/ .

I will remove linux/arm64 from github workflow