{"id":37196024,"url":"https://github.com/loq9/drone-nomad","last_synced_at":"2026-01-14T22:48:13.962Z","repository":{"id":36915562,"uuid":"213217401","full_name":"LOQ9/drone-nomad","owner":"LOQ9","description":"Drone plugin for deployment with Nomad","archived":false,"fork":false,"pushed_at":"2024-03-12T20:11:05.000Z","size":49,"stargazers_count":26,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T00:33:29.256Z","etag":null,"topics":["drone","go","nomad"],"latest_commit_sha":null,"homepage":"","language":"Go","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/LOQ9.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}},"created_at":"2019-10-06T18:01:02.000Z","updated_at":"2024-03-12T23:32:13.000Z","dependencies_parsed_at":"2024-03-12T21:26:29.866Z","dependency_job_id":"b3210fd4-303d-4baa-8649-27927b054919","html_url":"https://github.com/LOQ9/drone-nomad","commit_stats":{"total_commits":44,"total_committers":9,"mean_commits":4.888888888888889,"dds":0.6136363636363636,"last_synced_commit":"c9ebd11832923aace93dfaae6b725eeae37c0129"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LOQ9/drone-nomad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOQ9%2Fdrone-nomad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOQ9%2Fdrone-nomad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOQ9%2Fdrone-nomad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOQ9%2Fdrone-nomad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LOQ9","download_url":"https://codeload.github.com/LOQ9/drone-nomad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LOQ9%2Fdrone-nomad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":["drone","go","nomad"],"created_at":"2026-01-14T22:48:13.427Z","updated_at":"2026-01-14T22:48:13.957Z","avatar_url":"https://github.com/LOQ9.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drone-nomad\n\nDrone plugin for deployment with Nomad\n\n![Docker Pulls](https://img.shields.io/docker/pulls/loq9/drone-nomad?label=drone-nomad)\n\n## Build\n\nBuild the binary with the following command:\n\n```console\nexport GOOS=linux\nexport GOARCH=amd64\nexport CGO_ENABLED=0\nexport GO111MODULE=on\n\ngo build -v -a -tags netgo -o build/linux/amd64/drone-nomad\n```\n\n## Docker\n\nBuild the Docker image with the following command:\n\n```console\nmake docker\n```\n\n## Usage\n\n```console\ndocker run --rm \\\n  -v $(pwd):$(pwd) \\\n  -w $(pwd) \\\n  plugins/drone-nomad\n```\n\n## Template Variables\n\nThe following variables could be configured on a nomad template with the following syntax `${VAR_NAME}`.\n\n| Environment | Argument | Description |\n|---|---|---|\n| PLUGIN_ADDR | | nomad addr |\n| PLUGIN_CONSUL_TOKEN | | consul token |\n| PLUGIN_VAULT_TOKEN | | vault token |\n| PLUGIN_TOKEN | | nomad token |\n| PLUGIN_REGION | | nomad region |\n| PLUGIN_NAMESPACE | | nomad namespace |\n| PLUGIN_TEMPLATE | | nomad template |\n| PLUGIN_PRESERVE_COUNTS | | preserve task counts when deploying (bool) |\n| PLUGIN_WATCH_DEPLOYMENT | | trigger a deploy and wait till the deployment is complete (bool) |\n| PLUGIN_WATCH_DEPLOYMENT_TIMEOUT | | if watch deployment is enabled, wait up to this time duration for the deploy to finish. Errors on timeout. Default: \"5m\" (duration string) |\n| PLUGIN_TLS_CA_CERT | tls_ca_cert | nomad tls ca certificate file |\n| PLUGIN_TLS_CA_PATH | tls_ca_path | nomad tls ca certificate file path |\n| PLUGIN_TLS_CA_CERT_PEM | tls_ca_cert_pem | nomad tls ca certificate pem |\n| PLUGIN_TLS_CLIENT_CERT | tls_client_cert | nomad tls client certificate |\n| PLUGIN_TLS_CLIENT_CERT_PEM | tls_client_cert_pem | nomad tls client certificate pem |\n| PLUGIN_TLS_CLIENT_KEY | tls_client_key | nomad tls client private key |\n| PLUGIN_TLS_CLIENT_KEY_PEM | tls_client_key_pem | nomad tls client private key pem |\n| PLUGIN_TLS_SERVERNAME | tls_servername | nomad tls server name |\n| PLUGIN_TLS_INSECURE | tls_insecure | nomad tls insecure |\n| DRONE_REPO_OWNER | | repository owner |\n| DRONE_REPO_NAME | | repository name |\n| DRONE_COMMIT_SHA | | git commit sha |\n| DRONE_COMMIT_REF | | git commit ref |\n| DRONE_COMMIT_BRANCH | | git commit branch |\n| DRONE_COMMIT_AUTHOR | | git author name |\n| DRONE_COMMIT_MESSAGE | | commit message |\n| DRONE_BUILD_EVENT | | build event |\n| DRONE_BUILD_NUMBER | | build number |\n| DRONE_BUILD_PARENT | | build parent |\n| DRONE_BUILD_STATUS | | build status |\n| DRONE_BUILD_LINK | | build link |\n| DRONE_BUILD_STARTED | | build started |\n| DRONE_BUILD_CREATED | | build created |\n| DRONE_TAG | | build tag |\n| DRONE_JOB_STARTED | | job started |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floq9%2Fdrone-nomad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floq9%2Fdrone-nomad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floq9%2Fdrone-nomad/lists"}