File tree Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 1919 IMG_VER : devel
2020 strategy :
2121 matrix :
22- CONFIG : ["OS=centos OS_VER=8streams PUSH_IMAGE=1"]
22+ CONFIG : ["OS=centos OS_VER=9streams PUSH_IMAGE=1"]
2323 steps :
2424 - name : " System Information"
2525 run : |
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ docker run --privileged=true --name=${CONTAINER_NAME} -i \
8888 --env COVERITY_SCAN_TOKEN=${COVERITY_SCAN_TOKEN} \
8989 --env COVERITY_SCAN_NOTIFICATION_EMAIL=${COVERITY_SCAN_NOTIFICATION_EMAIL} \
9090 --env TEST_TIMEOUT=${TEST_TIMEOUT} \
91- --env TZ=' Europe/Warsaw ' \
91+ --env TZ=' America/Los_Angeles ' \
9292 --shm-size=4G \
9393 -v ${HOST_WORKDIR} :${WORKDIR} \
9494 -v /etc/localtime:/etc/localtime \
Original file line number Diff line number Diff line change 1- FROM quay.io/centos/centos:stream8
1+ FROM quay.io/centos/centos:stream9
22
33RUN dnf install -y \
44cmake \
@@ -8,22 +8,20 @@ tzdata \
88vim \
99gdb \
1010clang \
11- python36 \
12- glibc-devel.i686 \
1311xmlto \
1412uuid \
1513libuuid-devel \
16- json-c-devel \
1714perf \
1815numactl
1916
2017RUN dnf -y install gcc-toolset-12
2118RUN echo "source /opt/rh/gcc-toolset-12/enable" >> /etc/bashrc
19+
2220SHELL ["/bin/bash" , "--login" , "-c" ]
2321
2422COPY ./contrib ./contrib
2523COPY ./docker ./docker
2624COPY ./cachelib/external ./cachelib/external
27-
25+ RUN ls ./cachelib/external/
2826RUN ./docker/images/install-cachelib-deps.sh
2927RUN ./docker/images/install-dsa-deps.sh
Original file line number Diff line number Diff line change 33# Copyright 2022, Intel Corporation
44
55echo ' Defaults env_keep += "HTTPS_PROXY https_proxy HTTP_PROXY http_proxy NO_PROXY no_proxy"' >> /etc/sudoers
6- ./contrib/prerequisites-centos8 .sh
6+ ./contrib/prerequisites-centos9 .sh
77
8- for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle fbthrift ;
8+ for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle mvfst fbthrift ;
99do
10- sudo ./contrib/build-package.sh -j -I /opt/ " $pkg "
10+ echo " Building $pkg "
11+ ./contrib/build-package.sh -j -v -I /opt/ " $pkg "
1112done
1213
Original file line number Diff line number Diff line change @@ -8,13 +8,17 @@ function sudo_password() {
88 echo ${USERPASS} | sudo -Sk $*
99}
1010
11- cd ..
12- mkdir build
13- cd build
14-
11+ # cd ..
12+ # mkdir build
13+ # cd build
14+ #
1515source /opt/rh/gcc-toolset-12/enable
16-
17- cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug
18- sudo_password make install -j$( nproc)
19-
16+ #
17+ # cmake ../cachelib -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_BUILD_TYPE=Debug
18+ # sudo_password make install -j$(nproc)
19+ cd $WORKDIR
20+ if [ -d " build-cachelib" ]; then
21+ rm -rf build-cachelib
22+ fi
23+ ./contrib/build-package.sh -t -j -v -I /opt/ cachelib
2024cd /opt/tests && $WORKDIR /run_tests.sh
You can’t perform that action at this time.
0 commit comments