Last active
May 24, 2017 19:57
-
-
Save lrvick/47304a2c001c69b9b838cc80dbc80a41 to your computer and use it in GitHub Desktop.
Non working go project with bazel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> bazel build @com_github_tommyulfsparre_aurora_exporter//:com_github_tommyulfsparre_aurora_exporter | |
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing. | |
ERROR: no such package '@com_github_tommyulfsparre_aurora_exporter//': no such package '@io_bazel_rules_go_repository_tools//': Traceback (most recent call last): | |
File "/home/lrvick/.cache/bazel/_bazel_lrvick/e1aa1e38237457e93db6c84c5a195c30/external/io_bazel_rules_go/go/private/go_repositories.bzl", line 85 | |
_fetch_repository_tools_deps(ctx, goroot, gopath) | |
File "/home/lrvick/.cache/bazel/_bazel_lrvick/e1aa1e38237457e93db6c84c5a195c30/external/io_bazel_rules_go/go/private/go_repositories.bzl", line 52, in _fetch_repository_tools_deps | |
ctx.download(url = '%s/archive/%s.tar.gz' % (...), ...) | |
Parameter 'url' has no default value (in function download(string url, string output) of repository_ctx). | |
INFO: Elapsed time: 11.573s | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_repository( | |
name = "io_bazel_rules_go", | |
remote = "https://github.com/bazelbuild/rules_go.git", | |
tag = "0.4.4", | |
) | |
load( | |
"@io_bazel_rules_go//go:def.bzl", | |
"go_repositories", | |
"new_go_repository", | |
) | |
go_repositories() | |
new_go_repository( | |
name = "com_github_tommyulfsparre_aurora_exporter", | |
commit = "03468210b836295d982df2881c61a534ef158fc2", # Jan 26, 2016 (no releases) | |
importpath = "github.com/tommyulfsparre/aurora_exporter", | |
) | |
new_go_repository( | |
name = "com_github_golang_glog", | |
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998", | |
importpath = "github.com/golang/glog", | |
) | |
new_go_repository( | |
name = "com_github_golang_protobuf", | |
commit = "4bd1920723d7b7c925de087aa32e2187708897f7", | |
importpath = "github.com/golang/protobuf", | |
) | |
new_go_repository( | |
name = "com_github_prometheus_client_golang", | |
commit = "c5b7fccd204277076155f10851dad72b76a49317", | |
importpath = "github.com/prometheus/client_golang", | |
) | |
new_go_repository( | |
name = "com_github_samuel_go_zookeeper", | |
commit = "1d7be4effb13d2d908342d349d71a284a7542693", | |
importpath = "github.com/samuel/go-zookeeper", | |
) | |
new_go_repository( | |
name = "com_github_beorn7_perks", | |
commit = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9", # Aug 4, 2016 (no releases) | |
importpath = "github.com/beorn7/perks", | |
) | |
new_go_repository( | |
name = "com_github_prometheus_procfs", | |
commit = "1878d9fbb537119d24b21ca07effd591627cd160", # Jan 28, 2017 (no releases) | |
importpath = "github.com/prometheus/procfs", | |
) | |
new_go_repository( | |
name = "com_github_prometheus_common", | |
commit = "dd2f054febf4a6c00f2343686efb775948a8bff4", # Jan 8, 2017 (no releases) | |
importpath = "github.com/prometheus/common", | |
) | |
new_go_repository( | |
name = "com_github_prometheus_client_model", | |
commit = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6", # Feb 12, 2015 (only release too old) | |
importpath = "github.com/prometheus/client_model", | |
) | |
new_go_repository( | |
name = "com_github_matttproud_golang_protobuf_extensions", | |
commit = "c12348ce28de40eed0136aa2b644d0ee0650e56c", # Apr 24, 2016 (v1.0.0) | |
importpath = "github.com/matttproud/golang_protobuf_extensions", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment