ogc,一个跑东西的人

ogc的Python项目详细描述


Build Status

ogc,一个跑东西的人

ogc-任务运行器,重点是部署/测试/报告。

说明

ogc由可以在https://pypi.org上发现的插件提供支持 前缀ogc-plugins。安装了插件后,运行can的不同方面 通过spec文件定义,spec文件是设置插件的yaml文件 特定目标的配置。

用法

> pip install ogc
> ogc --spec jobs/validate/spec.yml --tag core

# Or with a ogc.yml file in same directory running ogc from
> ogc

添加插件

要使ogc更有用,请安装几个插件:

> pip install ogc-plugins-juju

这将允许您添加诸如运行脚本和准备 环境变量。有关更多信息,请参见文档的插件部分 信息。

meta:name:Validate Charmed Kubernetesdescription:|Runs validation test suite against a vanilla deployment of Charmed Kubernetesmkdocs:destination:validations/ck/index.mdplan:-&BASE_JOBenv:-SNAP_VERSION=1.16/edge-JUJU_DEPLOY_BUNDLE=cs:~containers/charmed-kubernetes-JUJU_DEPLOY_CHANNEL=edge-JUJU_CLOUD=aws/us-east-2-JUJU_CONTROLLER=validate-ck-JUJU_MODEL=validate-modelinstall:-pip install -rrequirements.txt-pip install -rrequirements_test.txt-pip install git+https://github.com/juju/juju-crashdump.git-sudo apt install -qyf build-essential-sudo snap install charm --edge --classic-sudo snap install juju --classicbefore-script:-juju:cloud:$JUJU_CLOUDcontroller:$JUJU_CONTROLLERmodel:$JUJU_MODELbootstrap:debug:nomodel-default:-test-mode=truedeploy:reuse:nobundle:$JUJU_DEPLOY_BUNDLEoverlay:|applications:kubernetes-master:options:channel: $SNAP_VERSIONkubernetes-worker:options:channel: $SNAP_VERSIONwait:yeschannel:$JUJU_DEPLOY_CHANNELscript:-|#!/bin/bashset -euxpytest jobs/integration/validation.py \--cloud $JUJU_CLOUD \--controller $JUJU_CONTROLLER \--model $JUJU_MODELafter-script:-juju-crashdump -a debug-layer -a config -m $JUJU_CONTROLLER:$JUJU_MODEL-aws s3 sync *.log s3://jenkaas/$JUJU_DEPLOY_BUNDLE/$SNAP_VERSION-aws s3 sync juju-crashdump* s3://jenkaas/$JUJU_DEPLOY_BUNDLE/$SNAP_VERSION-juju destroy-controller -y --destroy-all-models --destroy-storage $JUJU_CONTROLLERtags:[core]-<<:*BASE_JOBenv:-SNAP_VERSION=1.15/edge-JUJU_DEPLOY_BUNDLE=charmed-kubernetestags:[core]-<<:*BASE_JOBenv:-SNAP_VERSION=1.14/edge-JUJU_DEPLOY_BUNDLE=charmed-kubernetestags:[core]-<<:*BASE_JOBenv:-JUJU_DEPLOY_BUNDLE=charmed-kubernetes-SNAP_VERSION=1.13/edgetags:[core]-<<:*BASE_JOBenv:-SNAP_VERSION=1.16/edge-JUJU_DEPLOY_BUNDLE=kubernetes-calicotags:[calico]-<<:*BASE_JOBenv:-SNAP_VERSION=1.15/edge-JUJU_DEPLOY_BUNDLE=kubernetes-calicotags:[calico]-<<:*BASE_JOBenv:-SNAP_VERSION=1.14/edge-JUJU_DEPLOY_BUNDLE=kubernetes-calicotags:[calico]-<<:*BASE_JOBenv:-JUJU_DEPLOY_BUNDLE=kubernetes-calico-SNAP_VERSION=1.13/edgetags:[calico]

更多信息

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在导入到Google工作表时使用ApachePOI显示系列标签   java在Swing表上修改数据生成SQL   java TCP数据包在网络级别合并   java自动连线bean在线程位置为空   javasocket。禁用无线连接时getOutputStream()阻塞   JSON上的javascript字符串数组。stringify输出unicode字符   java在Oracle数据库中存储不同类型数据的最佳体验   Spring MVC中模板引擎后的java进程输出   不知从哪里来的java空字符串。   如何加载java。使用Adobe Flex的客户端的属性文件?   java如何替换多层括号之间的所有内容?   {JSONObject必须以java'开头   java使用commandButton或commandLink返回并管理HTML控件值   java Android大文本视图动态   java JMock需要自定义类   java Android应用程序在emulator中工作,但在设备中失败   java连接到derby数据库时使用什么文件路径格式?   java在一个函数调用中返回两个结果?