Correct manifest index of openstack git folders
Currently the manifest contains all the possible repositories which would be present if a non-selective git clone was done, rather than the actual resulting list of git folders. This patch corrects the manifest to only contain the list of what is actually there after the build process completes. Depends-On: I15f993a3f80283f772bbb8ad75311f5117ff7ac0 Change-Id: I20ad8d21d4a68f8daa30c730a08a134b0cc9c0d3
This commit is contained in:
parent
ea4a5441fe
commit
421e9055c4
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Index all manifest items
|
- name: Index all os-releases/venvs files
|
||||||
find:
|
find:
|
||||||
file_type: any
|
file_type: any
|
||||||
paths:
|
paths:
|
||||||
@ -23,6 +23,15 @@
|
|||||||
tags:
|
tags:
|
||||||
- repo-create-release-manifest
|
- repo-create-release-manifest
|
||||||
|
|
||||||
|
- name: Index all openstackgit directories
|
||||||
|
find:
|
||||||
|
file_type: directory
|
||||||
|
paths:
|
||||||
|
- "{{ repo_build_git_dir }}"
|
||||||
|
register: manifest_git_items
|
||||||
|
tags:
|
||||||
|
- repo-create-release-manifest
|
||||||
|
|
||||||
- name: Create release manifest
|
- name: Create release manifest
|
||||||
template:
|
template:
|
||||||
src: "manifest.in.j2"
|
src: "manifest.in.j2"
|
||||||
|
@ -8,6 +8,6 @@
|
|||||||
{{ item_cleaned }}
|
{{ item_cleaned }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for clone_item in local_packages['results'][0]['item']['remote_package_parts'] %}
|
{% for item in manifest_git_items['files'] %}
|
||||||
{{ repo_build_git_dir | basename }}/{{ clone_item['name'] }}
|
{{ item['path'] | regex_replace(repo_build_base_path ~ "/", '') }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user