Skip to content

Fix content_view_version_cleanup_role version listing in test #40

Fix content_view_version_cleanup_role version listing in test

Fix content_view_version_cleanup_role version listing in test #40

Triggered via push July 9, 2024 14:42
Status Failure
Total duration 9m 23s
Artifacts 2

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
build (3.5, stable-2.11)
Could not find a version that satisfies the requirement pip (from versions: )
build (3.5, stable-2.11)
No matching distribution found for pip
build (3.5, stable-2.11)
The process '/usr/bin/bash' failed with exit code 1
execution_environment
Process completed with exit code 1.
jinja[spacing]: roles/content_view_version_cleanup/tasks/find_and_delete_unused_cv_versions.yml#L17
Jinja2 spacing could be improved: {{ (__foreman_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int):] }} -> {{ (__foreman_versions.resources | rejectattr('environments') | rejectattr('composite_content_view_ids') | rejectattr('published_in_composite_content_view_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int) :] }}
jinja[spacing]: roles/content_view_version_cleanup/tasks/main.yml#L22
Jinja2 spacing could be improved: {{ (__foreman_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int):] }} -> {{ (__foreman_ccv.versions | rejectattr('environment_ids') | map(attribute='version') | map('float') | sort | map('string') | reverse | list)[(foreman_content_view_version_cleanup_keep | int) :] }}

Artifacts

Produced during runtime
Name Size
collection Expired
482 KB
docs-html Expired
3.86 MB