Fix ansible deprecation warnings
=== [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. === Change-Id: If7ca8c8e749209ca3e021fd4604ff809d9e3a5db
This commit is contained in:
parent
ecff328ed6
commit
8634532731
@ -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
|
||||||
|
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user