{"id":18389754,"url":"https://github.com/danielwpz/deploy-service","last_synced_at":"2025-06-17T06:34:28.594Z","repository":{"id":50214750,"uuid":"125903815","full_name":"danielwpz/deploy-service","owner":"danielwpz","description":"A service that handles deployment of nomad jobs.","archived":false,"fork":false,"pushed_at":"2022-12-08T00:51:18.000Z","size":20,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T08:45:52.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielwpz.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}},"created_at":"2018-03-19T18:36:34.000Z","updated_at":"2018-03-19T20:09:24.000Z","dependencies_parsed_at":"2023-01-25T01:45:18.434Z","dependency_job_id":null,"html_url":"https://github.com/danielwpz/deploy-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielwpz/deploy-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwpz%2Fdeploy-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwpz%2Fdeploy-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwpz%2Fdeploy-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwpz%2Fdeploy-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielwpz","download_url":"https://codeload.github.com/danielwpz/deploy-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwpz%2Fdeploy-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260307747,"owners_count":22989802,"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-11-06T01:44:27.134Z","updated_at":"2025-06-17T06:34:28.569Z","avatar_url":"https://github.com/danielwpz.png","language":"Python","readme":"# deploy-service\nA service that handles deployment of nomad jobs.\n\n# Run locally\n*You'll need a pair of AWS credentials that has access to your SQS deploy queue, and set them in environment variables*\n- In another terminal window `nomad agent -dev`\n- `pip3 install -r requirements.txt`\n- `python3 -u main.py`\n\n# How\nThis services keeps fetching messages from a AWS SQS queue for new deployment message.       \nThe message should be in the JSON form: `{ \"action\": \"deploy\", \"definition\": NOMAD_JSON_DEFINITION }` \n(you can get the `NOMAD_JSON_DEFINITION` by running `nomad run -output job.hcl`)       \nOnce a message is received, it will try to submit the job to local nomad cluster and delete the message from SQS.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwpz%2Fdeploy-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielwpz%2Fdeploy-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwpz%2Fdeploy-service/lists"}