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
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ commands:
command: |
git submodule update --init deps/readies
./deps/readies/bin/getpy3
python3 -m pip install awscli

install-prerequisites:
parameters:
Expand All @@ -66,15 +67,17 @@ commands:
getredis_params:
type: string
default: ""
system_setup_params:
type: string
default: ""
steps:
- setup-automation
- run:
name: System setup
shell: /bin/bash -l -eo pipefail
command: |
python3 -m pip list -v
./sbin/system-setup.py
python3 -m pip list -v
./sbin/system-setup.py <<parameters.system_setup_params>>
python3 -m pip list
source $HOME/.cargo/env
rustc --version
cargo --version
Expand Down Expand Up @@ -359,7 +362,7 @@ jobs:

coverage:
docker:
- image: redisfab/rmbuilder:6.2.5-x64-bullseye
- image: redisfab/rmbuilder:6.2.5-x64-bionic
steps:
- early-returns
- checkout-all
Expand Down Expand Up @@ -431,6 +434,8 @@ jobs:
docker:
- image: redisfab/rmbuilder:6.2.5-x64-bullseye
steps:
- early-returns
- early-return-for-forked-pull-requests
- checkout
- setup-automation
- run:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ else
$(SHOW)set -e ;\
export RUSTFLAGS="$(RUST_FLAGS)" ;\
export RUSTDOCFLAGS="$(RUST_DOCFLAGS)" ;\
cargo ${CARGO_TOOLCHAIN} build --target $(RUST_TARGET) $(CARGO_FLAGS)
cargo $(CARGO_TOOLCHAIN) build --target $(RUST_TARGET) $(CARGO_FLAGS)
endif
$(SHOW)cp $(TARGET_DIR)/librejson.$(RUST_SOEXT.$(OS)) $(TARGET)
ifneq ($(DEBUG),1)
Expand Down
2 changes: 0 additions & 2 deletions sbin/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ SYM=${SYM:-1}
mkdir -p $ARTDIR $ARTDIR/snapshots
ARTDIR=$(cd $ARTDIR && pwd)

. $READIES/bin/enable-utf8

export ARCH=$($READIES/bin/platform --arch)
export OS=$($READIES/bin/platform --os)
export OSNICK=$($READIES/bin/platform --osnick)
Expand Down
3 changes: 1 addition & 2 deletions sbin/system-setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def common_first(self):

if self.osnick == 'ol8':
self.install("tar")
if not self.has_command("clang"):
self.run("%s/bin/getclang --modern" % READIES)
self.run("%s/bin/getclang --modern" % READIES)
if not self.has_command("rustc"):
self.run("%s/bin/getrust" % READIES)
self.run("%s/bin/getcmake --usr" % READIES)
Expand Down
3 changes: 1 addition & 2 deletions tests/qa/qatests
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ class Test:
@click.option('--nop', is_flag=True, default=False, help='Dry run')
@click.option('--verbose', '-v', is_flag=True, default=False, help='Be verbose')
@click.option('--verbosity', type=int, default=0, help='Verbosity level')
def main(token, test, modver, snapshot, rsver, osnick, common, quick, nop, verbose, verbosity, *args, **kwargs):
BB()
def main(token, test, modver, snapshot, rsver, osnick, quick, nop, verbose, verbosity, *args, **kwargs):
global NOP, VERBOSE
VERBOSE = 1 if verbose else verbosity
NOP = nop
Expand Down