-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathBUILD.bazel
37 lines (34 loc) · 1.72 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
load("@rules_oci//oci:defs.bzl", "oci_image", "oci_push", "oci_tarball", "oci_image_index")
load("@bazel_gazelle//:def.bzl", "gazelle")
gazelle(name = "gazelle")
exports_files(["config.json"])
go_library(
name = "go_default_library",
srcs = [
"server.go",
],
importpath = "github.com/salrashid123/gce_metadata_server",
visibility = ["//visibility:public"],
deps = [
"@org_golang_x_oauth2//:go_default_library",
"@org_golang_x_oauth2//google:go_default_library",
"@org_golang_google_api//idtoken:go_default_library",
"@org_golang_google_api//impersonate:go_default_library",
"@com_github_google_go_tpm//tpm2:go_default_library",
"@com_github_google_go_tpm//tpm2/transport:go_default_library",
"@com_google_cloud_go_iam//credentials/apiv1:go_default_library",
"@com_google_cloud_go_iam//credentials/apiv1/credentialspb:go_default_library",
"@com_github_salrashid123_golang_jwt_tpm//:go_default_library",
"@com_github_salrashid123_oauth2_tpm//:go_default_library",
"@com_github_golang_jwt_jwt_v5//:go_default_library",
"@com_github_golang_glog//:go_default_library",
"@com_github_gorilla_mux//:go_default_library",
"@org_golang_x_net//http2:go_default_library",
"@org_golang_google_api//option:go_default_library",
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promhttp:go_default_library",
],
)