1 Star 1 Fork 23

李闯/avocado-vt

forked from openEuler/avocado-vt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.cirrus.yml 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
Cleber Rosa 提交于 2020-12-07 20:19 . Introduce vt-list-archs command
env:
CIRRUS_CLONE_DEPTH: 1
VT_TYPE: qemu
fedora_33_task:
container:
image: quay.io/avocado-framework/avocado-vt-ci-fedora-33
env:
PYTHON: python3
matrix:
# Get deps from setup.py (therefor pip version of avocado)
- AVOCADO_SRC:
# Latest LTS release is 69.x
- AVOCADO_SRC: avocado-framework<70.0
# Latest Avocado from git
- AVOCADO_SRC: git+https://github.com/avocado-framework/avocado#egg=avocado_framework
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
- SETUP: -m pip install PYPI_UPLOAD/*.whl
matrix:
- VT_TYPE: qemu
- VT_TYPE: libvirt
build_script:
- (echo $SETUP | grep -v PYPI_UPLOAD) || make pypi
setup_script: &setup_scr
- $PYTHON --version
- test -z $AVOCADO_SRC || $PYTHON -m pip install $AVOCADO_SRC
- $PYTHON $SETUP
bootstrap_script: &bootstrap_scr
- $PYTHON -m avocado vt-bootstrap --vt-type=$VT_TYPE --vt-skip-verify-download-assets --yes-to-all
list_script: &list_scr
- $PYTHON -m avocado list --vt-save-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list
- test $VT_TYPE == "qemu" || test $(wc -l < /tmp/list) -gt 50
- test $VT_TYPE == "libvirt" || test $(wc -l < /tmp/list) -eq 1
- $PYTHON -m avocado list --vt-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list_from_config
- diff /tmp/list /tmp/list_from_config
- $PYTHON -m avocado vt-list-guests --vt-type=$VT_TYPE
- $PYTHON -m avocado vt-list-archs --vt-type=$VT_TYPE
dry_run_script: &dry_run_scr
- $PYTHON -m avocado --show all run --vt-type=$VT_TYPE --dry-run -- io-github-autotest-qemu.boot
centos_8_1_task:
container:
image: quay.io/avocado-framework/avocado-vt-ci-centos-8.1
env:
PYTHON: python3
matrix:
- AVOCADO_SRC:
- AVOCADO_SRC: avocado-framework<70.0
- AVOCADO_SRC: git+https://github.com/avocado-framework/avocado#egg=avocado_framework
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
setup_script:
*setup_scr
bootstrap_script:
*bootstrap_scr
list_script:
*list_scr
dry_run_script:
*dry_run_scr
centos_7_task:
env:
PYTHON: python2
matrix:
- AVOCADO_SRC:
- AVOCADO_SRC: avocado-framework<70.0
matrix:
- SETUP: setup.py develop --user
- SETUP: -m pip install .
container:
image: quay.io/avocado-framework/avocado-vt-ci-centos-7
setup_script:
*setup_scr
bootstrap_script:
*bootstrap_scr
list_script:
*list_scr
dry_run_script:
*dry_run_scr
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lichuang0103/avocado-vt.git
git@gitee.com:lichuang0103/avocado-vt.git
lichuang0103
avocado-vt
avocado-vt
master

搜索帮助