Merge "Fix ansible deprecation warnings"

This commit is contained in:
Zuul 2018-12-18 10:59:07 +00:00 committed by Gerrit Code Review
commit 6cfcecf157
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
- include_tasks: repo_clone_git.yml - include_tasks: repo_clone_git.yml
when: when:
- (repo_build_git_reclone | bool) or - (repo_build_git_reclone | bool) or
(_wheel_build_requirements | changed) (_wheel_build_requirements is changed)
tags: tags:
- repo-clone-repos - repo-clone-repos

View File

@ -1,7 +1,7 @@
{% for item in manifest_items['files'] %} {% for item in manifest_items['files'] %}
{% set item_cleaned = item['path'] | regex_replace(repo_build_base_path ~ "/", '') %} {% set item_cleaned = item['path'] | regex_replace(repo_build_base_path ~ "/", '') %}
{% set item_basename = item_cleaned | basename %} {% set item_basename = item_cleaned | basename %}
{% if item_cleaned | match(repo_build_release_version_path + "/.*/.*\.whl") %} {% if item_cleaned is match(repo_build_release_version_path + "/.*/.*\.whl") %}
{{ repo_build_pool_dir | regex_replace(repo_build_base_path ~ "/", '') }}/{{ item_basename.split('-')[0] }}/{{ item_basename | lower }} {{ repo_build_pool_dir | regex_replace(repo_build_base_path ~ "/", '') }}/{{ item_basename.split('-')[0] }}/{{ item_basename | lower }}
{{ item_cleaned | lower }} {{ item_cleaned | lower }}
{% else %} {% else %}