Skip to content

Commit 1c51d16

Browse files
author
AnalyseDeCircuit
committed
chore(release): merge release/v0.1.0
2 parents 8a96e9f + ecbe33c commit 1c51d16

4 files changed

Lines changed: 132 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: read
10+
packages: write
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up QEMU
21+
uses: docker/setup-qemu-action@v2
22+
23+
- name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v3
25+
26+
- name: Run goreleaser
27+
uses: goreleaser/goreleaser-action@v4
28+
with:
29+
version: latest
30+
args: release --rm-dist
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
project_name: web-monitor
2+
3+
builds:
4+
- id: server
5+
main: ./cmd/server
6+
env:
7+
- CGO_ENABLED=1
8+
goos:
9+
- linux
10+
goarch:
11+
- amd64
12+
- arm64
13+
ldflags:
14+
- -s -w
15+
16+
archives:
17+
- id: default
18+
format: tar.gz
19+
files:
20+
- LICENSE
21+
- README.md
22+
23+
dockers:
24+
- image_templates:
25+
- "ghcr.io/AnalyseDeCircuit/web-monitor:{{ .Tag }}"
26+
- "ghcr.io/AnalyseDeCircuit/web-monitor:latest"
27+
dockerfile: Dockerfile
28+
buildx: true
29+
platforms:
30+
- linux/amd64
31+
- linux/arm64
32+
33+
release:
34+
github:
35+
owner: AnalyseDeCircuit
36+
name: web-monitor

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Changelog
2+
3+
All notable changes for this project will be documented in this file.
4+
5+
## v0.1.0
6+
7+
### What it is
8+
A lightweight, modular web-based system monitor designed to scale
9+
from embedded devices to small server clusters.
10+
11+
### Features
12+
- CPU / Memory / Disk / Network monitoring
13+
- Modular feature toggles
14+
- Multiple run modes via Makefile:
15+
- full (default)
16+
- minimal
17+
- server
18+
- no-docker
19+
- Low frontend CPU usage (<15%)
20+
21+
### Supported environments
22+
- Linux (bare metal / VPS)
23+
- Docker
24+
- WSL (partial)
25+
- macOS (limited, experimental)
26+
27+
### Known limitations
28+
- No long-term historical storage
29+
- macOS / WSL lack some system metrics
30+
- No authentication hardening by default
31+
32+
### Philosophy
33+
Keep it simple, observable, and cheap to run.
34+
35+
## Who this is for
36+
- Small servers / VPS
37+
- Home lab
38+
- Embedded or low-power machines
39+
- Users who want instant visibility, not heavy dashboards
40+
41+
## Who this is NOT for
42+
- Enterprise monitoring
43+
- Long-term metrics storage
44+
- Alerting / SLA systems

RELEASE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Release v0.1.0
2+
3+
This repository includes automated release configuration.
4+
5+
Artifacts produced on release (tag `v*`):
6+
7+
- Source archives (tar.gz)
8+
- Linux binaries for `amd64` and `arm64` (tar.gz)
9+
- Docker images pushed to `ghcr.io/AnalyseDeCircuit/web-monitor` (tags: `vX.Y.Z`, `latest`) using `buildx` (linux/amd64, linux/arm64)
10+
11+
Pull example:
12+
13+
```bash
14+
docker pull ghcr.io/AnalyseDeCircuit/web-monitor:v0.1.0
15+
```
16+
17+
Notes for maintainers:
18+
- Releases are triggered by pushing a tag like `v0.1.0` to the repository.
19+
- The GitHub Actions workflow at `.github/workflows/release.yml` runs goreleaser to build archives and publish Docker images. It requires `GITHUB_TOKEN` (default) with `packages: write` permission.
20+
- For local testing: `goreleaser release --snapshot --rm-dist`

0 commit comments

Comments
 (0)