mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Load variables into shell scripts (#5518)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
d5cd561449
commit
cc517570ab
1
build/ci/jenkins/Jenkinsfile
vendored
1
build/ci/jenkins/Jenkinsfile
vendored
@ -37,7 +37,6 @@ pipeline {
|
||||
environment {
|
||||
IMAGE_REPO = "dockerhub-mirror-sh.zilliz.cc/milvusdb"
|
||||
DOCKER_BUILDKIT = 1
|
||||
DOCKER_VOLUME_DIRECTORY = "/mnt/disk/.docker"
|
||||
ARTIFACTS = "${env.WORKSPACE}/artifacts"
|
||||
DOCKER_CREDENTIALS_ID = "ba070c98-c8cc-4f7c-b657-897715f359fc"
|
||||
DOKCER_REGISTRY_URL = "registry.zilliz.com"
|
||||
|
||||
@ -10,6 +10,8 @@ spec:
|
||||
env:
|
||||
- name: DOCKER_IN_DOCKER_ENABLED
|
||||
value: "true"
|
||||
- name: DOCKER_VOLUME_DIRECTORY
|
||||
value: "/mnt/disk/.docker"
|
||||
securityContext:
|
||||
privileged: true
|
||||
tty: true
|
||||
|
||||
@ -14,6 +14,7 @@ elif [[ -x "$(command -v yum)" ]]; then
|
||||
echo "source scl_source enable devtoolset-7" | sudo tee -a /etc/profile.d/devtoolset-7.sh
|
||||
echo "source scl_source enable llvm-toolset-7.0" | sudo tee -a /etc/profile.d/llvm-toolset-7.sh
|
||||
echo "export CLANG_TOOLS_PATH=/opt/rh/llvm-toolset-7.0/root/usr/bin" | sudo tee -a /etc/profile.d/llvm-toolset-7.sh
|
||||
source "/etc/profile.d/llvm-toolset-7.sh"
|
||||
else
|
||||
echo "Error Install Dependencies ..."
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user