github carverauto/serviceradar v1.0.58

3 hours ago

Bug Fixes

PostgreSQL Extension Build Fixes

  • Fixed RBE build failures for PostgreSQL extensions: Resolved critical build issues preventing Docker images with TimescaleDB and AGE extensions from building in remote execution environment
  • Fixed CMake availability for TimescaleDB extension: Created symlinks to cmake binary and updated PATH configuration so TimescaleDB bootstrap script can find cmake
  • Fixed flex and bison availability for AGE extension: Created symlinks for flex and bison tools, updated environment variables, and PATH configuration for AGE extension builds

Docker Improvements

  • Fixed Docker image layout path resolution in RBE: Updated path normalization to handle both relative and absolute paths correctly in BuildBuddy RBE environment
  • Fixed docker secret handling in CI workflows: Improved secret management in GitHub Actions workflows

Technical Details

Docker Image Layout Path Resolution: The CNPG PostgreSQL rootfs extraction was failing because paths in RBE start with /buildbuddy-execroot/ which crane couldn't parse. Updated path normalization using cd and pwd to properly resolve paths. Crane fails as expected but the fallback Python export works correctly.

CMake for TimescaleDB: Created symlink to cmake binary in $OUT_DIR/bin, added to PATH, and used readlink -f for absolute path resolution. This ensures the TimescaleDB bootstrap script can find cmake when checking for build dependencies.

Flex/Bison for AGE: Similar approach to cmake - created symlinks for flex and bison in $OUT_DIR/bin, updated PATH to include the symlink directory first, and set YACC, FLEX, and LEX environment variables to point to the symlinks.

These changes ensure PostgreSQL extension layers (TimescaleDB and AGE) build successfully in both local and remote build execution environments.


🤖 Generated with Claude Code

Don't miss a new serviceradar release

NewReleases is sending notifications on new releases.