Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d3594f1
initial changes
oshadmi Feb 15, 2021
038a0fb
initial changes
oshadmi Feb 15, 2021
93f038e
fix build with formater
gkorland Feb 15, 2021
1d00be0
WIP
oshadmi Feb 17, 2021
898f120
suspend keeping global c_void pointers
oshadmi Feb 18, 2021
b193036
WIP (trigger notification on set key)
oshadmi Mar 3, 2021
c5ae99b
WIP avoid crash in json.set
oshadmi Mar 7, 2021
8ad4fc2
WIP add get_json_path API
oshadmi Mar 11, 2021
241d8d0
Expose RedisJSON_V1 API
oshadmi Mar 15, 2021
7645684
WIP add getPath and initial getType API
oshadmi Mar 16, 2021
019a01e
WIP issue with key is borrowed here
oshadmi Mar 16, 2021
3e2861d
WIP Sync branch, add JSONApiPath, JSONApiKey
oshadmi Mar 17, 2021
b98a1d2
WIP Add JSONAPI_closePath
oshadmi Mar 17, 2021
f519f39
WIP Fix JSONAPI_getInfo
oshadmi Mar 18, 2021
98303fb
commit for visibility #unstable
oshadmi Mar 20, 2021
6023f84
commit for visibility
oshadmi Mar 21, 2021
a0f941f
Update rejson api
oshadmi Mar 21, 2021
7592885
WIP Fix getString len to exclude null character from count
oshadmi Mar 21, 2021
d70657d
WIP getAt for Object
oshadmi Mar 21, 2021
ae932d0
WIP Fix wrong keyspace notification argument
oshadmi Mar 21, 2021
51b43e5
WIP get redismodule-rs dependency from github (until updated in crate…
oshadmi Mar 21, 2021
c57be3c
remove Search dep (#288)
gkorland Mar 23, 2021
460c679
update version to 1.2
gkorland Mar 23, 2021
b4f3c80
WIP getDouble and getInteger can return also string representation
oshadmi Mar 24, 2021
a574819
WIP - getString for all scalars and getRedisModuleString (owned by re…
oshadmi Mar 24, 2021
c651b14
WIP - getString for all scalars (owned by rejson) and getRedisModuleS…
oshadmi Mar 24, 2021
65f246c
RedisJSON C API: initial commit
rafie Mar 25, 2021
c61b4c1
fixes 1
rafie Mar 26, 2021
996213e
fixes 2
rafie Mar 26, 2021
ce88786
fixes 3
rafie Mar 26, 2021
f9c192e
fixes 4
rafie Mar 27, 2021
280a870
fixes 5
rafie Mar 27, 2021
7e4f0b1
fixes 6
rafie Mar 27, 2021
2590d3a
fixes 7
rafie Mar 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 76 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ commands:
circleci step halt
fi

setup_executor:
steps:
- run:
name: Setup executor
command: |
apt-get -qq update
apt-get -q install -y git openssh-client curl ca-certificates make tar gzip
bash <(curl -fsSL https://get.docker.com)
- setup_remote_docker
# - setup_remote_docker:
# docker_layer_caching: true

setup-automation:
steps:
- run:
Expand All @@ -22,10 +34,42 @@ commands:
git submodule update --init deps/readies
./deps/readies/bin/getpy3

platforms_build_steps:
parameters:
platform:
type: string
steps:
- setup_executor
- checkout
- run:
name: Checkout submodules
command: |
git submodule update --init --recursive
- setup-automation
- run:
name: Build for platform
command: |
cd build/platforms
make build OSNICK=<<parameters.platform>> ARTIFACTS=0 TEST=1 SHOW=1
- early_return_for_forked_pull_requests
- run:
name: Build for platform (publish)
command: |
docker login -u redisfab -p $DOCKER_REDISFAB_PWD
cd build/platforms
make publish OSNICK=<<parameters.platform>> OFFICIAL=0 SHOW=1 VERBOSE=1
# - persist_to_workspace:
# root: bin/artifacts
# paths:
# - 'snapshots/*.zip'
# - 'snapshots/*.tgz'
# - '*.zip'
# - '*.tgz'

jobs:
build:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-centos7
- image: redisfab/rmbuilder:6.2.1-x64-centos7
steps:
- checkout
- run:
Expand All @@ -36,17 +80,13 @@ jobs:
command: |
./deps/readies/bin/getpy3
./system-setup.py
- run:
name: Install Redis
command: bash -l -c "./deps/readies/bin/getredis -v 6 --force"
- run:
name: Install Rust
command: |
./deps/readies/bin/getrust
source $HOME/.cargo/env
rustc --version
cargo --version
rustup --version
- run:
name: Install Redis
command: bash -l -c "./deps/readies/bin/getredis -v 6 --force"
- restore_cache:
keys:
- v2-dependencies-{{ arch }}-{{ checksum "Cargo.lock" }}
Expand Down Expand Up @@ -83,16 +123,26 @@ jobs:
- ramp.yml
- build

platforms_build:
parameters:
platform:
type: string
docker:
- image: debian:buster
steps:
- platforms_build_steps:
platform: <<parameters.platform>>

package_branch:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- attach_workspace:
at: /workspace
- run:
name: Package
command: |
ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.$CIRCLE_BRANCH.zip /workspace/$MODULE_ARTIFACT
python3 -m RAMP.ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.$CIRCLE_BRANCH.zip /workspace/$MODULE_ARTIFACT
- persist_to_workspace:
root: /workspace
paths:
Expand All @@ -102,18 +152,18 @@ jobs:

package_release:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- attach_workspace:
at: /workspace
- run:
name: Package
command: |
ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.{semantic_version}.zip /workspace/$MODULE_ARTIFACT
python3 -m RAMP.ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.{semantic_version}.zip /workspace/$MODULE_ARTIFACT
- run:
name: Package
command: |
ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.latest.zip /workspace/$MODULE_ARTIFACT
python3 -m RAMP.ramp pack -m /workspace/ramp.yml -o /workspace/build/$PACKAGE_NAME.{os}-{architecture}.latest.zip /workspace/$MODULE_ARTIFACT
- persist_to_workspace:
root: /workspace
paths:
Expand All @@ -123,7 +173,7 @@ jobs:

deploy_branch:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- attach_workspace:
at: /workspace
Expand All @@ -134,7 +184,7 @@ jobs:

deploy_release:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- attach_workspace:
at: /workspace
Expand All @@ -145,7 +195,7 @@ jobs:

release_automation:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- checkout
- setup-automation
Expand All @@ -155,7 +205,7 @@ jobs:

nightly_automation:
docker:
- image: redisfab/rmbuilder:6.0.9-x64-buster
- image: redisfab/rmbuilder:6.2.1-x64-buster
steps:
- checkout
- setup-automation
Expand Down Expand Up @@ -191,6 +241,7 @@ on-integ-branch: &on-integ-branch
only:
- master
- /^\d+\.\d+.*$/
- /^feature-.*$/
tags:
ignore: /.*/

Expand All @@ -200,6 +251,7 @@ not-on-integ-branch: &not-on-integ-branch
ignore:
- master
- /^\d+\.\d+.*$/
- /^feature-.*$/
tags:
ignore: /.*/

Expand All @@ -216,6 +268,7 @@ on-integ-and-version-tags: &on-integ-and-version-tags
only:
- master
- /^\d+\.\d+.*$/
- /^feature-.*$/
tags:
only: /^v[0-9].*/

Expand All @@ -225,7 +278,12 @@ workflows:
build_and_package:
jobs:
- build:
<<: *on-any-branch
<<: *not-on-integ-branch
- platforms_build:
<<: *on-integ-and-version-tags
matrix:
parameters:
platform: [focal, bionic, xenial, centos7]
- package_branch:
<<: *on-integ-branch
requires:
Expand Down
Loading