This repository contains experiemential bazel rules for HashiCorp Nomad.
- Add the following snippet to your WORKSPACE file.
git_repository(
name = "rules_nomad",
remote = "https://github.com/kennethzfeng/rules_nomad",
commit = "<commit-hash>",
)
- Add a nomad_run targeet.
load("@rules_nomad//:nomad.bzl", "nomad_run")
nomad_run(
name = "HelloService_deploy",
job = "<target to the job file>",
)
Pull request is welcome.
MIT