{"id":41714935,"url":"https://github.com/wazo-platform/denv","last_synced_at":"2026-01-24T22:09:28.823Z","repository":{"id":77525531,"uuid":"99274540","full_name":"wazo-platform/denv","owner":"wazo-platform","description":"CLI helper for Wazo integration tests","archived":false,"fork":false,"pushed_at":"2024-05-08T15:16:49.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-08T16:54:16.583Z","etag":null,"topics":["development"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wazo-platform.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-03T20:59:15.000Z","updated_at":"2024-05-08T15:16:49.000Z","dependencies_parsed_at":"2023-12-04T19:51:24.068Z","dependency_job_id":null,"html_url":"https://github.com/wazo-platform/denv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wazo-platform/denv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wazo-platform%2Fdenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wazo-platform%2Fdenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wazo-platform%2Fdenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wazo-platform%2Fdenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wazo-platform","download_url":"https://codeload.github.com/wazo-platform/denv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wazo-platform%2Fdenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28738016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T21:19:41.845Z","status":"ssl_error","status_checked_at":"2026-01-24T21:13:38.675Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["development"],"created_at":"2026-01-24T22:09:28.220Z","updated_at":"2026-01-24T22:09:28.816Z","avatar_url":"https://github.com/wazo-platform.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# denv\n\n`denv` (Docker environment) is used to manage Docker containers in Wazo integration tests to ease development workflow.\n\nExample:\n\n```\n(webhookd-test)user ~/data/git/webhookd/integration_tests $ denv enter calld base\nRemoving calld_sync_run_1         ... done\nRemoving calld_webhookd_1         ... done\nRemoving calld_third-party-http_1 ... done\nRemoving calld_postgres_1         ... done\nRemoving calld_rabbitmq_1         ... done\nRemoving calld_auth_1             ... done\nCreating calld_rabbitmq_1 ...\nCreating calld_auth_1 ...\nCreating calld_third-party-http_1 ...\nCreating calld_postgres_1 ...\nCreating calld_rabbitmq_1\nCreating calld_auth_1\nCreating calld_postgres_1\nCreating calld_third-party-http_1 ... done\nCreating calld_webhookd_1 ...\nCreating calld_webhookd_1 ... done\n172.17.0.3:1080 up!\n172.17.0.4:5432 up!\n...172.17.0.5:5672 up!\n172.17.0.6:9300 up!\n172.17.0.2:9497 up!\n\n[base](webhookd-test)seb ~/data/git/webhookd/integration_tests $ denv restart webhookd\nRestarting calld_webhookd_1 ... done\n\n[base](webhookd-test)seb ~/data/git/webhookd/integration_tests $ denv exit\nKilling calld_webhookd_1         ... done\nKilling calld_third-party-http_1 ... done\nKilling calld_postgres_1         ... done\nKilling calld_rabbitmq_1         ... done\nKilling calld_auth_1             ... done\n\n(webhookd-test)seb ~/data/git/webhookd/integration_tests $\n```\n\nWhen entering a denv, the containers of the given asset are started. This allows a developer to run tests quicker when writing them, according to the following workflow:\n\n```\ndenv enter ...\n*run the test*... FAIL\n*edit the test*\n*run the test*... FAIL\n*edit the source code under test*\n*restart the daemon* (denv restart)\n*run the test*... PASS\ndenv exit\n```\n\nThis avoids the starting and stopping of every container when running a few integration tests that need the same asset.\n\n`denv` disables the starting/stopping of the containers via the `TEST_DOCKER=ignore` environment variable.\n\n## Installing\n\n```\ngit clone https://github.com/wazo-platform/denv\n\n# bash\necho \"source $PWD/denv/denv\" \u003e\u003e ~/.bashrc\n\n# zsh\necho \"source $PWD/denv/denv\" \u003e\u003e ~/.zshrc\n```\n\n## Tips\n\n`denv enter` is aliased to `denv e`.\n`denv restart` is aliased to `denv r`.\n`denv exit` is aliased to `denv x`.\n`denv pull` is aliased to `denv p`.\n`denv logs` is aliased to `denv log` and `denv l`.\n`denv traceback` is aliased to `denv tb` and `denv t`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwazo-platform%2Fdenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwazo-platform%2Fdenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwazo-platform%2Fdenv/lists"}