{"id":20444100,"url":"https://github.com/tknerr/sample-application-cookbook-testing","last_synced_at":"2025-06-13T13:38:08.465Z","repository":{"id":11325279,"uuid":"13748016","full_name":"tknerr/sample-application-cookbook-testing","owner":"tknerr","description":"testing release process with the sample application cookbook","archived":false,"fork":false,"pushed_at":"2013-10-21T21:42:11.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T08:26:59.608Z","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/tknerr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2013-10-21T16:26:15.000Z","updated_at":"2018-06-26T19:53:57.000Z","dependencies_parsed_at":"2022-08-20T10:31:18.224Z","dependency_job_id":null,"html_url":"https://github.com/tknerr/sample-application-cookbook-testing","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/tknerr/sample-application-cookbook-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fsample-application-cookbook-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fsample-application-cookbook-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fsample-application-cookbook-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fsample-application-cookbook-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknerr","download_url":"https://codeload.github.com/tknerr/sample-application-cookbook-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknerr%2Fsample-application-cookbook-testing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259654262,"owners_count":22890979,"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-15T09:51:14.169Z","updated_at":"2025-06-13T13:38:08.437Z","avatar_url":"https://github.com/tknerr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# README\n\n[![Build Status](https://travis-ci.org/tknerr/sample-application-cookbook.png?branch=master)](https://travis-ci.org/tknerr/sample-application-cookbook)\n\nThis is a minimal \"application cookbook\" example which represents your application and depends on other \"library cookbooks\".\n\nIt's really nothing more than a templatable sample.html file served via apache. \n\n\n# TOOLING\n\nIt uses the following vagrant plugins (managed on a per-project level via [bindler](https://github.com/fgrehm/bindler)):\n\n * [vagrant-omnibus](https://github.com/schisamo/vagrant-omnibus) for installing Chef\n * [vagrant-berkshelf](https://github.com/riotgames/vagrant-berkshelf) for resolving the cookbook dependencies\n * [vagrant-cachier](https://github.com/fgrehm/vagrant-cachier) for transparent caching of all kinds of packages / downloads\n\nIt adds testing on the following levels:\n\n * cookbook syntax check via `knife cookbook test`\n * linting via [foodcritic](http://acrmp.github.io/foodcritic/)\n * codestyle check via [tailor](https://github.com/turboladen/tailor)\n * unit tests via [chefspec](https://github.com/acrmp/chefspec) (using [implicit receivers](http://stackoverflow.com/questions/12260534/using-implicit-subject-with-expect-in-rspec-2-11) for crisper syntax)\n * integration tests via [test-kitchen](https://github.com/opscode/test-kitchen) / [serverspec](http://serverspec.org/)\n\n\n# USAGE\n\n## Running Unit and Integration Tests\n\n* run `bundle install` to install the required gems from `Gemfile`\n* run `rake -T` to see the available rake tasks for testing this cookbook\n* run `rake test` to run all unit-level tests, including syntax, foodcritic, codestyle and chefspec\n* run `rake integration` to run integration tests via test-kitchen / serverspec\n\n## Running the Application in a Vagrant VM\n\n* run `vagrant plugin bundle` to install the vagrant plugins as defined in `plugins.json`\n* run `vagrant up sample-app` to bring up the sample-app in a local virtualbox VM\n* visit http://33.33.40.15/sample.html to check whether our sample app is deployed\n* change the `:words_of_wisdom` in Vagrantfile, provision via `vagrant provision sample-app` and check the sample app again\n* run `vagrant destroy sample-app` to terminate and delete the VM","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fsample-application-cookbook-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknerr%2Fsample-application-cookbook-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknerr%2Fsample-application-cookbook-testing/lists"}