mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
Bazel ami.push targets were missing the file and pointing at wrong location ## Test plan Tested manually on buildkite agent by @jhchabran 
33 lines
667 B
Python
33 lines
667 B
Python
sh_binary(
|
|
name = "ami.build",
|
|
srcs = [
|
|
"_ami.build.sh",
|
|
],
|
|
args = [
|
|
"$(location //dev/tools:gcloud)",
|
|
"$(location //dev/tools:packer)",
|
|
],
|
|
data = [
|
|
"aws_regions.json",
|
|
"docker-mirror.pkr.hcl",
|
|
"install.sh",
|
|
"//dev/tools:gcloud",
|
|
"//dev/tools:packer",
|
|
],
|
|
)
|
|
|
|
sh_binary(
|
|
name = "ami.push",
|
|
srcs = [
|
|
"_ami.push.sh",
|
|
],
|
|
args = [
|
|
"$(location //dev/tools:gcloud)",
|
|
],
|
|
data = [
|
|
"aws_regions.json",
|
|
# aws-cli is baked in the agents, because it's not that easy to get Bazel to install it.
|
|
"//dev/tools:gcloud",
|
|
],
|
|
)
|