├── .gitignore ├── .kitchen.yml ├── .rubocop.yml ├── .travis.yml ├── Berksfile ├── CHANGELOG.md ├── LICENSE ├── README.md ├── attributes ├── agent.rb ├── default.rb └── server.rb ├── chefignore ├── libraries └── env.rb ├── metadata.rb ├── recipes ├── agent.rb ├── server.rb ├── standalone_agent.rb └── standalone_server.rb ├── spec ├── agent_spec.rb ├── server_spec.rb ├── spec_helper.rb └── support │ └── matchers.rb └── test ├── cookbooks ├── fake │ ├── metadata.rb │ └── recipes │ │ └── gogs.rb └── gogs │ ├── .editorconfig │ ├── .gitignore │ ├── .kitchen.yml │ ├── .travis.yml │ ├── Berksfile │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── Gemfile │ ├── README.md │ ├── Rakefile │ ├── attributes │ └── default.rb │ ├── chefignore │ ├── metadata.rb │ ├── recipes │ └── default.rb │ ├── spec │ ├── spec_helper.rb │ └── unit │ │ └── recipes │ │ └── default_spec.rb │ ├── templates │ └── default │ │ └── app.ini.erb │ └── test │ └── integration │ └── default │ └── serverspec │ ├── default_spec.rb │ └── spec_helper.rb └── integration ├── data_bags └── vault_drone │ └── drone_secret.json ├── drone-custom └── default_spec.rb ├── drone-docker-overrides └── default_spec.rb └── drone └── default_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/.gitignore -------------------------------------------------------------------------------- /.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/.kitchen.yml -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/.travis.yml -------------------------------------------------------------------------------- /Berksfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/Berksfile -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/README.md -------------------------------------------------------------------------------- /attributes/agent.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/attributes/agent.rb -------------------------------------------------------------------------------- /attributes/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/attributes/default.rb -------------------------------------------------------------------------------- /attributes/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/attributes/server.rb -------------------------------------------------------------------------------- /chefignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/chefignore -------------------------------------------------------------------------------- /libraries/env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/libraries/env.rb -------------------------------------------------------------------------------- /metadata.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/metadata.rb -------------------------------------------------------------------------------- /recipes/agent.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/recipes/agent.rb -------------------------------------------------------------------------------- /recipes/server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/recipes/server.rb -------------------------------------------------------------------------------- /recipes/standalone_agent.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/recipes/standalone_agent.rb -------------------------------------------------------------------------------- /recipes/standalone_server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/recipes/standalone_server.rb -------------------------------------------------------------------------------- /spec/agent_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/spec/agent_spec.rb -------------------------------------------------------------------------------- /spec/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/spec/server_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/spec/support/matchers.rb -------------------------------------------------------------------------------- /test/cookbooks/fake/metadata.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/fake/metadata.rb -------------------------------------------------------------------------------- /test/cookbooks/fake/recipes/gogs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/fake/recipes/gogs.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/.editorconfig -------------------------------------------------------------------------------- /test/cookbooks/gogs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/.gitignore -------------------------------------------------------------------------------- /test/cookbooks/gogs/.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/.kitchen.yml -------------------------------------------------------------------------------- /test/cookbooks/gogs/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/.travis.yml -------------------------------------------------------------------------------- /test/cookbooks/gogs/Berksfile: -------------------------------------------------------------------------------- 1 | source 'https://supermarket.chef.io' 2 | 3 | metadata 4 | -------------------------------------------------------------------------------- /test/cookbooks/gogs/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/CHANGELOG.md -------------------------------------------------------------------------------- /test/cookbooks/gogs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/CONTRIBUTING.md -------------------------------------------------------------------------------- /test/cookbooks/gogs/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/Gemfile -------------------------------------------------------------------------------- /test/cookbooks/gogs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/README.md -------------------------------------------------------------------------------- /test/cookbooks/gogs/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/Rakefile -------------------------------------------------------------------------------- /test/cookbooks/gogs/attributes/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/attributes/default.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/chefignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/chefignore -------------------------------------------------------------------------------- /test/cookbooks/gogs/metadata.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/metadata.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/recipes/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/recipes/default.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/spec/spec_helper.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/spec/unit/recipes/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/spec/unit/recipes/default_spec.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/templates/default/app.ini.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/templates/default/app.ini.erb -------------------------------------------------------------------------------- /test/cookbooks/gogs/test/integration/default/serverspec/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/cookbooks/gogs/test/integration/default/serverspec/default_spec.rb -------------------------------------------------------------------------------- /test/cookbooks/gogs/test/integration/default/serverspec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | require 'serverspec' 2 | 3 | set :backend, :exec 4 | -------------------------------------------------------------------------------- /test/integration/data_bags/vault_drone/drone_secret.json: -------------------------------------------------------------------------------- 1 | { 2 | "drone_secret": "RANDOMagentSECRET" 3 | } 4 | -------------------------------------------------------------------------------- /test/integration/drone-custom/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/integration/drone-custom/default_spec.rb -------------------------------------------------------------------------------- /test/integration/drone-docker-overrides/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/integration/drone-docker-overrides/default_spec.rb -------------------------------------------------------------------------------- /test/integration/drone/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmccann/chef-drone/HEAD/test/integration/drone/default_spec.rb --------------------------------------------------------------------------------