{"id":20564340,"url":"https://github.com/tarantool/cartridge-cli","last_synced_at":"2025-04-04T22:06:56.206Z","repository":{"id":37484637,"uuid":"204727748","full_name":"tarantool/cartridge-cli","owner":"tarantool","description":"Command-line utility to manage tarantool cartridge applications","archived":false,"fork":false,"pushed_at":"2025-01-15T22:40:01.000Z","size":3785,"stargazers_count":49,"open_issues_count":54,"forks_count":19,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-28T21:06:44.607Z","etag":null,"topics":["cartridge","cli","tarantool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.dev.md","changelog":"CHANGELOG.md","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":"2019-08-27T15:00:37.000Z","updated_at":"2024-05-07T09:58:39.000Z","dependencies_parsed_at":"2023-02-15T07:46:14.740Z","dependency_job_id":"33517310-29f3-4094-8c40-ade32c79c104","html_url":"https://github.com/tarantool/cartridge-cli","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fcartridge-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/cartridge-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256112,"owners_count":20909240,"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":["cartridge","cli","tarantool"],"created_at":"2024-11-16T04:25:50.635Z","updated_at":"2025-04-04T22:06:56.177Z","avatar_url":"https://github.com/tarantool.png","language":"Go","readme":"## How to run tests\n\n### Requirements\n\n1. Install [Go](https://go.dev/doc/install) 1.18.\n   ```bash\n   go version\n   ```\n\n2. Install [Python](https://www.python.org/downloads/) 3.x and [pip](https://pypi.org/project/pip/).\n   ```bash\n   python3 --version\n   pip3 --version\n   ```\n\n3. Install `unzip`, `rpm` and `cpio` packages.\n   ```bash\n   unzip -v\n   rpm --version\n   cpio --version\n   ```\n\n4. Install [git](https://git-scm.com/downloads).\n   ```bash\n   git --version\n   ```\n\n5. Install [docker](https://www.docker.com/get-started).\n   ```bash\n   docker --version\n   ```\n\n6. Install [Tarantool](https://www.tarantool.io/en/download/os-installation/) (1.10 or 2.x version).\n   ```bash\n   tarantool --version\n   ```\n\n7. Install [mage](https://github.com/magefile/mage).\n   ```bash\n   mage --version\n   ```\n   If something went wrong, this may help.\n   ```bash\n   export PATH=$(go env GOPATH)/bin:$PATH\n   ```\n\n8. Install [pytest](https://docs.pytest.org/en/6.2.x/getting-started.html).\n   ```bash\n   python3 -m pytest --version\n   ```\n\n9. Clone this repo.\n   ```bash\n   git clone git@github.com:tarantool/cartridge-cli.git\n   cd ./cartridge-cli\n   ```\n\n10. To run tests, git user must be configured. For example,\n    ```bash\n    git config --global user.email \"test@tarantool.io\"\n    git config --global user.name \"Tar Antool\"\n    ```\n\n11. Install pytest dependencies.\n    ```bash\n    pip3 install -r test/requirements.txt\n    ```\n\n12. Install luacheck.\n    ```bash\n    tarantoolctl rocks install luacheck\n    ```\n\n13. Install lichen.\n    ```bash\n    go install github.com/uw-labs/lichen@latest\n    ```\n\nAll remaining dependencies (like code generation) will be invoked with mage if needed.\n\n### Test run\n\nTo run all tests, call\n```bash\nmage test\n```\n\nYou can run specific test sections.\n```bash\n# Static code analysis (including tests code).\nmage lint\n# Go unit tests.\nmage unit\n# pytest integration tests.\nmage integration\n# Run test example with pytest.\nmage testExamples\n# pytest end-to-end tests for packages.\nmage e2e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcartridge-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fcartridge-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fcartridge-cli/lists"}