Skip to content

Commit

Permalink
fix: 升级redis安全版本
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Oct 15, 2024
1 parent 4148de7 commit b6587a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pipeline {
env.REVISION = "${REVISION}"
echo "REVISION=${REVISION}"
}

script {
for (int i=0;i<10;i++) {
try {
Expand Down Expand Up @@ -227,7 +227,7 @@ pipeline {
sed -i -e "s#MS_IMAGE_TAG=.*#MS_IMAGE_TAG=${RELEASE}#g" install.conf
sed -i -e "s#MS_IMAGE_PREFIX=.*#MS_IMAGE_PREFIX=${IMAGE_PREFIX}#g" install.conf
sed -i -e "s#MS_JMETER_IMAGE=.*#MS_JMETER_IMAGE=\\\${MS_IMAGE_PREFIX}/jmeter-master:${JMETER_TAG}#g" install.conf
echo ${RELEASE} > ./metersphere/version
echo ${RELEASE} > ./metersphere/version
'''
}
}
Expand All @@ -242,7 +242,7 @@ pipeline {
}
steps {
dir('installer') {
sh '''
sh '''
#打包在线包
touch metersphere-online-installer-${RELEASE}.tar.gz
tar --transform "s/^\\./metersphere-online-installer-${RELEASE}/" \\
Expand Down Expand Up @@ -277,7 +277,7 @@ pipeline {
}
}
}
}
}
stage('Package Offline-install') {
when { tag pattern: "^v.*", comparator: "REGEXP" }
steps {
Expand All @@ -286,7 +286,7 @@ pipeline {
def images = ['jmeter-master:${JMETER_TAG}',
'kafka:3.7.0',
'mysql:8.0.35',
'redis:6.2.6',
'redis:7.2.5-alpine',
'minio:RELEASE.2023-04-13T03-08-07Z',
'prometheus:v2.42.0',
'node-chromium:4.10.0',
Expand Down Expand Up @@ -329,7 +329,7 @@ pipeline {
${IMAGE_PREFIX}/jmeter-master:${JMETER_TAG} \\
${IMAGE_PREFIX}/kafka:3.7.0 \\
${IMAGE_PREFIX}/mysql:8.0.35 \\
${IMAGE_PREFIX}/redis:6.2.6 \\
${IMAGE_PREFIX}/redis:7.2.5-alpine \\
${IMAGE_PREFIX}/minio:RELEASE.2023-04-13T03-08-07Z \\
${IMAGE_PREFIX}/prometheus:v2.42.0 \\
${IMAGE_PREFIX}/node-firefox:4.10.0 \\
Expand Down Expand Up @@ -409,4 +409,4 @@ pipeline {
}
}
}
}
}
4 changes: 2 additions & 2 deletions metersphere/docker-compose-redis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2.1"
services:
redis:
image: ${MS_IMAGE_PREFIX}/redis:6.2.6
image: ${MS_IMAGE_PREFIX}/redis:7.2.5-alpine
container_name: redis
healthcheck:
test: ["CMD", "redis-cli", "ping"]
Expand Down Expand Up @@ -29,4 +29,4 @@ volumes:
driver_opts:
type: none
device: ${MS_BASE}/metersphere/data/redis
o: bind
o: bind

0 comments on commit b6587a8

Please sign in to comment.