Skip to content

Fix the markdown code fences for install command (#306) #694

Fix the markdown code fences for install command (#306)

Fix the markdown code fences for install command (#306) #694

Triggered via push January 8, 2025 15:02
Status Failure
Total duration 55s
Artifacts

lint.yaml

on: push
Perform Linting
44s
Perform Linting
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 12 warnings
Perform Linting
Process completed with exit code 2.
Perform Linting: changelogs/changelog.yaml#L18
18:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L27
27:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L48
48:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L57
57:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L60
60:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L62
62:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L69
69:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L75
75:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L81
81:7 [indentation] wrong indentation: expected 8 but found 6
Perform Linting: changelogs/changelog.yaml#L88
88:7 [indentation] wrong indentation: expected 8 but found 6
schema[changelog]: changelogs/changelog.yaml#L1
$.releases.4.0.0.changes.minor_changes[5] {'fix': 'Apply correct uid + gid for imported dashboards by @hypery2k in https://github.com/grafana/grafana-ansible-collection/pull/167'} is not of type 'string'. See https://github.com/ansible-community/antsibull-changelog/blob/main/docs/changelog.yaml-format.md
meta-runtime[unsupported-version]: meta/runtime.yml#L1
'requires_ansible' key must refer to a currently supported version such as: >=2.15.0, >=2.16.0, >=2.17.0
risky-file-permissions: roles/grafana/tasks/configure.yml#L89
File permissions unset or incorrect.
jinja[invalid]: roles/grafana/tasks/main.yml#L5
An unhandled exception occurred while templating '{{ lookup('first_found', params, errors='ignore') }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while templating '{'skip': True, 'files': ["{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_version | lower }}.yml", "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml", "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml", "{{ ansible_facts['distribution'] | lower }}.yml", "{{ ansible_facts['os_family'] | lower }}.yml"], 'paths': ['vars/distro']}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: template error while templating string: expected token 'end of print statement', got '_version'. String: {{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_version | lower }}.yml. expected token 'end of print statement', got '_version'
jinja[invalid]: roles/grafana/tasks/main.yml#L8
An unhandled exception occurred while templating '{'skip': True, 'files': ["{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_version | lower }}.yml", "{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml", "{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml", "{{ ansible_facts['distribution'] | lower }}.yml", "{{ ansible_facts['os_family'] | lower }}.yml"], 'paths': ['vars/distro']}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: template error while templating string: expected token 'end of print statement', got '_version'. String: {{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_version | lower }}.yml. expected token 'end of print statement', got '_version'
jinja[invalid]: roles/grafana/tasks/main.yml#L10
template error while templating string: expected token 'end of print statement', got '_major_version'. String: {{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml. expected token 'end of print statement', got '_major_version'
jinja[invalid]: roles/grafana/tasks/main.yml#L10
template error while templating string: expected token 'end of print statement', got '_major_version'. String: {{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution']_major_version | lower }}.yml. expected token 'end of print statement', got '_major_version'
jinja[invalid]: roles/grafana/tasks/main.yml#L10
template error while templating string: expected token 'end of print statement', got '_version'. String: {{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution']_version | lower }}.yml. expected token 'end of print statement', got '_version'
command-instead-of-shell: roles/grafana_agent/tasks/ga-started.yaml#L18
Use shell only when shell functionality is required.
risky-shell-pipe: roles/grafana_agent/tasks/preflight/download.yaml#L5
Shells that use pipes should set the pipefail option.
Perform Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Perform Linting: .github/dependabot.yml#L6
6:1 [document-start] missing document start "---"
Perform Linting: .github/dependabot.yml#L8
8:30 [comments] too few spaces before comment
Perform Linting: .github/dependabot.yml#L9
9:20 [comments] too few spaces before comment
Perform Linting: .github/workflows/full-integration-test.yml#L65
65:151 [line-length] line too long (255 > 150 characters)
Perform Linting: .github/workflows/loki-molecule.yml#L4
4:1 [truthy] truthy value should be one of [false, true]
Perform Linting: .github/workflows/alloy-molecule.yml#L4
4:1 [truthy] truthy value should be one of [false, true]
Perform Linting: .github/workflows/modules-test.yml#L88
88:151 [line-length] line too long (161 > 150 characters)
Perform Linting: .github/workflows/modules-test.yml#L92
92:151 [line-length] line too long (243 > 150 characters)
Perform Linting: .github/workflows/modules-test.yml#L97
97:151 [line-length] line too long (161 > 150 characters)
Perform Linting: .github/workflows/roles-test.yml#L89
89:151 [line-length] line too long (196 > 150 characters)
jinja[spacing]: roles/grafana_agent/tasks/install/user-group.yaml#L32
Jinja2 spacing could be improved: {{ [ grafana_agent_user_group ] + grafana_agent_user_groups }} -> {{ \[grafana_agent_user_group] + grafana_agent_user_groups }}