Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit eaabaf9

Browse files
author
Ganeshwara Hananda
committed
Fix release-validate-deps. Use a released @graknlabs_protocol
1 parent b7d96a5 commit eaabaf9

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

BUILD

+10-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ load("@graknlabs_bazel_distribution_pip//:requirements.bzl",
2828

2929
load("@graknlabs_bazel_distribution//github:rules.bzl", "deploy_github")
3030
load("@graknlabs_dependencies//distribution/artifact:rules.bzl", "artifact_extractor")
31-
31+
load("@graknlabs_dependencies//tool/release:rules.bzl", "release_validate_deps")
3232

3333
py_library(
3434
name = "client_python",
@@ -157,3 +157,12 @@ artifact_extractor(
157157
name = "grakn-extractor",
158158
artifact = "@graknlabs_grakn_core_artifact//file",
159159
)
160+
161+
release_validate_deps(
162+
name = "release-validate-deps",
163+
refs = "@graknlabs_client_python_workspace_refs//:refs.json",
164+
tagged_deps = [
165+
"@graknlabs_protocol",
166+
],
167+
tags = ["manual"] # in order for bazel test //... to not fail
168+
)

WORKSPACE

+21
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ workspace(name = "graknlabs_client_python")
2323
load("//dependencies/graknlabs:repositories.bzl", "graknlabs_dependencies")
2424
graknlabs_dependencies()
2525

26+
load("@graknlabs_dependencies//dependencies/maven:artifacts.bzl", graknlabs_dependencies_artifacts = "artifacts")
27+
2628
# Load Bazel
2729
load("@graknlabs_dependencies//builder/bazel:deps.bzl", "bazel_toolchain")
2830
bazel_toolchain()
@@ -39,6 +41,13 @@ load("@graknlabs_dependencies//builder/java:deps.bzl", java_deps = "deps")
3941
java_deps()
4042
load("@graknlabs_dependencies//library/maven:rules.bzl", "maven")
4143

44+
# Load Kotlin
45+
load("@graknlabs_dependencies//builder/kotlin:deps.bzl", kotlin_deps = "deps")
46+
kotlin_deps()
47+
load("@io_bazel_rules_kotlin//kotlin:kotlin.bzl", "kotlin_repositories", "kt_register_toolchains")
48+
kotlin_repositories()
49+
kt_register_toolchains()
50+
4251
# Load Python
4352
load("@graknlabs_dependencies//builder/python:deps.bzl", python_deps = "deps")
4453
python_deps()
@@ -107,3 +116,15 @@ pip3_import(
107116
load("@graknlabs_client_python_pip//:requirements.bzl",
108117
graknlabs_client_python_pip_install = "pip_install")
109118
graknlabs_client_python_pip_install()
119+
120+
###############
121+
# Load @maven #
122+
###############
123+
maven(graknlabs_dependencies_artifacts)
124+
125+
##################################################
126+
# Create @graknlabs_client_python_workspace_refs #
127+
##################################################
128+
129+
load("@graknlabs_bazel_distribution//common:rules.bzl", "workspace_refs")
130+
workspace_refs(name = "graknlabs_client_python_workspace_refs")

dependencies/graknlabs/repositories.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ def graknlabs_protocol():
3535
git_repository(
3636
name = "graknlabs_protocol",
3737
remote = "https://github.com/graknlabs/protocol",
38-
commit = "ae12f6c3829cd5304f3bb4ba865f5fcc10022738", # sync-marker: do not remove this comment, this is used for sync-dependencies by @graknlabs_protocol
38+
tag = "1.0.6" # sync-marker: do not remove this comment, this is used for sync-dependencies by @graknlabs_protocol
3939
)

0 commit comments

Comments
 (0)