pybuildkite:Buildkite API的Python库

时间:2021-01-30 06:33:32
【文件属性】:
文件名称:pybuildkite:Buildkite API的Python库
文件大小:28KB
文件格式:ZIP
更新时间:2021-01-30 06:33:32
python api continuous-integration api-client api-wrapper PyBuildkite 库和客户端。 用法 要获取软件包,请执行: pip install pybuildkite 然后设置Buildkite对象的实例,设置访问令牌,并提出任何可用的请求。 from pybuildkite . buildkite import Buildkite , BuildState buildkite = Buildkite () buildkite . set_access_token ( 'YOUR_API_ACCESS_TOKEN_HERE' ) # Get all info about particular org org = buildkite . organizations (). get_org ( 'my-org' ) # Get all running and scheduled builds for a particular pipeline builds = buildkite . builds (). list_all_for_pipeline ( 'my-org' , 'my-pipeline' , states = [ Bui
【文件预览】:
pybuildkite-master
----mypy.ini(36B)
----.github()
--------workflows()
----.buildkite()
--------pipeline.yml(486B)
----pybuildkite()
--------exceptions.py(479B)
--------artifacts.py(3KB)
--------buildkite.py(3KB)
--------teams.py(1KB)
--------annotations.py(1023B)
--------jobs.py(3KB)
--------pipelines.py(4KB)
--------decorators.py(842B)
--------organizations.py(1KB)
--------agents.py(2KB)
--------builds.py(13KB)
--------__init__.py(0B)
--------users.py(542B)
--------client.py(9KB)
--------emojis.py(1KB)
----requirements.txt(169B)
----pytest.ini(90B)
----LICENSE(1KB)
----setup.py(647B)
----README.md(3KB)
----tests()
--------test_client.py(8KB)
--------test_buildkite.py(1KB)
--------test_teams.py(1KB)
--------test_emojis.py(325B)
--------__init__.py(0B)
--------test_pipelines.py(3KB)
--------test_agents.py(853B)
--------test_builds.py(7KB)
--------conftest.py(162B)
--------test_jobs.py(3KB)
--------test_organizations.py(1KB)
--------test_artifacts.py(2KB)
--------test_annotations.py(444B)
--------test_user.py(271B)
----.gitignore(208B)

网友评论