Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Leave out unnecessary build files from binary artifact #9135

Merged
merged 5 commits into from
Sep 25, 2024

Commits on Sep 25, 2024

  1. CI: Leave out unnecessary build files from binary artifact

    The pg_install/build directory contains .o files and such intermediate
    results from the build, which are not needed in the final
    tarball. Except for src/test/regress/regress.so and a few other .so
    files in that directory; keep those.
    
    This reduces the size of the neon-Linux-X64-release-artifact.tar.zst
    artifact from about 1.5 GB to 700 MB.
    
    (I attempted this a long time ago already, by moving the build/
    directory out of pg_install altogether, see PR #2127. But I never got
    around to finish that work.)
    hlinnaka committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f5a2f7b View commit details
    Browse the repository at this point in the history
  2. fix target path

    should be /tmp/neon/pg_install, not /tmp/neon/pg_install/pg_install
    
    Co-authored-by: Alexander Bayandin <[email protected]>
    hlinnaka and bayandin authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ec79e3c View commit details
    Browse the repository at this point in the history
  3. remove extra mkdir

    Co-authored-by: Alexander Bayandin <[email protected]>
    hlinnaka and bayandin authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a6e5485 View commit details
    Browse the repository at this point in the history
  4. a few more files are needed

    hlinnaka committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    30445f5 View commit details
    Browse the repository at this point in the history
  5. also for v14-16

    hlinnaka committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    5dce047 View commit details
    Browse the repository at this point in the history