[NFC] repo-wide: Replace montoring.yml with monitoring.yaml

**Summary**

- Previous commit handled all the renames, this commit chnages:
- Comment text in some monitoring files
- The taskfile task for a new monitoring file
- The CI check for monitoring file existence
This commit is contained in:
David Harder 2025-01-11 21:11:40 -06:00
parent 071d113d23
commit ee3114db8e
No known key found for this signature in database
11 changed files with 14 additions and 14 deletions

View file

@ -295,14 +295,14 @@ tasks:
- common/Scripts/check_appstream_progress.py packages
add-monitoring:
desc: Add skeleton for monitoring.yml
desc: Add skeleton for monitoring.yaml
dir: '{{ .USER_WORKING_DIR }}'
vars:
DATE:
sh: date -u +%Y-%m-%d
COMMENT: "# No known CPE, checked {{ .DATE }}"
cmds:
- touch monitoring.yml
- touch monitoring.yaml
- yq --inplace '
. head_comment="Remove all comments before submitting, except CPE check date if none found" |
.releases.id line_comment = "Check https://release-monitoring.org/" |
@ -310,4 +310,4 @@ tasks:
.releases.[] = ~ |
(.security | key) head_comment = "{{ .COMMENT }}" |
.security.cpe = ~
' monitoring.yml
' monitoring.yaml

View file

@ -421,7 +421,7 @@ class Homepage(PullRequestCheck):
class Monitoring(PullRequestCheck):
_error = '`monitoring.yml` is missing'
_error = '`monitoring.yaml` is missing'
_level = Level.WARNING
def run(self) -> List[Result]:
@ -430,7 +430,7 @@ class Monitoring(PullRequestCheck):
if not self._has_monitoring_yml(f)]
def _has_monitoring_yml(self, file: str) -> bool:
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yml'))
return self._exists(os.path.join(os.path.dirname(file), 'monitoring.yaml'))
class PackageBumped(PullRequestCheck):

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~

View file

@ -1,4 +1,4 @@
# This package will never benefit from a monitoring.yml please do not attempt to edit any of the fields.
# This package will never benefit from a monitoring.yaml please do not attempt to edit any of the fields.
# https://github.com/getsolus/packages/issues/4533
releases:
id: ~