Skip to content

Releases: tjhop/mango

v0.12.0

23 May 06:03
Compare
Choose a tag to compare

Changelog

New Features And Changes

  • 93fc103 feat: log the template-rendered script content for debugging
  • ad06da9 feat: migrate from sprig -> sprout for updated template func lib
  • 7b78868 feat: stop namespacing different template library funcs

Other Changes

  • 9659418 build: update packaged systemd service to set --inventory.reload-interval 5m
  • dd62baa chore: go get -u ./...

v0.11.1

18 May 16:35
Compare
Choose a tag to compare

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

17 May 05:15
Compare
Choose a tag to compare

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

08 May 06:04
Compare
Choose a tag to compare

Changelog

Fixes

  • 81d9166 fix!: manager track prev executed directives, prevent duplicate runs

Other Changes

  • 7f598d0 chore(manager): improve error logging around DAG
  • 189759d chore: remove editor BS from gitignore

v0.10.1

18 Apr 03:10
Compare
Choose a tag to compare

Changelog

Other Changes

v0.10.0

17 Apr 17:15
Compare
Choose a tag to compare

Changelog

New Features And Changes

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 and test 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 to version
  • 6ea9131 test: fix prometheus port forward in test services

v0.9.0

09 Mar 19:40
Compare
Choose a tag to compare

Changelog

Fixes

  • 04edbe9 fix: allow unset log level flag, default to info if unset

Other Changes

  • a8a65a1 chore: make linter happy
  • 586fc7e chore: update go modules
  • 2df1725 ref!: use updated procfs lib for memory metadata in templates

v0.8.1

10 Nov 05:56
Compare
Choose a tag to compare

Changelog

New Features And Chnages

  • 72e02f3 feat: add ascii art to flag usage help command
  • d2ea736 feat: add proper help flag, make mango charityware <3

v0.8.0

01 Nov 01:37
Compare
Choose a tag to compare

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 and humanizeIBytes 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

v0.7.0

21 Jul 04:51
Compare
Choose a tag to compare

Changelog

  • 68a99c1 feat!: add host group concept to inventory, support globs + regex