{"id":13785635,"url":"https://github.com/smintz/nomadgen","last_synced_at":"2026-01-14T07:18:53.623Z","repository":{"id":57446583,"uuid":"83566325","full_name":"smintz/nomadgen","owner":"smintz","description":"Configuration util in python syntax for Hashicorp's Nomad","archived":false,"fork":false,"pushed_at":"2025-06-20T04:36:16.000Z","size":104,"stargazers_count":23,"open_issues_count":15,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-24T08:13:15.630Z","etag":null,"topics":["hcl","nomad","python","thrift"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smintz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-01T14:54:58.000Z","updated_at":"2025-03-09T07:55:06.000Z","dependencies_parsed_at":"2024-08-03T19:05:04.413Z","dependency_job_id":"cd921c9a-c759-483d-809b-05fa4c9fdcf7","html_url":"https://github.com/smintz/nomadgen","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/smintz/nomadgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smintz%2Fnomadgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smintz%2Fnomadgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smintz%2Fnomadgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smintz%2Fnomadgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smintz","download_url":"https://codeload.github.com/smintz/nomadgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smintz%2Fnomadgen/sbom","scorecard":{"id":833477,"data":{"date":"2025-08-11","repo":{"name":"github.com/smintz/nomadgen","commit":"11f43b57d401545fc553ab6fcf99e9586972db9c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.1.0-beta7 not signed: https://api.github.com/repos/smintz/nomadgen/releases/14569772","Warn: release artifact v0.1.0-beta6 not signed: https://api.github.com/repos/smintz/nomadgen/releases/14560384","Warn: release artifact v0.1.0-beta7 does not have provenance: https://api.github.com/repos/smintz/nomadgen/releases/14569772","Warn: release artifact v0.1.0-beta6 does not have provenance: https://api.github.com/repos/smintz/nomadgen/releases/14560384"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: pipCommand not pinned by hash: .travis/runner.sh:8","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3rq5-2g8h-59hc","Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T18:22:04.530Z","repository_id":57446583,"created_at":"2025-08-23T18:22:04.531Z","updated_at":"2025-08-23T18:22:04.531Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28412826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hcl","nomad","python","thrift"],"created_at":"2024-08-03T19:01:02.811Z","updated_at":"2026-01-14T07:18:53.608Z","avatar_url":"https://github.com/smintz.png","language":"Python","funding_links":[],"categories":["DevOps tools"],"sub_categories":[],"readme":"# nomadgen\n\nCraft your [Hashicorp's Nomad](https://nomadproject.io) job specs in python.\n\nStill under development.\n\n### Motivation\n\nNomad is a great job/task scheduler but HCL is pretty limited. This tool will allow you to easily create job specs in python. Its heavily inspired by Facebook's [configerator](http://muratbuffalo.blogspot.co.il/2016/02/holistic-configuration-management-at.html).\n\n### Install and run\n 1. `pip install nomadgen`\n 2. See JSON output: `python jobspec.py`\n 3. Apply to Nomad: `python jobspec.py --run`\n\n### Examples\n\n * [Redis](https://github.com/smintz/nomadgen/blob/master/examples/redis.py) - See how to use same basic task spec config with different drivers (Docker, rkt, qemu).\n * [Hashiapp](https://github.com/smintz/nomadgen/blob/master/examples/hashiapp.py) - Blue/Green deployments made easy.\n * [periodic](https://github.com/smintz/nomadgen/blob/master/examples/periodic.py) - Periodic task example.\n * [common/resources](https://github.com/smintz/nomadgen/blob/master/examples/common/resources.py) - How to simplfy your API even better.\n\n## Contribute:\n\n 1. Clone the repo\n 1. Install the thrift compiler\n```\nsudo apt-get install thrift-compiler\n```\n 1. Install requirements\n```\n  sudo pip install -r requirements.txt\n```\n 1. Build and install locally\n```\n  make\n```\n 1. Run the examples/hashiapp.py to validate output\n```\n  VAULT_TOKEN=\"\u003ca vault token\u003e\" python examples/hashiapp.py\n```\n 1. Run examples/hashiapp.py against nomad agent to run it\n```\n  VAULT_TOKEN=\"\u003ca vault token\u003e\" python examples/hashiapp.py --run\n```\n\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmintz%2Fnomadgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmintz%2Fnomadgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmintz%2Fnomadgen/lists"}