Skip to content

Commit 0ac5a6e

Browse files
authored
Redis 6 in builds (#353)
1 parent 8ff9f1d commit 0ac5a6e

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ commands:
1616
command: |
1717
./opt/readies/bin/getpy3
1818
BREW_NO_UPDATE=1 ./opt/system-setup.py
19-
# git clone git://github.com/antirez/redis.git --branch 5.0.7; (cd redis; make malloc=libc -j $(nproc); make install); redis-server --version
19+
# git clone git://github.com/antirez/redis.git --branch 6.0.1; (cd redis; make malloc=libc -j $(nproc); make install); redis-server --version
2020
./get_deps.sh cpu
2121
- save_cache:
2222
paths:
@@ -69,7 +69,7 @@ commands:
6969
jobs:
7070
build:
7171
docker:
72-
- image: redisfab/rmbuilder:5.0.7-x64-buster
72+
- image: redisfab/rmbuilder:6.0.1-x64-buster
7373
steps:
7474
- setup_steps:
7575
platform: debian
@@ -78,7 +78,7 @@ jobs:
7878

7979
coverage:
8080
docker:
81-
- image: redisfab/rmbuilder:5.0.7-x64-buster
81+
- image: redisfab/rmbuilder:6.0.1-x64-buster
8282
steps:
8383
- checkout
8484
- restore_cache:
@@ -90,7 +90,7 @@ jobs:
9090
command: |
9191
./opt/readies/bin/getpy3
9292
./opt/system-setup.py
93-
# git clone git://github.com/antirez/redis.git --branch 5.0.7; cd redis; make malloc=libc -j $(nproc); make install; redis-server --version
93+
# git clone git://github.com/antirez/redis.git --branch 6.0.1; cd redis; make malloc=libc -j $(nproc); make install; redis-server --version
9494
./get_deps.sh cpu
9595
- run:
9696
name: Set up workspace
@@ -172,7 +172,7 @@ jobs:
172172
package:
173173
type: string
174174
docker:
175-
- image: redisfab/rmbuilder:5.0.7-x64-buster
175+
- image: redisfab/rmbuilder:6.0.1-x64-buster
176176
steps:
177177
- attach_workspace:
178178
at: ~/workspace

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BUILD redisfab/redisai:${VERSION}-cpu-${ARCH}-${OSNICK}
22

3-
ARG REDIS_VER=5.0.8
3+
ARG REDIS_VER=6.0.1
44

55
# OSNICK=bionic|stretch|buster
66
ARG OSNICK=buster

Dockerfile.arm

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# BUILD redisfab/redisai-cpu-${OSNICK}:M.m.b-${ARCH}
1+
# BUILD redisfab/redisai:${VERSION}-cpu-${ARCH}-${OSNICK}
2+
3+
ARG REDIS_VER=6.0.1
24

35
# OSNICK=bionic|stretch|buster
46
ARG OSNICK=buster
@@ -10,7 +12,7 @@ ARG OS=debian:buster-slim
1012
ARG ARCH=arm64v8
1113

1214
#----------------------------------------------------------------------------------------------
13-
FROM redisfab/redis-${ARCH}-${OSNICK}-xbuild:5.0.5 AS builder
15+
FROM redisfab/redis-xbuild:${REDIS_VER}-${ARCH}-${OSNICK} AS builder
1416

1517
RUN [ "cross-build-start" ]
1618

@@ -39,7 +41,7 @@ RUN if [ "$TEST" = "1" ]; then make -C opt test $BUILD_ARGS NO_LFS=1; fi
3941
RUN [ "cross-build-end" ]
4042

4143
#----------------------------------------------------------------------------------------------
42-
FROM redisfab/redis-${ARCH}-${OSNICK}-xbuild:5.0.5
44+
FROM redisfab/redis-xbuild:${REDIS_VER}-${ARCH}-${OSNICK}
4345

4446
RUN [ "cross-build-start" ]
4547

Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BUILD redisfab/redisai:${VERSION}-gpu-${ARCH}-${OSNICK}
22

3-
ARG REDIS_VER=5.0.8
3+
ARG REDIS_VER=6.0.1
44

55
# OSNICK=bionic|centos7|centos6
66
ARG OSNICK=bionic

Dockerfile.gpu-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BUILD redisfab/redisai:${VERSION}-gpu-${ARCH}-${OSNICK}-test
22

3-
ARG REDIS_VER=5.0.8
3+
ARG REDIS_VER=6.0.1
44

55
# OSNICK=bionic|centos7|centos6
66
ARG OSNICK=bionic

opt/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ fetch deps:
173173
#----------------------------------------------------------------------------------------------
174174

175175
pack: $(INSTALLED_TARGET)
176+
$(SHOW)find $(INSTALL_DIR) -name "*.so" -exec chmod +x {} \;
176177
ifneq ($(PACK_DEPS),0)
177178
$(SHOW)DEVICE=$(DEVICE) BINDIR=$(BINROOT) INSTALL_DIR=$(INSTALL_DIR) BRANCH=$(BRANCH) INTO=$(INTO) DEPS=1 ./pack.sh
178179
else

0 commit comments

Comments
 (0)