2020-08-15 13:14:24 -07:00
|
|
|
# protos
|
|
|
|
|
|
|
|
local_resource(
|
|
|
|
name = "proto-gen",
|
|
|
|
deps = "proto/*",
|
|
|
|
cmd = "./generate.sh",
|
|
|
|
)
|
|
|
|
|
|
|
|
# bridge
|
|
|
|
|
|
|
|
docker_build(
|
|
|
|
ref = "guardiand-image",
|
|
|
|
context = "bridge",
|
|
|
|
dockerfile = "bridge/Dockerfile",
|
|
|
|
)
|
|
|
|
|
|
|
|
k8s_yaml("devnet/bridge.yaml")
|
|
|
|
|
|
|
|
k8s_resource("guardian")
|
|
|
|
|
2020-08-15 14:54:44 -07:00
|
|
|
# solana smart contract components
|
2020-08-15 13:14:24 -07:00
|
|
|
|
|
|
|
docker_build(
|
|
|
|
ref = "solana-agent",
|
|
|
|
context = ".",
|
|
|
|
only = ["./proto", "./solana"],
|
|
|
|
dockerfile = "Dockerfile.agent",
|
|
|
|
)
|
2020-08-15 14:54:44 -07:00
|
|
|
|
|
|
|
# solana local devnet
|
|
|
|
|
|
|
|
docker_build(
|
|
|
|
ref = "solana-devnet",
|
|
|
|
context = "third_party/solana",
|
|
|
|
dockerfile = "third_party/solana/Dockerfile",
|
|
|
|
)
|
|
|
|
|
|
|
|
k8s_yaml("devnet/solana-devnet.yaml")
|
|
|
|
|
|
|
|
k8s_resource("solana-devnet")
|