Skip to main content

YouQu Task Scheduling Framework

Project description

PlayBook

YouQu 任务调度框架

安装

pip3 install youqu-playbook

运行

playbook --input-json-path path/to/json/file.json

比如在当前目录下运行:

playbook --input-json-path ./info.json

输入JSON配置文件

JSON 配置示例:

{
  "apps": [
    {
      "app_name": "autotest_dde_file_manager",
      "git_url": "ssh://ut001203@gerrit.uniontech.com:29418/autotest_dde_file_manager",
      "git_branch": "at-develop/eagle",
      "framework": "youqu2",
      "split_run": true,
      "order": 1
    },
    {
      "app_name": "kernel",
      "git_branch": "at-develop/v25",
      "git_url": "ssh://ut001203@gerrit.uniontech.com:29418/autotest-uos-v25",
      "framework": "youqu3",
      "split_run": false,
      "order": 2
    },
    ...
  ],
  "clients": [
    "uos@10.8.15.19",
    "uos@10.8.15.20",
    ...
  ],
  "tags": "CICD",
  "task_id": "xxxx",
  "json_backfill_base_url": "xxxx",
  "json_backfill_user": "xxxx",
  "json_backfill_password": "xxxx",
  "pms_task_id": "xxxx",
  "pms_user": "xxxx",
  "pms_password": "xxxx"
}

流程示意图

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youqu_playbook-2024.11.28.tar.gz (93.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youqu_playbook-2024.11.28-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file youqu_playbook-2024.11.28.tar.gz.

File metadata

  • Download URL: youqu_playbook-2024.11.28.tar.gz
  • Upload date:
  • Size: 93.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for youqu_playbook-2024.11.28.tar.gz
Algorithm Hash digest
SHA256 ded1932cda18fe04f424ffcf14f044cfce13f4a4237bd13ef4a0fb977f70910b
MD5 1df3997583b7d918b7aa29281d18dbce
BLAKE2b-256 c3a38d07814b01952ca31454c900b6384b00cb8e2e8eaad501cb821fe10aff77

See more details on using hashes here.

File details

Details for the file youqu_playbook-2024.11.28-py3-none-any.whl.

File metadata

File hashes

Hashes for youqu_playbook-2024.11.28-py3-none-any.whl
Algorithm Hash digest
SHA256 d7052d1b5998661df192799ddf07af66e1c439da43070dac60a458e6a254970f
MD5 1543861430d40a42b81a0e0050254236
BLAKE2b-256 2117d343df0ade0afc4dabf65be4ca285bdb0e049b9c16a369fe8613b1a6d4ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page