[ci] Fix checking cleanup

Long time ago we added a special script which makes a dump of available
resources before Rally launch and compares it to what we have after
executing all workloads.

Since cleanup issues relate to Rally code itself, it is fair to fail CI
jobs only for our project and print warning at other projects' CI.

Unfortunately, after moving OpenStack relasted plugins to the separate
repository, we forgot to fix the check which identifies the type of
job.

Change-Id: I760d49a5f50eb223198f6e507e01c1a27d58c745
This commit is contained in:
Andrey Kurilin 2018-10-10 13:13:53 +03:00
parent 4201363727
commit f7df90868e
2 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,8 @@ def main():
# projects, which have rally job, should not be affected by
# this check, since in most cases resources are left due
# to wrong cleanup of a particular scenario.
if os.environ.get("ZUUL_PROJECT") == "openstack/rally":
print(os.environ.get("ZUUL_PROJECT"))
if os.environ.get("ZUUL_PROJECT") == "openstack/rally-openstack":
return 1
return 0
return 0

View File

@ -5,7 +5,6 @@
args:
chdir: "{{ zuul.projects['git.openstack.org/openstack/rally-openstack'].src_dir }}"
register: command_result
ignore_errors: True
- name: Check results of listing resources
shell: