%global _empty_manifest_terminate_build 0 Name: python-rungutan Version: 1.9.0 Release: 1 Summary: CLI for Rungutan - the first API Load Testing SaaS platform worldwide, 100% Serverless, which helps you simulate workflows to emulate user experience, so it's easier to design workflow oriented strategies. License: MIT License URL: https://github.com/Rungutan/rungutan-cli Source0: https://mirrors.aliyun.com/pypi/web/packages/ff/8d/25d853f93cb123c302fd919cb538d20215f8fa5da0820f6ea563a56f5d03/rungutan-1.9.0.tar.gz BuildArch: noarch Requires: python3-simplejson Requires: python3-coverage %description # rungutan-cli ## What is Rungutan? [Rungutan](https://rungutan.com) is the first API Load Testing SaaS platform worldwide, 100% Serverless, which helps you simulate workflows to emulate user experience, so it's easier to design workflow oriented strategies. ## Where do I sign up? Although we love our [landing page](https://rungutan.com) and we definitely think it's worth checking out, you can sign up directly by going on [https://app.rungutan.com/signup](https://app.rungutan.com/signup) ## Do you have any ACTUAL documentation? D'oh. You can find it on our [Docs](https://docs.rungutan.com) page. ## Why use the CLI? This CLI has been designed for: 1) perform load testing directly within a CI/CD process 2) run any command that you would do on the web platform directly in your terminal ## How to install the CLI? ```shell script pip install rungutan ``` ## How to run the CLI? * Set up your authentication mechanism using the Rungutan API key ```shell script rungutan configure (--profile some-profile-name) ``` * Check the overall help menu ```shell script $ rungutan help usage: rungutan [] To see help text, you can run: rungutan help rungutan version rungutan configure --help rungutan domains --help rungutan team --help rungutan results --help rungutan raw_results --help rungutan tests --help rungutan templates --help rungutan crons --help rungutan notifications --help rungutan vault --help rungutan csv --help rungutan certificate --help rungutan file --help Rungutan CLI utility for interacting with https://rungutan.com positional arguments: command Command to run optional arguments: -h, --help show this help message and exit ``` * Check the help menu for a specific command ```shell script $ rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Actually run a command ```shell script $ rungutan domains list { "Domains": [ { "domain_name": "rungutan.com", "submitted_date": "2020-01-22T09:43:08Z", "member_email": "owner@team.com" } ] } ``` ## Run it as a docker container * Using local volume ```shell script $ docker run \ -v ${HOME}/.rungutan:/root/.rungutan \ rungutancommunity/rungutan-cli:latest rungutan tests --help usage: rungutan [-h] [--test_id TEST_ID] [--test_file TEST_FILE] [--test_public {public,private}] [--test_name TEST_NAME] [--wait_to_finish] [-p PROFILE] [{list,add,cancel,remove,get,preview-credits,set-sharing}] Tests command system positional arguments: {list,add,cancel,remove,get,preview-credits,set-sharing} optional arguments: -h, --help show this help message and exit --test_id TEST_ID Required parameter for subcommand ["cancel", "get", "set-sharing", "remove"]. Optional parameter for subcommand ["list"] --test_file TEST_FILE Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --template_id TEMPLATE_ID Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --test_public {public,private} Required parameter for subcommand ["set-sharing"] --test_name TEST_NAME Optional parameter for subcommand ["add", "preview-credits"]. Use it to override the value for "test_name" in your test_file or to simply specify a name for the test --wait_to_finish Optional parameter for subcommand ["add"] Use it to set the CLI to wait for the test to finish before exiting. -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Or using environment variables ```shell script $ docker run \ -e RUNGUTAN_TEAM_ID=my_team \ -e RUNGUTAN_API_KEY=my_api_key \ rungutancommunity/rungutan-cli:latest rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` %package -n python3-rungutan Summary: CLI for Rungutan - the first API Load Testing SaaS platform worldwide, 100% Serverless, which helps you simulate workflows to emulate user experience, so it's easier to design workflow oriented strategies. Provides: python-rungutan BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-rungutan # rungutan-cli ## What is Rungutan? [Rungutan](https://rungutan.com) is the first API Load Testing SaaS platform worldwide, 100% Serverless, which helps you simulate workflows to emulate user experience, so it's easier to design workflow oriented strategies. ## Where do I sign up? Although we love our [landing page](https://rungutan.com) and we definitely think it's worth checking out, you can sign up directly by going on [https://app.rungutan.com/signup](https://app.rungutan.com/signup) ## Do you have any ACTUAL documentation? D'oh. You can find it on our [Docs](https://docs.rungutan.com) page. ## Why use the CLI? This CLI has been designed for: 1) perform load testing directly within a CI/CD process 2) run any command that you would do on the web platform directly in your terminal ## How to install the CLI? ```shell script pip install rungutan ``` ## How to run the CLI? * Set up your authentication mechanism using the Rungutan API key ```shell script rungutan configure (--profile some-profile-name) ``` * Check the overall help menu ```shell script $ rungutan help usage: rungutan [] To see help text, you can run: rungutan help rungutan version rungutan configure --help rungutan domains --help rungutan team --help rungutan results --help rungutan raw_results --help rungutan tests --help rungutan templates --help rungutan crons --help rungutan notifications --help rungutan vault --help rungutan csv --help rungutan certificate --help rungutan file --help Rungutan CLI utility for interacting with https://rungutan.com positional arguments: command Command to run optional arguments: -h, --help show this help message and exit ``` * Check the help menu for a specific command ```shell script $ rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Actually run a command ```shell script $ rungutan domains list { "Domains": [ { "domain_name": "rungutan.com", "submitted_date": "2020-01-22T09:43:08Z", "member_email": "owner@team.com" } ] } ``` ## Run it as a docker container * Using local volume ```shell script $ docker run \ -v ${HOME}/.rungutan:/root/.rungutan \ rungutancommunity/rungutan-cli:latest rungutan tests --help usage: rungutan [-h] [--test_id TEST_ID] [--test_file TEST_FILE] [--test_public {public,private}] [--test_name TEST_NAME] [--wait_to_finish] [-p PROFILE] [{list,add,cancel,remove,get,preview-credits,set-sharing}] Tests command system positional arguments: {list,add,cancel,remove,get,preview-credits,set-sharing} optional arguments: -h, --help show this help message and exit --test_id TEST_ID Required parameter for subcommand ["cancel", "get", "set-sharing", "remove"]. Optional parameter for subcommand ["list"] --test_file TEST_FILE Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --template_id TEMPLATE_ID Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --test_public {public,private} Required parameter for subcommand ["set-sharing"] --test_name TEST_NAME Optional parameter for subcommand ["add", "preview-credits"]. Use it to override the value for "test_name" in your test_file or to simply specify a name for the test --wait_to_finish Optional parameter for subcommand ["add"] Use it to set the CLI to wait for the test to finish before exiting. -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Or using environment variables ```shell script $ docker run \ -e RUNGUTAN_TEAM_ID=my_team \ -e RUNGUTAN_API_KEY=my_api_key \ rungutancommunity/rungutan-cli:latest rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` %package help Summary: Development documents and examples for rungutan Provides: python3-rungutan-doc %description help # rungutan-cli ## What is Rungutan? [Rungutan](https://rungutan.com) is the first API Load Testing SaaS platform worldwide, 100% Serverless, which helps you simulate workflows to emulate user experience, so it's easier to design workflow oriented strategies. ## Where do I sign up? Although we love our [landing page](https://rungutan.com) and we definitely think it's worth checking out, you can sign up directly by going on [https://app.rungutan.com/signup](https://app.rungutan.com/signup) ## Do you have any ACTUAL documentation? D'oh. You can find it on our [Docs](https://docs.rungutan.com) page. ## Why use the CLI? This CLI has been designed for: 1) perform load testing directly within a CI/CD process 2) run any command that you would do on the web platform directly in your terminal ## How to install the CLI? ```shell script pip install rungutan ``` ## How to run the CLI? * Set up your authentication mechanism using the Rungutan API key ```shell script rungutan configure (--profile some-profile-name) ``` * Check the overall help menu ```shell script $ rungutan help usage: rungutan [] To see help text, you can run: rungutan help rungutan version rungutan configure --help rungutan domains --help rungutan team --help rungutan results --help rungutan raw_results --help rungutan tests --help rungutan templates --help rungutan crons --help rungutan notifications --help rungutan vault --help rungutan csv --help rungutan certificate --help rungutan file --help Rungutan CLI utility for interacting with https://rungutan.com positional arguments: command Command to run optional arguments: -h, --help show this help message and exit ``` * Check the help menu for a specific command ```shell script $ rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Actually run a command ```shell script $ rungutan domains list { "Domains": [ { "domain_name": "rungutan.com", "submitted_date": "2020-01-22T09:43:08Z", "member_email": "owner@team.com" } ] } ``` ## Run it as a docker container * Using local volume ```shell script $ docker run \ -v ${HOME}/.rungutan:/root/.rungutan \ rungutancommunity/rungutan-cli:latest rungutan tests --help usage: rungutan [-h] [--test_id TEST_ID] [--test_file TEST_FILE] [--test_public {public,private}] [--test_name TEST_NAME] [--wait_to_finish] [-p PROFILE] [{list,add,cancel,remove,get,preview-credits,set-sharing}] Tests command system positional arguments: {list,add,cancel,remove,get,preview-credits,set-sharing} optional arguments: -h, --help show this help message and exit --test_id TEST_ID Required parameter for subcommand ["cancel", "get", "set-sharing", "remove"]. Optional parameter for subcommand ["list"] --test_file TEST_FILE Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --template_id TEMPLATE_ID Required parameter for subcommand ["add", "preview-credits"]. You can specify --test_file or --template_id, but not both! --test_public {public,private} Required parameter for subcommand ["set-sharing"] --test_name TEST_NAME Optional parameter for subcommand ["add", "preview-credits"]. Use it to override the value for "test_name" in your test_file or to simply specify a name for the test --wait_to_finish Optional parameter for subcommand ["add"] Use it to set the CLI to wait for the test to finish before exiting. -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` * Or using environment variables ```shell script $ docker run \ -e RUNGUTAN_TEAM_ID=my_team \ -e RUNGUTAN_API_KEY=my_api_key \ rungutancommunity/rungutan-cli:latest rungutan domains --help usage: rungutan [-h] [--domain_name DOMAIN_NAME] [-p PROFILE] [{list,remove,add}] Domain command system positional arguments: {list,remove,add} optional arguments: -h, --help show this help message and exit --domain_name DOMAIN_NAME Required parameter for subcommand ["remove", "add"] -p PROFILE, --profile PROFILE The profile you'll be using. If not specified, the "default" profile will be used. If no profiles are defined, the following env variables will be checked: * RUNGUTAN_TEAM_ID * RUNGUTAN_API_KEY ``` %prep %autosetup -n rungutan-1.9.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-rungutan -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 1.9.0-1 - Package Spec generated