Files
openstackclient/playbooks/openstackclient-check-plugins/run.yaml
Dean Troyer 8a73ffa2bb Revert "check-plugins job: convert the job to tox"
This reverts commit 1aed3ce715.

Change-Id: Id983fddcf07a5a43da62b7529d531c2444404b22
2019-09-11 08:41:09 -05:00

20 lines
1007 B
YAML

- hosts: all
name: Run openstackclient plugin check
tasks:
- shell:
cmd: |
echo "------------------------------------------------------------"
virtualenv osc_plugins
osc_plugins/bin/pip install -e ../../x/pbrx
echo "------------------------------------------------------------"
osc_plugins/bin/pip install -c ../requirements/upper-constraints.txt -r requirements.txt
echo "------------------------------------------------------------"
osc_plugins/bin/pbrx install-siblings -c ../requirements/upper-constraints.txt $(find ../.. -mindepth 2 -maxdepth 2)
echo "------------------------------------------------------------"
osc_plugins/bin/pbr freeze
echo "------------------------------------------------------------"
osc_plugins/bin/openstack --version
osc_plugins/bin/python tests/check_osc_commands.py
chdir: /home/zuul/src/opendev.org/openstack/openstackclient