Skip to content

Commit

Permalink
Fix e2e on RBE
Browse files Browse the repository at this point in the history
  • Loading branch information
purkhusid committed Nov 17, 2023
1 parent ecc507d commit 40d536a
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# NOTE: This file is only needed to get the Bazel CI RBE working

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
Expand Down
4 changes: 4 additions & 0 deletions e2e/net6.0/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ register_toolchains("@dotnet_toolchains//:all")

main_extension = use_extension("//:paket.main_extension.bzl", "main_extension")
use_repo(main_extension, "paket.main")

# This is only required because rules_cc is required for the Bazel CI RBE config
# If you are using the e2e tests as an example for your own project, you can remove this
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
20 changes: 20 additions & 0 deletions e2e/net6.0/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# NOTE: This file is only needed to get the Bazel CI RBE working

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "bazelci_rules",
sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
strip_prefix = "bazelci_rules-1.0.0",
url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)

load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")

# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
rbe_preconfig(
name = "buildkite_config",
toolchain = "ubuntu1804-bazel-java11",
)
4 changes: 4 additions & 0 deletions e2e/net7.0/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ register_toolchains("@dotnet_toolchains//:all")

main_extension = use_extension("//:paket.main_extension.bzl", "main_extension")
use_repo(main_extension, "paket.main")

# This is only required because rules_cc is required for the Bazel CI RBE config
# If you are using the e2e tests as an example for your own project, you can remove this
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
20 changes: 20 additions & 0 deletions e2e/net7.0/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# NOTE: This file is only needed to get the Bazel CI RBE working

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "bazelci_rules",
sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
strip_prefix = "bazelci_rules-1.0.0",
url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)

load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")

# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
rbe_preconfig(
name = "buildkite_config",
toolchain = "ubuntu1804-bazel-java11",
)
4 changes: 4 additions & 0 deletions e2e/net8.0/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ register_toolchains("@dotnet_toolchains//:all")

main_extension = use_extension("//:paket.main_extension.bzl", "main_extension")
use_repo(main_extension, "paket.main")

# This is only required because rules_cc is required for the Bazel CI RBE config
# If you are using the e2e tests as an example for your own project, you can remove this
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
20 changes: 20 additions & 0 deletions e2e/net8.0/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# NOTE: This file is only needed to get the Bazel CI RBE working

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "bazelci_rules",
sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
strip_prefix = "bazelci_rules-1.0.0",
url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)

load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")

# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
rbe_preconfig(
name = "buildkite_config",
toolchain = "ubuntu1804-bazel-java11",
)
4 changes: 4 additions & 0 deletions e2e/smoke/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ register_toolchains("@dotnet_toolchains//:all")

main_extension = use_extension("//:paket.main_extension.bzl", "main_extension")
use_repo(main_extension, "paket.main")

# This is only required because rules_cc is required for the Bazel CI RBE config
# If you are using the e2e tests as an example for your own project, you can remove this
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
20 changes: 20 additions & 0 deletions e2e/smoke/WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# NOTE: This file is only needed to get the Bazel CI RBE working

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "bazelci_rules",
sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
strip_prefix = "bazelci_rules-1.0.0",
url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
)

load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")

# Creates a default toolchain config for RBE.
# Use this as is if you are using the rbe_ubuntu16_04 container,
# otherwise refer to RBE docs.
rbe_preconfig(
name = "buildkite_config",
toolchain = "ubuntu1804-bazel-java11",
)

0 comments on commit 40d536a

Please sign in to comment.