Serge Bazanski | 5de0b32 | 2021-03-20 12:04:26 +0000 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "remote-cache_lib", |
Serge Bazanski | 5de0b32 | 2021-03-20 12:04:26 +0000 | [diff] [blame] | 5 | srcs = [ |
| 6 | "main.go", |
| 7 | "service.go", |
| 8 | ], |
| 9 | importpath = "code.hackerspace.pl/hscloud/devtools/ci/remote-cache", |
| 10 | visibility = ["//visibility:private"], |
| 11 | deps = [ |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 12 | "//go/mirko", |
| 13 | "@com_github_golang_glog//:glog", |
| 14 | "@com_github_minio_minio_go_v7//:minio-go", |
| 15 | "@com_github_minio_minio_go_v7//pkg/credentials", |
Serge Bazanski | 5de0b32 | 2021-03-20 12:04:26 +0000 | [diff] [blame] | 16 | ], |
| 17 | ) |
| 18 | |
| 19 | go_binary( |
| 20 | name = "remote-cache", |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 21 | embed = [":remote-cache_lib"], |
Serge Bazanski | 5de0b32 | 2021-03-20 12:04:26 +0000 | [diff] [blame] | 22 | visibility = ["//visibility:public"], |
| 23 | ) |