{"id":15046924,"url":"https://github.com/nightprogrammers/tes-request","last_synced_at":"2026-02-14T08:32:04.548Z","repository":{"id":25926643,"uuid":"106909263","full_name":"NightProgrammers/tes-request","owner":"NightProgrammers","description":"Request Lib for TES(Test Env Service)","archived":false,"fork":false,"pushed_at":"2022-04-22T14:33:20.000Z","size":62,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-21T03:02:04.335Z","etag":null,"topics":["jenkins","rspec","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/NightProgrammers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-14T07:52:45.000Z","updated_at":"2022-04-22T14:33:16.000Z","dependencies_parsed_at":"2022-08-07T11:16:10.193Z","dependency_job_id":null,"html_url":"https://github.com/NightProgrammers/tes-request","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/NightProgrammers/tes-request","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightProgrammers%2Ftes-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightProgrammers%2Ftes-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightProgrammers%2Ftes-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightProgrammers%2Ftes-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NightProgrammers","download_url":"https://codeload.github.com/NightProgrammers/tes-request/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NightProgrammers%2Ftes-request/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000704,"owners_count":26082806,"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-10-08T02:00:06.501Z","response_time":56,"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":["jenkins","rspec","ruby"],"created_at":"2024-09-24T20:53:45.612Z","updated_at":"2025-10-08T19:40:59.886Z","avatar_url":"https://github.com/NightProgrammers.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tes::Request\n\n[![Build Status](https://travis-ci.org/NightProgrammers/tes-request.svg)](https://travis-ci.org/NightProgrammers/tes-request)\n[![Gem Version](https://badge.fury.io/rb/tes-request.svg)](https://rubygems.org/gems/tes-request)\n\nTES(Test Env Service) request profile struct, manager lib and request tools\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    source \"https://rubygems.org\"\n    gem 'tes-request'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install tes-request\n    # check bins:\n    $ tes-ci-slicer\n    $ tes-client\n    \n## Usage\n\n### tes-ci-slicer\nGiven you project root path: `/project/root/path`, and there has file `.ci.yml`, file contents as follow:\n\n```yml\n# file .ci.yml\n---\nwith_one_exclude_pattern:\n  spec:\n    pattern:\n    - spec/a/**/*_spec.rb\n    - spec/b/**/*_spec.rb\n    exclude_pattern: spec/**/exclude_*_spec.rb\n```\n\n    \nAnd `spec/**/*_spec.rb` has content:\n\n```ruby\n# file spec/**/*_spec.rb all have the content part in the head:\n# @env begin\n#   *1:type=cluster,cfg.member.size\u003e=2,cfg.vs_enable=1\n#   \u00261.cfg.member\n#   type=storage_iscsi\n#   type=storage_iscsi\n# @distribution -standalone\n# @end\n\ndescribe 'abc' do\n  # more ...\nend\n```\n\nThen you need to slice all spec script to several paralleled jobs.\n\n**Step:** run cmds like\n\n```bash\ntes-ci-slicer properties apps/test_project func_test 16 apps/test_project/res_attr_add_map.json\n```\n\n### tes-client\n\n```bash\n# run tes-client without args to sees help usage:\n$ tes-client\n\n# Usage:\n#     % /usr/local/bin/tes-client {TesWebUrl} {User} request_res  {ResourceId}  [1|0]                       # Request Specified Resource\n#     % /usr/local/bin/tes-client {TesWebUrl} {User} release_res  {ResourceId}                              # Release Specified Resource\n#     % /usr/local/bin/tes-client {TesWebUrl} {User} request_pool {PoolAskFile} {SaveFile} [TimeoutSeconds] # Request Env Pool \n#     % /usr/local/bin/tes-client {TesWebUrl} {User} release_pool [PoolFile]                                # Release Env Pool\n```\n\n## Development\n\n- After checking out the repo, run `bundle` to install dependencies. Then, run `rake spec` to run the tests.\n- To install this gem onto your local machine, run `bundle exec rake install`. \n- To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/NightProgrammers/tes-request. \nThis project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightprogrammers%2Ftes-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightprogrammers%2Ftes-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightprogrammers%2Ftes-request/lists"}