Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Jan 11, 2021
1 parent a317ae3 commit 9e04637
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "rules_conda",
sha256 = "6c05d098ea82c172cd83d99c5fc892a488ffbf5f64ab3b2a32ab642c2a264e31",
url = "https://github.com/spietras/rules_conda/releases/download/0.0.4/rules_conda-0.0.4.zip"
sha256 = "8298379474beb05f815afc33a42eb1732f8ebdab3aa639569473eae75e6e072b",
url = "https://github.com/spietras/rules_conda/releases/download/0.0.5/rules_conda-0.0.5.zip"
)

load("@rules_conda//:defs.bzl", "load_conda", "conda_create", "register_toolchain")
Expand All @@ -34,6 +34,7 @@ conda_create(
name = "py2_env",
environment = "@//third_party/conda:py2_environment.yml", # label pointing to environment.yml file
quiet = False,
clean = True,
timeout = 600 # each execute action can take up to 600 seconds
)

Expand All @@ -42,6 +43,7 @@ conda_create(
name = "py3_env",
environment = "@//third_party/conda:py3_environment.yml", # label pointing to environment.yml file
quiet = False,
clean = True,
timeout = 600
)

Expand Down
6 changes: 4 additions & 2 deletions example/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ http_archive(
#)

RULES_CONDA_NAME = "rules_conda"
RULES_CONDA_TAG = "0.0.4"
RULES_CONDA_SHA = "6c05d098ea82c172cd83d99c5fc892a488ffbf5f64ab3b2a32ab642c2a264e31"
RULES_CONDA_TAG = "0.0.5"
RULES_CONDA_SHA = "8298379474beb05f815afc33a42eb1732f8ebdab3aa639569473eae75e6e072b"
RULES_CONDA_REPO = "spietras"
RULES_CONDA_ARCHIVE = "zip"
RULES_CONDA_URL = "https://github.com/{repo}/{name}/releases/download/{tag}/{name}-{tag}.{archive}".format(repo=RULES_CONDA_REPO, name=RULES_CONDA_NAME, tag=RULES_CONDA_TAG, archive=RULES_CONDA_ARCHIVE)
Expand All @@ -51,6 +51,7 @@ conda_create(
name = "py2_env",
environment = "@//third_party/conda:py2_environment.yml", # label pointing to environment.yml file
quiet = False,
clean = True,
timeout = 600 # each execute action can take up to 600 seconds
)

Expand All @@ -59,6 +60,7 @@ conda_create(
name = "py3_env",
environment = "@//third_party/conda:py3_environment.yml", # label pointing to environment.yml file
quiet = False,
clean = True,
timeout = 600
)

Expand Down

0 comments on commit 9e04637

Please sign in to comment.