{"id":16848344,"url":"https://github.com/endocrimes/setup-nomad","last_synced_at":"2025-04-05T10:42:35.128Z","repository":{"id":146869490,"uuid":"595208593","full_name":"endocrimes/setup-nomad","owner":"endocrimes","description":"A GitHub Action to install HashiCorp's Nomad.","archived":false,"fork":false,"pushed_at":"2024-03-16T22:53:03.000Z","size":1996,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T21:37:14.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/endocrimes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-30T16:10:54.000Z","updated_at":"2023-01-30T16:12:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"1dc51371-4151-4520-8992-e86b47776e27","html_url":"https://github.com/endocrimes/setup-nomad","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endocrimes%2Fsetup-nomad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endocrimes%2Fsetup-nomad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endocrimes%2Fsetup-nomad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endocrimes%2Fsetup-nomad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endocrimes","download_url":"https://codeload.github.com/endocrimes/setup-nomad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325645,"owners_count":20920713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T13:10:56.367Z","updated_at":"2025-04-05T10:42:35.109Z","avatar_url":"https://github.com/endocrimes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: setup-nomad\n\nThe `endocrimes/setup-nomad` Action sets up the `nomad` CLI in your GitHub Actions workflow by adding the binary to `PATH`.\n\n## Usage\n\n1.) Create GitHub Actions Secrets\n\n- Set the `NOMAD_ADDR` to the IP-address or hostname of a Nomad cluster that is routable for GitHub Actions Runners.\n- Set the `NOMAD_TOKEN` to a token with appropriate permissions to carry out action-specific operations on a Nomad cluster.\n\n\u003e **Warning**\n\u003e Running services such as Nomad on a publicly accessible port without authentication is a terrible idea.\n\n\n2.) Create a GitHub Actions Workflow file (e.g.: `.github/workflows/nomad.yml`):\n\n```yaml\nname: nomad\n\non:\n  - push\n\njobs:\n  nomad:\n    runs-on: ubuntu-latest\n    name: Run Nomad\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Setup `nomad-pack`\n        uses: endocrimes/setup-nomad@main\n        id: setup\n        with:\n          version: \"1.4.0\" # or `latest`\n\n      - name: Run `nomad status`\n        id: info\n        run: \"nomad status\"\n```\n\n## Inputs\n\nThis section contains a list of all inputs that may be set for this Action.\n\n- `version` - (required) The version of `nomad` to install. Supports [semver](https://www.npmjs.com/package/semver) versioning. Defaults to `latest`.\n\n## Outputs\n\nThis section contains a list of all outputs that can be consumed from this Action.\n\n- `version` -  The version of `nomad` that was installed.\n\n## Author Information\n\nThe original code of this repository is based on work done by [Matthew Sanabria](https://github.com/sudomateo) as part of the [setup-packer](https://github.com/sudomateo/setup-packer) GitHub Action and the contributors of the [setup-nomad-pack](https://github.com/hashicorp/setup-nomad-pack) action.\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\").\n\nYou may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _\"AS IS\"_ basis, without WARRANTIES or conditions of any kind, either express or implied.\n\nSee the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendocrimes%2Fsetup-nomad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendocrimes%2Fsetup-nomad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendocrimes%2Fsetup-nomad/lists"}