Repository navigation
fix(roles/repo_proxysql): use the AlmaLinux builds where no CentOS build exists - #506
Merged
Merged
Conversation
…ild exists 3.0 has no centos/8 and 2.4/2.5 have no centos/9 on repo.proxysql.com. The EL 8 builds of 3.0 need openssl3-libs from EPEL, so the proxysql playbook deploys repo_baseos (CRB) and repo_epel. The mirror baseurl was copied from repo_opensearch and now follows the upstream path. Verified with dnf on Rocky 8, 9 and 10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
repo.proxysql.com has no
centos/8for 3.0 and nocentos/9for 2.4/2.5, so those combinations failed with a 404. The repo file now usesalmalinux/exactly wherecentos/does not exist; every combination that worked before renders the same URL.openssl3-libsfrom EPEL. Theproxysqlplaybook now runsrepo_baseos(CRB on Rocky 9+) andrepo_epel, withproxysql__skip_repo_baseos/proxysql__skip_repo_epel.repo_opensearchand never matched; it now follows the upstream path (<mirror>/ProxySQL/proxysql-<version>.x/<centos|almalinux>/$releasever). No ProxySQL mirror exists yet, so nothing breaks.Tested with the role on Rocky 8, 9 and 10 containers (
dnf makecachefor 2.2 to 3.0,dnf installwith gpgcheck), and the playbook repo tags on Rocky 8/9: 3.0.9 installs on EL 8 with EPEL, 3.0.11 on EL 9.