[Deps] Install MySQL client from individual RPMs instead of a bundled tarball#3205
Merged
Merged
Conversation
hanwen-cluster
previously approved these changes
Jun 15, 2026
Comment on lines
+51
to
+52
| if platform_version == 2 | ||
| platform_version = 7 | ||
| 7 |
Contributor
There was a problem hiding this comment.
Minor: we don't need this branch anymore because amazon linux 2 has been deprecated
himani2411
force-pushed
the
mysql-installing-rpm
branch
from
June 15, 2026 21:10
15a072c to
f5a4a7d
Compare
himani2411
force-pushed
the
mysql-installing-rpm
branch
from
July 15, 2026 19:23
f5a4a7d to
796ee76
Compare
himani2411
marked this pull request as ready for review
July 15, 2026 19:23
added 2 commits
July 16, 2026 15:19
… tarball RHEL-based mysql_client previously downloaded a single PCluster-built mysql-community-client-<version>.tar.gz from S3, extracted it, and ran yum install on the contents. That bundle only ever exists in the PCluster S3 mirror, so base_url could not be redirected to a public source. Download the individual community client RPMs (common, client-plugins, libs, devel; plus libs-compat on el7) from base_url/el/N/arch and install them in a single yum transaction. base_url can now point at either the S3 mirror or MySQL's public yum repo via ExtraChefAttributes. Drop the now-unused package_filename/package_archive helpers and the dead repository_packages method from the RHEL partial; add rocky to the spec's RPM-install assertions.
himani2411
force-pushed
the
mysql-installing-rpm
branch
from
July 16, 2026 19:19
ec3bda2 to
9b9ffb9
Compare
himani2411
enabled auto-merge (rebase)
July 16, 2026 19:31
hanwen-cluster
approved these changes
Jul 16, 2026
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.
Description of changes
Install MySQL client from individual RPMs instead of a bundled tarball.
RHEL-based mysql_client previously downloaded a single PCluster-built mysql-community-client-.tar.gz from S3, extracted it, and ran yum install on the contents. That bundle only ever exists in the PCluster S3 mirror, so base_url could not be redirected to a public source.
Download the individual community client RPMs (common, client-plugins, libs, devel; plus libs-compat on el7) from base_url/el/N/arch and install them in a single yum transaction. base_url can now point at either the S3 mirror or MySQL's public yum repo via ExtraChefAttributes of mysql's base_url. Drop the now-unused package_filename/package_archive helpers and the dead repository_packages method from the RHEL partial; add rocky to the spec's RPM-install assertions.
Tests
References
Checklist
developadd the branch name as prefix in the PR title (e.g.[release-3.6]).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.