Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/update rules_python and pkg_tar #202

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .bazelignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pkg/dep
**/*.bazel_ignore
.bazelignore
.bazel_ignore
node_modules
ci_output
vendor/github.com/grpc-ecosystem/grpc-gateway
18 changes: 13 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,22 @@ http_archive(
)

# --start python--
load("//wrksp:python_download.bzl", "python_download")
# --end python--

python_download()
# Start rules_pkg (for pkg_tar in rules_resf/internal/container:container.bzl)
http_archive(
name = "rules_pkg",
sha256 = "d20c951960ed77cb7b341c2a59488534e494d5ad1d30c4818c736d57772a9fef",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
"https://github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
],
)

load("//wrksp:python_deps.bzl", "python_deps")
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")

python_deps()
# --end python--
rules_pkg_dependencies()
# End rules_pkg

http_archive(
name = "com_google_protobuf",
Expand Down
2 changes: 1 addition & 1 deletion rules_resf/internal/container/container.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_layer", "container_push")
load("@io_bazel_rules_docker//nodejs:image.bzl", "nodejs_image")

Expand Down
54 changes: 27 additions & 27 deletions vendor/bazel.build/protobuf/build.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions vendor/github.com/hashicorp/hcl/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 18 additions & 18 deletions vendor/github.com/hashicorp/hcl/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions wrksp/python_deps.bzl

This file was deleted.

8 changes: 0 additions & 8 deletions wrksp/python_download.bzl

This file was deleted.