mirror of
https://github.com/getsolus/packages.git
synced 2025-04-26 12:50:29 +03:00
[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:
parent
071d113d23
commit
ee3114db8e
11 changed files with 14 additions and 14 deletions
|
@ -295,14 +295,14 @@ tasks:
|
||||||
- common/Scripts/check_appstream_progress.py packages
|
- common/Scripts/check_appstream_progress.py packages
|
||||||
|
|
||||||
add-monitoring:
|
add-monitoring:
|
||||||
desc: Add skeleton for monitoring.yml
|
desc: Add skeleton for monitoring.yaml
|
||||||
dir: '{{ .USER_WORKING_DIR }}'
|
dir: '{{ .USER_WORKING_DIR }}'
|
||||||
vars:
|
vars:
|
||||||
DATE:
|
DATE:
|
||||||
sh: date -u +%Y-%m-%d
|
sh: date -u +%Y-%m-%d
|
||||||
COMMENT: "# No known CPE, checked {{ .DATE }}"
|
COMMENT: "# No known CPE, checked {{ .DATE }}"
|
||||||
cmds:
|
cmds:
|
||||||
- touch monitoring.yml
|
- touch monitoring.yaml
|
||||||
- yq --inplace '
|
- yq --inplace '
|
||||||
. head_comment="Remove all comments before submitting, except CPE check date if none found" |
|
. head_comment="Remove all comments before submitting, except CPE check date if none found" |
|
||||||
.releases.id line_comment = "Check https://release-monitoring.org/" |
|
.releases.id line_comment = "Check https://release-monitoring.org/" |
|
||||||
|
@ -310,4 +310,4 @@ tasks:
|
||||||
.releases.[] = ~ |
|
.releases.[] = ~ |
|
||||||
(.security | key) head_comment = "{{ .COMMENT }}" |
|
(.security | key) head_comment = "{{ .COMMENT }}" |
|
||||||
.security.cpe = ~
|
.security.cpe = ~
|
||||||
' monitoring.yml
|
' monitoring.yaml
|
||||||
|
|
|
@ -421,7 +421,7 @@ class Homepage(PullRequestCheck):
|
||||||
|
|
||||||
|
|
||||||
class Monitoring(PullRequestCheck):
|
class Monitoring(PullRequestCheck):
|
||||||
_error = '`monitoring.yml` is missing'
|
_error = '`monitoring.yaml` is missing'
|
||||||
_level = Level.WARNING
|
_level = Level.WARNING
|
||||||
|
|
||||||
def run(self) -> List[Result]:
|
def run(self) -> List[Result]:
|
||||||
|
@ -430,7 +430,7 @@ class Monitoring(PullRequestCheck):
|
||||||
if not self._has_monitoring_yml(f)]
|
if not self._has_monitoring_yml(f)]
|
||||||
|
|
||||||
def _has_monitoring_yml(self, file: str) -> bool:
|
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):
|
class PackageBumped(PullRequestCheck):
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
|
@ -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
|
# https://github.com/getsolus/packages/issues/4533
|
||||||
releases:
|
releases:
|
||||||
id: ~
|
id: ~
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue