Verified Commit aeec4ede authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Fix: CI: promtool: adds skeleton test file

parent 4790251b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ promtool:
    entrypoint: [""]
  script:
    - promtool check config configs/prometheus/prometheus.yml
    - promtool test rules configs/prometheus/*rules*
    - promtool test rules configs/prometheus/test.yml

#
# Release
+22 −0
Original line number Diff line number Diff line
---
# Sample Prometheus test rule file to be used with Docker Compose.
#
# Copyright (C) 2025 The Tor Project, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License,
# or any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

rule_files:
  - prometeus-rules.yml

tests: