Releases: tjhop/mango
Releases Β· tjhop/mango
v0.6.0
v0.5.0
v0.4.0
Changelog
- bcc5199 chore: fix spacing on Makefile target help message
- 9cad9af chore: go mod tidy
- cccd7d5 chore: go mod tidy
- 715532e feat(template): add go-sockaddr.Parse() func for IP/network stuff
- 4a4f0f4 feat(template): add isIPv4()/isIPv6() functions for IP validation
- a478c0f feat: add
--inventory.reload-interval
/timer support for auto reloads - 6b19a7d feat: namespace imported template funcs, starting with sockaddr
- 35c3b7b fix(template): recover from template panics, don't crash whole daemon
- b882d30 ref: use sockaddr/template funcs directly, no need to parse manually
v0.3.0
v0.2.0
Changelog
- 02f10a2 feat(ci): add basic makefile
- 82273c3 feat(ci): allow systemd reloads to send SIGHUP to mango for reload
- 4f27d24 feat(ci): provide inventory path to command in systemd unit
- 64b7e0a feat(ci): update test container image to have systemd for better testing
- 8e32a95 feat(manager): add
ReloadAndRunAll()
func, prep context for templates - 3d1be47 feat(manager): expose enrollment/runID in template as metadata
- 41ebd4f feat(template): add more auto-popoulated metadata/runtime vars
- a2ae54c ref: move templating logic to manager, shell just executes
- 360e20f ref: store inventory struct within manager struct
v0.1.1
v0.1.0
v0.0.5
Changelog
- 2f6b45f chore: cleanup TODO code comments that aren't relevant anymore
- 3c6c245 fix(manager): add mutex to prevent spam'd reloads starting concurrent runs
- 2f95f8d fix(shell): ensure interp gets copy of os env, append on vars
- 433a3a2 fix: improve script run log organization
- 1ab3c86 fix: revert bad fix for ensuring PATH is passed to scripts
v0.0.4
Changelog
- af7c7c3 chore(style): go fmt
- 9b306d2 chore: add completion logs to manager
- e4d70ec chore: add vim swap files to gitignore
- ea244f2 chore: go fmt
- 26d96c7 chore: go mod tidy
- 48df5fc chore: improve inventory metric common label map usage
- 8c1f2af chore: improve manager logging and some cleanup
- 091e439 chore: update var name so I don't confuse myself in the future
- f4b5e18 feat: add
enrolled
label tomango_runtime_info
meta metric - 19796f0 feat: add flag to toggle json/logfmt output
- 0135546 feat: allow setting custom/alternate hostname by flag
- ada7b74 feat: ensure that duplicate modules are filtered out
- dd0fea5 feat: init mvdan sh lib for improved script handling
- fb7489a feat: init oklog/ulid for run IDs, improve logging of run IDs
- 275352c feat: pass context when parsing inventory
- 30b4a0e feat: remove
hostname
from inv labels, favormango_runtime_info
- 2437644 fix(docs): docker command in readme missing newline escape
- 4aa563c fix(manager): actually include the error in the error log
- cd4cd1e fix(manager): actually run directives
- bd3ebd6 fix(manager): remove unused var, make linter happy
- 40b902f fix(shell): error out early if no script path provided
- a814b5d fix(test): filename logging in test inventory scripts
- 078279e fix: ensure PATH is passed through to interp running scripts
- 97b5eef fix: label names in manager metric label maps
- 9acc37c fix: print stringified signals when logging
- b3e0592 fix: remove diff logs of manager objects, it can leak secrets
- f391ae1 fix: stop
filterDuplicateModules()
from inserting empty mods on output - ab4da6c fix: the hell was I thinking? 'global' vars in inventory don't exist
- 3769b5f ref: accept runID explicitly in shell.Run(), use context keys for runID