sensu-plugins-postgres icon indicating copy to clipboard operation
sensu-plugins-postgres copied to clipboard

overhaul asset builds to support newer postgres and ruby env

Open jspaleta opened this issue 4 years ago • 1 comments

Pull Request Checklist

General

  • [X] Update Changelog following the conventions laid out here

  • [X] Update README with any necessary configuration snippets

  • [X] RuboCop passes

  • [X] Existing tests pass

Purpose

User request to have asset work with postgres SCRAM password authentication algorithm introduced in postgresl 10. Major overhaul of asset builds to build against postgres 12 for all linux platform targets instead of relying on os host postgres packages ( long term stable releases have postgres 9.x and libpg doesn't support SCRAM)

Since this is a major overhaul this is also an opportunity to move the ruby26 runtime as the ruby24 runtime is EOL upstream now.

Known Compatibility Issues

the libpg ABI should not be impacted, so there should not be a compatibility issue. However to be safe this should be considered a breaking change and version should be major release bump.

jspaleta avatar Sep 17 '21 18:09 jspaleta

JFYI, it's libpq not libpg (Q not G for the last character)

lrosenman avatar Sep 23 '21 21:09 lrosenman