{"id":18547755,"url":"https://github.com/johnramsden/buildbot-digitalocean-latent-worker","last_synced_at":"2025-05-15T07:34:28.252Z","repository":{"id":102820505,"uuid":"104280721","full_name":"johnramsden/buildbot-digitalocean-latent-worker","owner":"johnramsden","description":"Buildbot module for latent digitalocean workers","archived":false,"fork":false,"pushed_at":"2017-11-05T02:17:24.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T15:06:42.531Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnramsden.png","metadata":{"files":{"readme":"README.rst","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-09-21T00:13:50.000Z","updated_at":"2017-11-05T05:34:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcd4e722-5cd8-41dc-84df-8f3e89c9de0c","html_url":"https://github.com/johnramsden/buildbot-digitalocean-latent-worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fbuildbot-digitalocean-latent-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fbuildbot-digitalocean-latent-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fbuildbot-digitalocean-latent-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fbuildbot-digitalocean-latent-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnramsden","download_url":"https://codeload.github.com/johnramsden/buildbot-digitalocean-latent-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254296625,"owners_count":22047310,"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-06T20:31:05.489Z","updated_at":"2025-05-15T07:34:28.199Z","avatar_url":"https://github.com/johnramsden.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Buildbot module for latent digitalocean workers\n================================================\n\n**NOTE: Work in progress, not ready for use.**\n\n``digitalocean-latent-worker`` is a `Buildbot \u003chttps://github.com/buildbot/buildbot\u003e`_ plugin for creating latent DigitalOcean workers.\n\nDigitalOcean virtual machines can be created on the fly, and then destroyed when they are finished doing a build. Setup instructions can be customized with the ``user_data`` variable as `cloud-init \u003chttps://cloud-init.io/\u003e`_ data, shell script, or any other type of setup data is supported by DigitalOcean.\n\nUsing the DigitalOcean API\n--------------------------\n\nCreate an API token on DigitalOcean.\n\nThe API key, an SSH key and other necessary setup data can be given to the initializer for the worker class.\n\nIt's reccomended to put all secret data into a ``password.py`` file so it can be kept separate from the rest of the files that might be committed to a repository.\n\nExamples\n^^^^^^^^\n\nExample sample files can be found in the `buildbot/master \u003cbuildbot/master\u003e`_ directory.\n\nSecrets in  ``password.py``::\n\n    digitalocean_api_key = \"thisisafakeapikey\"\n    bb_worker_pass = \"example_pass\"\n\nConfiguration in ``master.cfg``::\n\n    c = BuildmasterConfig = {}\n\n    c['workers'] = [\n        worker.DigitalOceanLatentWorker(\n            \"bb-worker\", password.bb_worker_pass,\n            \"ubuntu-16-04-x64\", password.digitalocean_api_key,\n            ssh_keys=['ssh_id'], user_data=workers.do_worker_user_data)\n    ]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Fbuildbot-digitalocean-latent-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnramsden%2Fbuildbot-digitalocean-latent-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Fbuildbot-digitalocean-latent-worker/lists"}