Skip to content

always declare vars as dicts #1225

always declare vars as dicts

always declare vars as dicts #1225

Triggered via push April 8, 2024 11:34
Status Failure
Total duration 8m 56s
Artifacts 2

main.yml

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

Annotations

4 errors and 2 warnings
build (3.12, devel)
Process completed with exit code 2.
build (3.11, devel)
Process completed with exit code 2.
build (3.10, devel)
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
449 KB
docs-html Expired
3.83 MB