mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
Our git pre-push hook already prevents Nomad Enterprise code from getting pushed anywhere but its own repo. But this hook only works for files on the current worktree (checkout). Were you to fetch an Enterprise tag into your local Community Edition repo but not have it checked out, and then `git push --tags`, you'd push that tag and the associated commit history. Add tag filtering to the pre-push hook to prevent Enterprise tags (and the older `+pro` SKU) tags from getting pushed to the Community Edition repo.
The dev package provides helper configuration files for use when developing
Nomad itself.
See the individual packages for more detail on how to use the configuration files. At a high-level the use case for each package is as follows:
-
hooks: This package provides helpful git hooks for developing Nomad. -
docker-clients: This package provides a Nomad job file that can be used to spin up Nomad clients in Docker containers. This provides a simple mechanism to create a Nomad cluster locally. -
tls_cluster: This package provides Nomad client configs and certificates to run a TLS enabled cluster. -
vault: This package provides basic Vault configuration files for use in configuring a Vault server when testing Nomad and Vault integrations.