Skip to content

Commit ca35376

Browse files
committed
Added holmesgpt
1 parent 16670be commit ca35376

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

renovate.json

+11
Original file line numberDiff line numberDiff line change
@@ -3676,6 +3676,17 @@
36763676
],
36773677
"versioningTemplate": "loose"
36783678
},
3679+
{
3680+
"customType": "regex",
3681+
"datasourceTemplate": "github-releases",
3682+
"depNameTemplate": "robusta-dev/holmesgpt",
3683+
"fileMatch": [
3684+
"^tools/holmesgpt/manifest.yaml$"
3685+
],
3686+
"matchStrings": [
3687+
"version: \"?(?<currentValue>.*?)\"?\\n"
3688+
]
3689+
},
36793690
{
36803691
"customType": "regex",
36813692
"datasourceTemplate": "npm",

tools/holmesgpt/Dockerfile.template

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#syntax=docker/dockerfile:1.12.0@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5
2+
3+
FROM ghcr.io/uniget-org/tools/python:latest AS python
4+
FROM ghcr.io/uniget-org/tools/shiv:latest AS shiv
5+
6+
FROM registry.gitlab.com/uniget-org/images/ubuntu:24.04 AS prepare
7+
#FROM registry.gitlab.com/uniget-org/images/build-essential:24.04 AS prepare
8+
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
9+
/etc/profile.d/ \
10+
/etc/profile.d/
11+
SHELL [ "bash", "-clo", "errexit" ]
12+
COPY --link --from=python / /usr/local/
13+
COPY --link --from=shiv / /usr/local/
14+
ARG name
15+
ARG version
16+
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
17+
shiv --output-file "${prefix}/bin/holmes" --console-script holmes "https://github.com/robusta-dev/holmesgpt/archive/refs/tags/${version}.tar.gz"
18+
EOF

tools/holmesgpt/manifest.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml
2+
$schema: https://tools.uniget.dev/schema.yaml
3+
name: holmesgpt
4+
license:
5+
name: MIT License
6+
link: https://github.com/robusta-dev/holmesgpt/blob/master/LICENSE.txt
7+
version: "0.6.1"
8+
binary: holmes
9+
check: ${binary} version | cut -d' ' -f2 | cut -d- -f1
10+
build_dependencies:
11+
- python
12+
- shiv
13+
runtime_dependencies:
14+
- python
15+
platforms:
16+
- linux/amd64
17+
#- linux/arm64
18+
tags:
19+
- category/development
20+
- lang/python
21+
- type/cli
22+
- ai
23+
homepage: https://github.com/robusta-dev/holmesgpt
24+
repository: https://github.com/robusta-dev/holmesgpt
25+
description: On-Call Assistant for Prometheus Alerts - Get a head start on fixing alerts with AI investigation
26+
renovate:
27+
datasource: github-releases
28+
package: robusta-dev/holmesgpt
29+
priority: low

0 commit comments

Comments
 (0)