Browse Source

Merge "Fix ansible deprecation warnings"

changes/90/628090/1
Zuul 6 months ago
parent
commit
6cfcecf157
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      tasks/repo_build_prepare.yml
  2. 1
    1
      templates/manifest.in.j2

+ 1
- 1
tasks/repo_build_prepare.yml View File

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

+ 1
- 1
templates/manifest.in.j2 View File

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

Loading…
Cancel
Save