Add logviewer: web UI for the ClickHouse log store #1

Merged
benvin merged 3 commits from benvin/initial into main 2026-08-23 17:20:33 +10:00
5 changed files with 60 additions and 5 deletions
Showing only changes of commit 09f8fcd83d - Show all commits
+19
View File
@@ -0,0 +1,19 @@
exclude: ^web/static/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
hooks:
- id: go-fmt
- id: go-vet
- id: go-unit-tests
+3 -5
View File
@@ -1,13 +1,11 @@
when:
- event: [pull_request, push]
- event: pull_request
steps:
- name: test
- name: build
image: golang:1.25
commands:
- go vet ./...
- test -z "$(gofmt -l .)"
- go test -race ./...
- make build
backend_options:
kubernetes:
serviceAccountName: default
+18
View File
@@ -0,0 +1,18 @@
when:
- event: pull_request
steps:
- name: pre-commit
image: git.unkin.net/unkin/almalinux9-gobuilder:20260606
commands:
- uvx pre-commit run --all-files
backend_options:
kubernetes:
serviceAccountName: default
resources:
requests:
memory: 512Mi
cpu: 1
limits:
memory: 2Gi
cpu: 2
+20
View File
@@ -0,0 +1,20 @@
when:
- event: pull_request
steps:
- name: test
image: golang:1.25
commands:
- go vet ./...
- test -z "$(gofmt -l .)"
- go test -v -race ./...
backend_options:
kubernetes:
serviceAccountName: default
resources:
requests:
memory: 512Mi
cpu: 1
limits:
memory: 2Gi
cpu: 2