{"id":18342027,"url":"https://github.com/renatomefi/docker-testinfra","last_synced_at":"2025-04-06T06:31:59.384Z","repository":{"id":71382365,"uuid":"144617911","full_name":"renatomefi/docker-testinfra","owner":"renatomefi","description":"A simple docker image for testinfra","archived":false,"fork":false,"pushed_at":"2020-06-30T09:11:23.000Z","size":58,"stargazers_count":9,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T22:08:16.589Z","etag":null,"topics":["docker","docker-image","infrastructure","infrastructure-testing","pytest","python","testinfra"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/renatomefi/docker-testinfra/","language":"Makefile","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/renatomefi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-08-13T18:23:59.000Z","updated_at":"2020-11-07T19:03:43.000Z","dependencies_parsed_at":"2023-02-25T23:45:51.783Z","dependency_job_id":null,"html_url":"https://github.com/renatomefi/docker-testinfra","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/renatomefi%2Fdocker-testinfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatomefi%2Fdocker-testinfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatomefi%2Fdocker-testinfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renatomefi%2Fdocker-testinfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renatomefi","download_url":"https://codeload.github.com/renatomefi/docker-testinfra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445649,"owners_count":20939952,"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":["docker","docker-image","infrastructure","infrastructure-testing","pytest","python","testinfra"],"created_at":"2024-11-05T20:29:17.438Z","updated_at":"2025-04-06T06:31:59.378Z","avatar_url":"https://github.com/renatomefi.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A testinfra Docker container\n\n[![CircleCI](https://circleci.com/gh/renatomefi/docker-testinfra.svg?style=svg)](https://circleci.com/gh/renatomefi/docker-testinfra)\n[![Docker hub](https://img.shields.io/docker/pulls/renatomefi/docker-testinfra.svg)](https://hub.docker.com/r/renatomefi/docker-testinfra/)\n[![Docker hub](https://img.shields.io/microbadger/image-size/renatomefi/docker-testinfra/2.svg)](https://hub.docker.com/r/renatomefi/docker-testinfra/)\n\nThis image helps you run [testinfra](https://testinfra.readthedocs.io/en/latest/) supporting both docker and ssh plugins\n\n[![Dockerhub badge](http://dockeri.co/image/renatomefi/docker-testinfra)](https://hub.docker.com/r/renatomefi/docker-testinfra)\n\n## Running the image\n\nConsidering your tests are under `./tests`\n\n```sh\ndocker run --rm -t \\\n  -v \"$(pwd)/tests:/tests\" \\\n  -v /var/run/docker.sock:/var/run/docker.sock:ro \\\n  renatomefi/docker-testinfra:2 \\\n  --verbose --hosts='docker://CONTAINER_NAME_OR_ID'\n```\n\nEverything on the last line are py.test and infratest parameters, see more at https://testinfra.readthedocs.io/en/latest/invocation.html\n\nThis images simply provides an entrypoint to `py.test` with a few parameters to supress caching.\n\n## Tags and versions\n\nYou use more to less specific versions for instance:\n\n- `renatomefi/docker-testinfra:3`\n- `renatomefi/docker-testinfra:3.2`\n- `renatomefi/docker-testinfra:3.2.0`\n- `renatomefi/docker-testinfra:2`\n- `renatomefi/docker-testinfra:2.0`\n- `renatomefi/docker-testinfra:2.0.0`\n- `renatomefi/docker-testinfra:1`\n- `renatomefi/docker-testinfra:1.19`\n- `renatomefi/docker-testinfra:1.19.0`\n\nWhen `2.1` is released for instance, the new major `2` will become `2.1`, this way you can always be up-to-date with the desired major.\n\n### Python version\n\nTestinfra version `2` is only offered with Python 3.\n\nTestinfra version `1` is oferred with Python 2 by default and Python 3 optionally by appending `python3` to its tag. (This is only valid for 1.19+)\n\n- `renatomefi/docker-testinfra:1-python3`\n- `renatomefi/docker-testinfra:1.19-python3`\n- `renatomefi/docker-testinfra:1.19.0-python3`\n\n## testinfra and Docker\n\nhttps://testinfra.readthedocs.io/en/latest/backends.html#docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatomefi%2Fdocker-testinfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenatomefi%2Fdocker-testinfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenatomefi%2Fdocker-testinfra/lists"}