Skip to content

sadame v0.2.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 18:07
· 47 commits to main since this release

Rolling changes across a fleet, four more resource types, and Alpine
services.

Added

  • --forks N works on at most N hosts at once.
  • --serial N or --serial N% runs the hosts in batches, one after
    another, and stops after a batch in which a host failed or could not be
    reached. The hosts of later batches are reported as skipped.
  • The line resource manages one line in a file that a package owns:
    lines that match match: are replaced, otherwise the line is appended.
    verify: checks the edited file first, and plan shows the edit as a
    diff of the file.
  • The link resource manages symbolic links; force: true replaces a
    regular file in the way.
  • The group resource manages local groups and their gid, with BusyBox's
    addgroup and delgroup on an Alpine without shadow.
  • The git resource keeps a checkout at a tag, a branch or a commit, and
    moves it when the branch moves. With user:, git runs as that user.
  • service works with OpenRC, so on Alpine too.
  • Homebrew tap: brew install enderkus/sadame/sadame installs the release
    binary on macOS and Linux.
  • The docs' home page shows the navigation, the terminal recording and what
    sets sadame apart, with buttons to get started and to star the project.
  • Links to the project on X, @sadame_rb, in the
    docs' footer and the README.

Changed

  • In push mode's JSON, hosts[].exit_status is null for hosts that
    --serial skipped.
  • Example 05 sets PostgreSQL's include_dir with line instead of a
    guarded exec, and the Ansible migration example translates
    lineinfile to line.
  • The Docker integration tests boot OpenRC in the Alpine containers, so
    the service examples run on Alpine too.
  • The terminal recording in the README and on the docs' home page has
    larger, readable text.

Fixed

  • The icons on the docs' home page cards were shown as text.
  • Links in the docs' dark color scheme were blue instead of the brand pink.