Revert inspec test to use Tempest from git
Change-Id: Ief99c2de7bbef8a61d57e7fde59507f791a4519f Implements: blueprint modern-chef
This commit is contained in:
parent
5c59b15c00
commit
642b6e7175
|
@ -6,7 +6,9 @@
|
||||||
# found at http://inspec.io/docs/reference/resources/
|
# found at http://inspec.io/docs/reference/resources/
|
||||||
|
|
||||||
# There is no console output during runtime, check log file instead.
|
# There is no console output during runtime, check log file instead.
|
||||||
describe command('sudo bash -c "sudo tempest run --smoke --serial --config-file /etc/tempest/tempest.conf | ' \
|
|
||||||
|
describe command('sudo bash -c "cd /opt/tempest && ' \
|
||||||
|
'sudo /opt/tempest-venv/tempest.sh | ' \
|
||||||
'tee /root/inspec-tempest-$(date -Iminutes).log &&' \
|
'tee /root/inspec-tempest-$(date -Iminutes).log &&' \
|
||||||
'exit \${PIPESTATUS[0]}"') do
|
'exit \${PIPESTATUS[0]}"') do
|
||||||
its('exit_status') { should eq 0 }
|
its('exit_status') { should eq 0 }
|
||||||
|
|
Loading…
Reference in New Issue