mirror of https://github.com/milvus-io/milvus.git
Load variables into shell scripts (#5518)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/5517/head^2
parent
d5cd561449
commit
cc517570ab
|
@ -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…
Reference in New Issue