{"id":23872083,"url":"https://github.com/eddiewebb/circleci-docker-goss","last_synced_at":"2025-09-02T00:33:45.990Z","repository":{"id":38203986,"uuid":"132905990","full_name":"eddiewebb/circleci-docker-goss","owner":"eddiewebb","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-29T13:00:20.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T21:49:12.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/eddiewebb.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":"2018-05-10T13:42:58.000Z","updated_at":"2024-02-19T14:17:20.000Z","dependencies_parsed_at":"2022-09-04T14:13:06.810Z","dependency_job_id":null,"html_url":"https://github.com/eddiewebb/circleci-docker-goss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eddiewebb/circleci-docker-goss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiewebb%2Fcircleci-docker-goss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiewebb%2Fcircleci-docker-goss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiewebb%2Fcircleci-docker-goss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiewebb%2Fcircleci-docker-goss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddiewebb","download_url":"https://codeload.github.com/eddiewebb/circleci-docker-goss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddiewebb%2Fcircleci-docker-goss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273213887,"owners_count":25065058,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-03T15:19:33.999Z","updated_at":"2025-09-02T00:33:45.951Z","avatar_url":"https://github.com/eddiewebb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GOSS test cases on CircleCI\n[goss](https://github.com/aelsabbahy/goss) is a server spec testing tool. Here we use dgoss to apply those tests to our docker image.\n\nThis folder contains wrapper scripts that modify the docker image state to mimic certain real-world scenarios.\n\ngoss in turn will call these, and verify output/exit codes against specs in [goss.yaml](goss.yaml)\n\n## install locally\nInstall dgoss by following [this guide](https://github.com/aelsabbahy/goss/tree/master/extras/dgoss#installation)\n\n## Caveats - Docker Entrypoints\nThis image uses an entrypoint that expects 2 key files to exist, as well as some parameters.\nTheir absence causes an immediate exit, before tests can be executed.\n\nAs a result we provide a testing entrypoint that creates the files needed for testing.\nOur goss tests execute the primary entrypoint to ensure validity given certain conditions.\n\n## testing\nSee [test/runTests.sh](test/runTests.sh)\n```\ntest/runTests.sh\n\n```\n\n## adding tests\nHighly suggest reading [goss docs](https://github.com/aelsabbahy/goss/blob/master/docs/manual.md) first.\n\nTo add tests, build and run the container.\n\n```\ndocker build . -t my-image:test\ndgoss edit --entrypoint=/test/gossEntrypoint.sh my-image:test\n```\n\nOnce inside the container, use `goss add [type] [target]` as defiend in the docs.\n**NOTE** goss will export the generated goss.yaml to local file system on exit, copy new or modified snippers into `goss.yaml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiewebb%2Fcircleci-docker-goss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddiewebb%2Fcircleci-docker-goss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiewebb%2Fcircleci-docker-goss/lists"}