Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
32c91ec4
Commit
32c91ec4
authored
Oct 20, 2023
by
illsilin
Browse files
add stunnel to redis
parent
b7c6350f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
Dockerfile
Dockerfile
+2
-0
Jenkinsfile
Jenkinsfile
+2
-0
script/redis-cli.conf
script/redis-cli.conf
+10
-0
No files found.
Dockerfile
View file @
32c91ec4
...
@@ -48,6 +48,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
...
@@ -48,6 +48,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
libnuma-dev
\
libnuma-dev
\
libpthread-stubs0-dev
\
libpthread-stubs0-dev
\
llvm-amdgpu
\
llvm-amdgpu
\
net-tools
\
pkg-config
\
pkg-config
\
python
\
python
\
python3
\
python3
\
...
@@ -55,6 +56,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
...
@@ -55,6 +56,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
python3-pip
\
python3-pip
\
redis
\
redis
\
sshpass
\
sshpass
\
stunnel
\
software-properties-common
\
software-properties-common
\
vim
\
vim
\
nano
\
nano
\
...
...
Jenkinsfile
View file @
32c91ec4
...
@@ -242,6 +242,8 @@ def cmake_build(Map conf=[:]){
...
@@ -242,6 +242,8 @@ def cmake_build(Map conf=[:]){
export SCCACHE_BIN=/usr/local/.cargo/bin/sccache
export SCCACHE_BIN=/usr/local/.cargo/bin/sccache
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
export SCCACHE_REDIS="redis://${env.CK_SCCACHE}"
export SCCACHE_REDIS="redis://${env.CK_SCCACHE}"
echo "connect = ${env.CK_SCCACHE}" >> ../script/redis-cli.conf
stunnel ../script/redis-cli.conf
../script/sccache_wrapper.sh --enforce_redis
../script/sccache_wrapper.sh --enforce_redis
fi
fi
"""
"""
...
...
script/redis-cli.conf
0 → 100644
View file @
32c91ec4
fips
=
no
setuid
=
root
setgid
=
root
pid
= /
var
/
run
/
stunnel
.
pid
debug
=
7
options
=
NO_SSLv2
options
=
NO_SSLv3
[
redis
-
cli
]
client
=
yes
accept
=
127
.
0
.
0
.
1
:
6379
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment