Skip to content

Releases: tjhop/mango

v0.6.0

23 Jun 21:13
Compare
Choose a tag to compare

Changelog

  • 01e2804 chore: remove TODO comment
  • 8199712 feat!: requires file on modules in inventory for explicit ordering
  • e7ee2fd feat(manager): manage modules as DAG

v0.5.0

14 Jun 04:13
Compare
Choose a tag to compare

Changelog

  • 3a6050d feat: add templating support to directive scripts
  • b3e8a5f feat: allow for templating variables files for both hosts and modules
  • d34ffc2 ref(template): gather os/kernel metadata once when creating manager

v0.4.0

02 Jun 03:27
Compare
Choose a tag to compare

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

21 May 15:42
Compare
Choose a tag to compare

Changelog

  • e86021b chore: go mod tidy
  • 78bbe2d feat(template): add os-release and kernel metadata
  • 791e255 feat: expose module name in mango template metadata

v0.2.0

17 May 20:51
Compare
Choose a tag to compare

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

11 May 01:51
Compare
Choose a tag to compare

Changelog

  • 0b54c07 feat: add manager metric for run-in-progress
  • bee4134 feat: add manager name to runtime info metric

v0.1.0

08 May 02:50
Compare
Choose a tag to compare

Changelog

  • a3becde chore: add binary at project root to gitignore
  • d4a54ef chore: lil bits of tidying up
  • ba22c45 feat!: allow templating of scripts
  • ced5d58 fix!: improve variable sourcing, prevent duplicates

v0.0.5

28 Apr 21:04
Compare
Choose a tag to compare

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

15 Apr 03:23
Compare
Choose a tag to compare

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 to mango_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, favor mango_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

v0.0.3

18 Jan 05:31
Compare
Choose a tag to compare

Changelog

  • 76ce5fa ref: check directive script modtime at script run time