Skip to content

pig-v1.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Aug 15:32

Pig v1.8.0 makes Pigsty controller setup native. The two core setup commands,
pig sty boot and pig sty conf, are now failure-aware Go workflows instead of
wrappers around the legacy bootstrap and configure shell scripts. The release
keeps the public catalog total at 575 packaged PostgreSQL extensions and embeds
Pigsty 4.5.0.

Native pig sty boot

  • Bootstraps the controller end to end: locale, repositories, controller packages,
    Ansible and its Python dependencies, localhost SSH, and a missing ~/pigsty tree.
  • Supports online sources, explicit local packages or HTTP(S) URLs, trusted automatic
    offline packages, and an already prepared /www/pigsty repository.
  • Backs up replaced repository definitions and restores them on package-setup failure.
    Explicit input errors are hard failures; optional final conveniences are warnings.
    JSON and YAML output expose the selected mode, rollback state, warnings, and next steps.

Native pig sty conf

  • Generates Inventory from a safe template below <PIGSTY_HOME>/conf, with equivalent
    positional and --conf mode selection, up to ten ordered IPv4 mappings, and exact
    placeholder-domain replacement.
  • Adds deterministic interactive and non-interactive IP selection, structural mutations,
    complete validation, and random-secret generation without leaking values in structured output.
  • Refuses direct, symlink, symlinked-parent, and hard-link source/output aliasing, then
    atomically writes a validated result with mode 0600.

Other updates

  • EL8 and newer consistently prefer DNF, local RPM requirements are resolved by provider
    capability, fresh repository bootstraps restore /www -> /data/nginx, and self-update
    accepts whitespace in the latest-version marker.
  • Extension packages, metadata, and availability matrices receive their routine refresh;
    the published PostgreSQL-extension count remains 575.
  • CI and release builds use Go 1.26.6, pinned analysis tools and GoReleaser, dependency
    verification, workflow linting, vulnerability scanning, and a full release snapshot.

Compatibility notes

  • pig sty boot no longer executes <PIGSTY_HOME>/bootstrap.
  • pig sty conf --raw has been removed; use the native workflow. --conf MODE remains
    available, with pig sty conf MODE as the equivalent positional form.
  • pig sty conf --ip accepts up to ten comma-separated IPv4 addresses; --skip and
    --ip remain mutually exclusive.
  • EL8 and newer use DNF. The limited EL7 catalog retains its separate legacy YUM path.

Artifacts

Release archives for Linux and macOS (amd64 and arm64), RPM packages (x86_64 and
aarch64), DEB packages (amd64 and arm64), and checksums.txt are attached below.