Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
49 changes: 40 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,18 @@ commands:
module_path:
type: string
default: bin/linux-x64-release/rejson.so
profile_env:
type: string
default: "0"
benchmark_glob:
type: string
default: "*.yml"
triggering_env:
type: string
default: "circleci"
allowed_envs:
type: string
default: "oss-standalone"
steps:
- run:
name: Prepare automation
Expand All @@ -278,7 +290,9 @@ commands:
export AWS_SECRET_ACCESS_KEY=$PERFORMANCE_EC2_SECRET_KEY
export AWS_DEFAULT_REGION=$PERFORMANCE_EC2_REGION
export EC2_PRIVATE_PEM=$PERFORMANCE_EC2_PRIVATE_PEM

export PROFILE=<< parameters.profile_env >>
export BENCHMARK_GLOB=<< parameters.benchmark_glob >>
export PERF_CALLGRAPH_MODE="dwarf"
redisbench-admin run-remote \
--required-module ReJSON \
--module_path "$ROOT/<< parameters.module_path >>" \
Expand All @@ -288,8 +302,10 @@ commands:
--github_sha $CIRCLE_SHA1 \
--github_branch $CIRCLE_BRANCH \
--upload_results_s3 \
--triggering_env circleci \
--push_results_redistimeseries
--fail_fast \
--triggering_env << parameters.triggering_env >> \
--push_results_redistimeseries \
--allowed-envs << parameters.allowed_envs >>

#----------------------------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -442,12 +458,21 @@ jobs:
name: Run QA Tests
command: MODULE_VERSION=$CIRCLE_BRANCH VERBOSE=1 TEST=nightly QUICK=1 ./tests/qa/run

benchmarks:
benchmark-json-oss-standalone:
docker:
- image: redisfab/rmbuilder:6.2.5-x64-bionic
steps:
- build-steps
- benchmark-steps
benchmark-json-oss-standalone-profiler:
docker:
- image: redisfab/rmbuilder:6.2.5-x64-bionic
steps:
- build-steps
- benchmark-steps:
profile_env: "1"
triggering_env: "circleci.profilers" # results generated with profilers attached are not mixed with the ones without it


#----------------------------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -532,7 +557,7 @@ workflows:
context: common
matrix:
parameters:
platform: [focal, bionic, xenial, ol8, centos7, bullseye]
platform: [focal, bionic, xenial, rocky8, centos7, bullseye]
- build-arm-platforms:
<<: *on-integ-and-version-tags
context: common
Expand All @@ -550,9 +575,6 @@ workflows:
matrix:
parameters:
san-type: [address] # [address, memory]
- benchmarks:
context: common
<<: *on-integ-and-version-tags
- upload-artifacts:
name: upload-artifacts-to-staging-lab
staging-lab: "1"
Expand All @@ -575,6 +597,13 @@ workflows:
<<: *on-version-tags
requires:
- upload-release-artifacts
- benchmark-json-oss-standalone:
<<: *on-integ-and-version-tags
context: common
- benchmark-json-oss-standalone-profiler:
<<: *on-integ-and-version-tags
context: common


nightly:
triggers:
Expand All @@ -592,5 +621,7 @@ workflows:
matrix:
parameters:
redis_version: ["6.0", "6.2"]
- benchmarks:
- benchmark-json-oss-standalone:
context: common
- benchmark-json-oss-standalone-profiler:
context: common
87 changes: 40 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["edition2021"]

[package]
name = "redisjson"
version = "2.0.7"
version = "2.0.8"
authors = ["Guy Korland <guy.korland@redis.com>", "Meir Shpilraien <meir@redis.com>", "Omer Shadmi <omer.shadmi@redis.com>"]
edition = "2021"
description = "JSON data type for Redis"
Expand Down
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,6 @@ coverage:

#----------------------------------------------------------------------------------------------

docker:
$(SHOW)make -C build/platforms build

docker_push:
$(SHOW)make -C build/platforms publish

.PHONY: docker docker_push

#----------------------------------------------------------------------------------------------

docker:
$(SHOW)$(MAKE) -C build/docker
ifeq ($(PUBLISH),1)
Expand Down
2 changes: 1 addition & 1 deletion deps/readies
Loading