Releases: tjhop/mango
Releases · tjhop/mango
v0.11.1
Changelog
Fixes
- 59476bd fix: remove dupe mod IDs in log line
Other Changes
- 24d9f1a build: update to go1.22.3
- decc020 chore:
go mod tidy
- 30d582e ci(goreleaser): fix tarball formatting that was preventing it from running
- 2220b5b ci: add systemd service file to archive (tarball) in releases
- 9257a7c ci: enable package builds for archlinux :archbtw:
- f2ee4f7 ci: enable verifiable builds with goreleaser
- 7f6a0ef ci: lots of updates/upgrades for release action
v0.11.0
Changelog
New Features And Changes
- 72e5e2a feat(inv): add
GetGroupsFor{Host,Self}()
to Store interface - 32f70fe feat(inv): add
IsHostEnrolled
method to Store interface - 6b9f766 feat: incorporate sprig template funcs, under the
sprig_
namespace
Fixes
- d802fee fix(inv): get modules assigned to groups in
GetModulesForHost()
- afd9f03 fix(inv): only get modules from roles valid for host in
GetModulesForHost()
- 2d90d91 fix(inv): update interface sig for
GetVariablesForHost
- b7e89d2 fix(template): block device queue stats path update + error checking
- d19882f fix: don't use
GetHost()
as form of enrollment check - d6399a5 fix: ensure host is enrolled in group before collecting group vars
- 8cbf358 fix: roles also allow variables, support parsing them in inventory
Other Changes
- 6520654 chore:
go get -u ./...
- 47196a9 chore: remove commented out dead code
- 8855c3c ref(inv):
GetVariablesForHost()
also get valid group/role variables - 4c923fd ref:
GetRolesFor{Host,Self}()
support group roles in both, standardize - 1fb9bba test: update loki config schema, fix testing loki
- 5610f85 test: update template module to use template more (for file name)
v0.10.2
v0.10.1
v0.10.0
Changelog
New Features And Changes
- 800d473 feat: add
--version
flag
Fixes
- 7375f23 fix(ref): use explicit child/scoped loggers, avoid variable shadowing
- f9daf87 fix(shell): handle interp error, prevent potential nil panics
- e125133 fix: better handle failures when parsing group glob/regex patterns
- 012d3ad fix: remove metric
mango_service_start_seconds
, it's redundant - 3faeba7 fix: return early if unable to gather kernel metadata
Other Changes
- 7a2c199 build!: stop building systemd packages for alpine linux
- 43adc1a chore: add todo comment alpine improvement
- 9952c21 chore: clean up old/no longer relevant todo comments
- 8a3a6c4 chore: fix typo in release changelog template
- 963a4c2 chore: remove commented out dead code
- 8acbab9 chore: update gitignore, ignore mango binary and golangci-lint cache
- 905cc83 ci(Makefile): lint with golangci-lint container instead of binary
- 9f6b530 ci: add
ci
andtest
commit prefixes to changelogs - bca2322 ci: remove unnecessary quotes from Makefile
- e6a23e8 ref: convert
mango_manager_module_run_duration_seconds
to histogram - de4f823 ref: rename
config
pkg toversion
- 6ea9131 test: fix prometheus port forward in test services
v0.9.0
v0.8.1
v0.8.0
Changelog
- 465f7be build: set term in inventory test systems for easier use
- 6c73e79 chore(deps): deprecate internal
self
pkg, clean dead code - 77d773e chore: update comment description
- a47a6f5 chore: update gitignore config
- aa4f9c1 chore: update help message for hostname flag
- df0e212 feat(template): add /proc/cpuinfo to system cpu metadata
- 39c798f feat(template): add CPU core count metadata for templates
- cdab475 feat(template): add
humanizeBytes
andhumanizeIBytes
functions - ecaa0ec feat(template): add storage metdadata for disk/mount info
- 10f37a4 feat(template): add total/free memory system metadata
- 8866cd3 feat(templating): add
Full
field to kernel data for formatted string - 9acff3a feat: add
IsHidden
func to util pkg - c620c41 fix(template): storage metadata block device queue stats path
- 3a9934b fix: more consistently check for hidden files in inventory
- 4631502 fix: only run directive if modified within <24h ago
- f1491f2 lint: goimports fixes
- 03a035a ref!: refactor out info metrics into main/mango, inventory, etc
- 9d64edd ref(template): parse /proc/meminfo directly for memory metadata
- 8bb0d3f ref(template): re-organize system metadata stuff a bit
- 7d42958 ref: convert auto reload ticker to oklog run routine
- 9de4725 ref: convert inventory pkg to use log/slog
- f0d4dd2 ref: convert main to use log/slog
- 419e1c9 ref: convert manager package to use log/slog
- 6d00b47 ref: improve runID generation
- 45ab7f2 ref: metrics HTTP server now setup from main, remove deprecated stuff
- 6428853 ref: move
GetHostname()
func to pkg/utils/ - 1d1f136 ref: move manager pkg template func to internal/manager/template.go
- 1d26c91 ref: move system metadata funcs to new file in
manager
pkg - 4674e46 ref: move system metadata type defs to
system_metadata.go
- 2cd2575 ref: move utils pkg from internal/ -> pkg/
- d1e3459 ref: remove logging from util pkg
- 9e14f63 ref: remove unused utility functions
- 52a5ee2 ref: run metrics webserver as oklog/run routine and do it better
- 0db5422 ref: simply GetHostname wrapper to disregard error
- f88105c ref: split directive configs/funcs to new file in
manager
pkg - 96bf338 ref: split manager metrics into it's own file
- f106807 ref: split module configs/funcs to new file in
manager
pkg