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

Install WAL-G from the binary file #768

Merged
merged 10 commits into from
Oct 1, 2024
Merged

Install WAL-G from the binary file #768

merged 10 commits into from
Oct 1, 2024

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Sep 23, 2024

This update changes the installation method for WAL-G by using a precompiled binary instead of building from the source. This significantly reduces installation time, as building from source is more time-consuming, while the binary allows for faster deployment.

Note

We are using a binary built for Ubuntu 20.04, but since WAL-G is written in Go, the binary is cross-platform and works well across various Linux distributions.

In addition, we are keeping the option for users to choose their preferred installation method (either binary or source build) by using the wal_g_installation_method variable. This allows flexibility depending on specific needs or system requirements.

Key changes:

  • Use precompiled WAL-G binary for faster installation.
  • Maintain the ability to build from source if needed.
  • Introduce wal_g_installation_method to toggle between binary or source installation.

Excluding the RHEL 8, as GLIBC version 2.29 or higher is required. For these versions, there will always be an build from the source code, regardless of the value of the wal_g_installation_method variable.

@vitabaks vitabaks self-assigned this Sep 23, 2024
@vitabaks vitabaks changed the title Install WAL-G rom the binary file Install WAL-G from the binary file Sep 23, 2024
Excluding the RHEL 8, as GLIBC version 2.29 or higher is required. For these versions, there will always be an assembly from the source code, regardless of the value of the wal_g_installation_method variable.
@vitabaks vitabaks merged commit 65939d6 into master Oct 1, 2024
15 checks passed
@vitabaks vitabaks deleted the wal-g-binary branch October 1, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant