{"id":21917531,"url":"https://github.com/joerg/kitchen-wright","last_synced_at":"2026-05-05T04:02:26.655Z","repository":{"id":136751310,"uuid":"36618635","full_name":"joerg/kitchen-wright","owner":"joerg","description":"A test-kitchen provider for wright","archived":false,"fork":false,"pushed_at":"2015-06-28T09:16:22.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T09:42:08.601Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joerg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-31T19:32:42.000Z","updated_at":"2015-05-31T19:44:21.000Z","dependencies_parsed_at":"2023-03-12T23:45:16.644Z","dependency_job_id":null,"html_url":"https://github.com/joerg/kitchen-wright","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/joerg%2Fkitchen-wright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerg%2Fkitchen-wright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerg%2Fkitchen-wright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerg%2Fkitchen-wright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joerg","download_url":"https://codeload.github.com/joerg/kitchen-wright/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937740,"owners_count":20535124,"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-28T19:33:43.919Z","updated_at":"2026-05-05T04:02:21.618Z","avatar_url":"https://github.com/joerg.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kitchen provisioner for wright\n\nkitchen-wright is a kitchen provisioner for [wright](https://github.com/sometimesfood/wright). Its intention is to simplify testing your wright-scripts on different distributions and with different setups. All you need is a Gemfile and a .kitchen.yml.\nThis is a  very, very, __VERY__ early development version. Use at your own risk.\n\n# HowTo\n\nLook at example folder and kick me for writing more documentation.\nSome commands you may find helpful\n\n```bash\ncd example\ncat .kitchen.yml\nbundle install --path .bundle --gemfile Gemfile.kitchen --binstubs\nbin/kitchen test default-debian-80\nbin/kitchen create default-debian-80\nbin/kitchen converge default-debian-80\nbin/kitchen verify default-debian-80\nbin/kitchen login default-debian-80\n```\n\nThe ```default-debian-80``` is actually a ```\u003csuite\u003e-\u003cplatform_name\u003e```. The suite and platform_name come from the .kitchen.yml, and in platform_name any special characters are removed.\n\n# .kitchen.yml\n\n## Configuration\n\nAll config can be set in provisioner and suites. Since kitchen is quite static when it comes to suites they currently have to be under ```attributes```. I hope this can be changed, but for now it will do.\n\n### install_method\n\nDefault: bundler_local\nAllowed values: bunlder_local, bunlder_global (package, bundle will be supported in future versions)\nExamples:\n\n```\nprovisioner:\n  name: wright\n  install_method: bundler_local\n```\n\n```\nsuites:\n  name: any\n  attributes:\n    install_method: bundler_global\n```\n\n### wrightfile\n\nThe file that will be exectuted with ```wright WRIGHTFILE```.\n\nDefault: wright.rb\nAllowed values: any local path\nExamples:\n```\nprovisioner:\n  name: wright\n  wrightfile: my_wright.rb\n```\n\n```\nsuites:\n  name: any\n  attributes:\n    wrightfile: lib/my_wright.rb\n```\n\n### log_level\n\nDefault: none\nAllowed values: quiet, verbose\nExample:\n```\nprovisioner:\n  log_level: verbose\n```\n\n### dry_run\n\nDefault: false\nAllowed values: true, false\nExample:\n```\nprovisioner:\n  dry_run: true\n```\n\n## Full Example\n\nA full .kitchen.yml could look like this (see also example folder):\n\n```\n---\ndriver:\n  name: docker_cli\n\ntransport:\n  name: docker_cli\n\nprovisioner:\n  name: wright\n  install_method: gems\n  wrightfile: my_wrightfile.rb\n\nverifier:\n  ruby_bindir: /usr/bin\n\nplatforms:\n  - name: debian-8.0\n    driver_config:\n      image: debian:jessie\n  - name: ubuntu-15.04\n    driver_config:\n      image: ubuntu:15.04\n  - name: centos-7\n    driver_config:\n      image: centos:centos7\n  - name: fedora-22\n    driver_config:\n      image: fedora:22\n\nsuites:\n  - name: default\n    attributes:\n      wrightfile: lib/wright_include.rb\n```\n\nFor driver and transport see the according ```kitchen-docker_cli``` gem.\n\n# Gotcha!\n\nIf you have tests you have to set the ```ruby_bindir``` of verifier, because it will by default use chefs (```/opt/chef/embedded/bin```) ruby. Just add the following to your .kitchen.yml:\n```\nverifier:\n  ruby_bindir: /usr/bin\n```\n\nWhen working with the serverspec or minitest test suites of kitchen you may have to include a Gemfile which installs rake. This is a dependency that comes with ruby on many, but not all systems. See example folder for further details.\n\nBy default kitchen-wright will create a Gemfile for your to install wright. If you already have a Gemfile, kitchen-wright will use this one and install (--without development) all specified Gems.\n\n# TODO\n\n* Add guards so wright, ruby etc. won't get installed every run\n* Add tests\n* Hide all unnecessary shell output\n* Get GEM published\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoerg%2Fkitchen-wright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoerg%2Fkitchen-wright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoerg%2Fkitchen-wright/lists"}