Skip to content

always declare vars as dicts #1227

always declare vars as dicts

always declare vars as dicts #1227

Triggered via push April 8, 2024 11:55
Status Failure
Total duration 9m 27s
Artifacts 2

main.yml

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

Annotations

2 errors and 2 warnings
build (3.10, stable-2.15)
Process completed with exit code 2.
build (3.5, stable-2.11)
You are using pip version 20.3.4, however version 24.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
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
450 KB
docs-html Expired
3.83 MB