Skip to content

Commit

Permalink
Add the hability to override GIT_REPO and GIT_ORG (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecosta90 authored May 9, 2022
1 parent a718ba8 commit 8ac448c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "redisbench-admin"
version = "0.8.6"
version = "0.8.7"
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
authors = ["filipecosta90 <filipecosta.90@gmail.com>","Redis Performance Group <performance@redis.com>"]
readme = "README.md"
Expand Down
6 changes: 4 additions & 2 deletions redisbench_admin/run/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
PUSH_S3 = bool(os.getenv("PUSH_S3", False))
FAIL_FAST = bool(int(os.getenv("FAIL_FAST", 0)))
PROFILERS_DSO = os.getenv("PROFILERS_DSO", None)
GIT_ORG = os.getenv("GIT_ORG", None)
GIT_REPO = os.getenv("GIT_REPO", None)
PROFILERS_ENABLED = bool(int(os.getenv("PROFILE", 0)))
PROFILERS = os.getenv("PROFILERS", PROFILERS_DEFAULT)
MAX_PROFILERS_PER_TYPE = int(os.getenv("MAX_PROFILERS", 1))
Expand Down Expand Up @@ -86,8 +88,8 @@ def common_run_args(parser):
help="specify the defaults file containing spec topologies, common metric extractions,etc...",
)
parser.add_argument("--github_actor", type=str, default=None, nargs="?", const="")
parser.add_argument("--github_repo", type=str, default=None)
parser.add_argument("--github_org", type=str, default=None)
parser.add_argument("--github_repo", type=str, default=GIT_REPO)
parser.add_argument("--github_org", type=str, default=GIT_ORG)
parser.add_argument("--github_sha", type=str, default=None, nargs="?", const="")
parser.add_argument(
"--required-module",
Expand Down

0 comments on commit 8ac448c

Please sign in to comment.