{"id":15630516,"url":"https://github.com/glaszig/drone-docker","last_synced_at":"2025-03-29T18:40:49.788Z","repository":{"id":136944750,"uuid":"47481682","full_name":"glaszig/drone-docker","owner":"glaszig","description":"Installs Drone CI \u003e= 0.4","archived":false,"fork":false,"pushed_at":"2017-05-18T19:13:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T19:35:02.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/glaszig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-12-06T03:05:17.000Z","updated_at":"2017-05-18T19:13:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7e68e8b-2e2d-4ea0-8e1f-aaedea2232c8","html_url":"https://github.com/glaszig/drone-docker","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/glaszig%2Fdrone-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaszig%2Fdrone-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaszig%2Fdrone-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glaszig%2Fdrone-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glaszig","download_url":"https://codeload.github.com/glaszig/drone-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230494,"owners_count":20744345,"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-03T10:33:09.417Z","updated_at":"2025-03-29T18:40:49.767Z","avatar_url":"https://github.com/glaszig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"drone-docker\n============\n\nInstalls Drone CI (\u003e= 0.6) via Docker.\n\nRequirements\n------------\n\nYou'll need a Docker-compatible Linux kernel.\n\nAttributes\n----------\n\nHave a look into the attribute files. You'll get the idea.\n\nSpecifically, with the following attributes you can define a data bag\nwhere the cookbook will find Drone environment variables and TLS certificates\nfor the proxy vhost. Each data bag is expected to have a root key `content`.\n\n```rb\ndefault['drone-docker']['data_bag']      = 'drone-docker'\ndefault['drone-docker']['data_bag_name'] = 'env'\ndefault['drone-docker']['proxy']['data_bag']      = node['drone-docker']['data_bag']\ndefault['drone-docker']['proxy']['data_bag_name'] = 'certificates'\n```\n\nThe `env` data bag is expected to contain key/value pairs of environment varialbes\nto be merged with `node['drone-docker']['volumes']` and passed to Docker.\n\nThe `proxy` data bag must contain the two keys `ssl_key` and `ssl_certificate`\nwhich contain the plain ssl key and certificate to be dropped onto the server\nfor the vhost.\n\nUsage\n-----\n\n#### drone-docker::default\n\nInstalls Docker and Drone CI.\n\n#### drone-docker::proxy\n\nSets up Apache and a virtual host which proxies Drone CI.\n\n\nJust include `drone-docker` in your node's `run_list`:\n\n```rb\n{\n  'drone-docker' =\u003e {\n    'data_bag' =\u003e 'drone-ci',\n    'data_bag_name' =\u003e 'env',\n    'proxy' =\u003e {\n      'data_bag_name' =\u003e 'certificates',\n      'domain' =\u003e 'ci.example.com'\n    }\n  }\n}\n```\n\nContributing\n------------\n\n1. Fork the repository on Github\n2. Create a named feature branch (like `add_component_x`)\n3. Write your change\n4. Write tests for your change (if applicable)\n5. Run the tests, ensuring they all pass\n6. Submit a Pull Request using Github\n\nLicense and Authors\n-------------------\n\nMIT (see LICENSE file). Written by glaszig@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaszig%2Fdrone-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglaszig%2Fdrone-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglaszig%2Fdrone-docker/lists"}