34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
|
|
From 42a46f64e533ea0a89f95bef80a421fe06a5bfa2 Mon Sep 17 00:00:00 2001
|
||
|
|
From: haozi007 <liuhao27@huawei.com>
|
||
|
|
Date: Mon, 6 Mar 2023 14:38:58 +0800
|
||
|
|
Subject: [PATCH 36/53] adapt to repo of openeuler url changed
|
||
|
|
|
||
|
|
Signed-off-by: haozi007 <liuhao27@huawei.com>
|
||
|
|
---
|
||
|
|
CI/pr-gateway.sh | 8 ++++++++
|
||
|
|
1 file changed, 8 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/CI/pr-gateway.sh b/CI/pr-gateway.sh
|
||
|
|
index c715fc39..7c696de3 100755
|
||
|
|
--- a/CI/pr-gateway.sh
|
||
|
|
+++ b/CI/pr-gateway.sh
|
||
|
|
@@ -18,7 +18,15 @@ if [ $# -eq 1 ]; then
|
||
|
|
tbranch=$1
|
||
|
|
fi
|
||
|
|
|
||
|
|
+sed -i "s#http://repo.openeuler.org#https://repo.huaweicloud.com/openeuler#g" /etc/yum.repos.d/openEuler.repo
|
||
|
|
+
|
||
|
|
+dnf update -y
|
||
|
|
+
|
||
|
|
dnf install -y gtest-devel gmock-devel diffutils cmake gcc-c++ yajl-devel patch make libtool libevent-devel libevhtp-devel grpc grpc-plugins grpc-devel protobuf-devel libcurl libcurl-devel sqlite-devel libarchive-devel device-mapper-devel http-parser-devel libseccomp-devel libcap-devel libselinux-devel libwebsockets libwebsockets-devel systemd-devel git chrpath
|
||
|
|
+if [ $? -ne 0 ]; then
|
||
|
|
+ echo "install dependences failed"
|
||
|
|
+ exit 1
|
||
|
|
+fi
|
||
|
|
|
||
|
|
# dnf install -y cargo rust rust-packaging
|
||
|
|
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|