File tree 5 files changed +21
-18
lines changed
5 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 19
19
IMG_VER : devel
20
20
strategy :
21
21
matrix :
22
- CONFIG : ["OS=centos OS_VER=8streams PUSH_IMAGE=1"]
22
+ CONFIG : ["OS=centos OS_VER=9streams PUSH_IMAGE=1"]
23
23
steps :
24
24
- name : " System Information"
25
25
run : |
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ docker run --privileged=true --name=${CONTAINER_NAME} -i \
88
88
--env COVERITY_SCAN_TOKEN=${COVERITY_SCAN_TOKEN} \
89
89
--env COVERITY_SCAN_NOTIFICATION_EMAIL=${COVERITY_SCAN_NOTIFICATION_EMAIL} \
90
90
--env TEST_TIMEOUT=${TEST_TIMEOUT} \
91
- --env TZ=' Europe/Warsaw ' \
91
+ --env TZ=' America/Los_Angeles ' \
92
92
--shm-size=4G \
93
93
-v ${HOST_WORKDIR} :${WORKDIR} \
94
94
-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
2
2
3
3
RUN dnf install -y \
4
4
cmake \
@@ -8,22 +8,20 @@ tzdata \
8
8
vim \
9
9
gdb \
10
10
clang \
11
- python36 \
12
- glibc-devel.i686 \
13
11
xmlto \
14
12
uuid \
15
13
libuuid-devel \
16
- json-c-devel \
17
14
perf \
18
15
numactl
19
16
20
17
RUN dnf -y install gcc-toolset-12
21
18
RUN echo "source /opt/rh/gcc-toolset-12/enable" >> /etc/bashrc
19
+
22
20
SHELL ["/bin/bash" , "--login" , "-c" ]
23
21
24
22
COPY ./contrib ./contrib
25
23
COPY ./docker ./docker
26
24
COPY ./cachelib/external ./cachelib/external
27
-
25
+ RUN ls ./cachelib/external/
28
26
RUN ./docker/images/install-cachelib-deps.sh
29
27
RUN ./docker/images/install-dsa-deps.sh
Original file line number Diff line number Diff line change 3
3
# Copyright 2022, Intel Corporation
4
4
5
5
echo ' 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
7
7
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 ;
9
9
do
10
- sudo ./contrib/build-package.sh -j -I /opt/ " $pkg "
10
+ echo " Building $pkg "
11
+ ./contrib/build-package.sh -j -v -I /opt/ " $pkg "
11
12
done
12
13
Original file line number Diff line number Diff line change @@ -8,13 +8,17 @@ function sudo_password() {
8
8
echo ${USERPASS} | sudo -Sk $*
9
9
}
10
10
11
- cd ..
12
- mkdir build
13
- cd build
14
-
11
+ # cd ..
12
+ # mkdir build
13
+ # cd build
14
+ #
15
15
source /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
20
24
cd /opt/tests && $WORKDIR /run_tests.sh
You can’t perform that action at this time.
0 commit comments