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

Sean simmons progress/chef 15585 omnitruck amazon2 fix #612

Merged

Conversation

sean-simmons-progress
Copy link
Contributor

@sean-simmons-progress sean-simmons-progress commented Sep 12, 2024

This is addressing a 404 error when attempting to install the chef-server amazon2 binary. Prior to the most recent release of chef-server the binary that was created followed this format: chef-server-core-x.x.x-1.el7.x86_64.rpm the new format is chef-server-core-x.x.x-1.amazon2.x86_64.rpm

This is updating a map, re mapping amazon2 to 2023, then capturing it in a redirect...

This is dirty, but this is the first pass thats working to download both the older versions of amazon 2 installers, as well as the new versions of it.

Will need to address metadata in a later PR, as well as a way to clean up this code / api.

`

Description

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

sean-simmons-progress and others added 11 commits September 12, 2024 13:44
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
…ure the amazon 2 correctly

Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: John McCrae <john.mccrae@progress,com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
mostly the version_resolver forces the amazon 2023 to apply for both amazon 2 and amazon 2023

then we force in the app to load 7 if the version is less than 15.10.12

Signed-off-by: Sean Simmons <sean.simmons@progress.com>
@sean-simmons-progress sean-simmons-progress marked this pull request as ready for review September 17, 2024 03:14
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
they will need to be re-worked to accept the latest platforms for the versions map.

Signed-off-by: Sean Simmons <sean.simmons@progress.com>
…etatadata in a test

this has to be re-worked to be faster or only call a smaller set of data

Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Copy link

@sean-simmons-progress sean-simmons-progress merged commit 8d580ac into main Sep 18, 2024
6 checks passed
@sean-simmons-progress sean-simmons-progress deleted the sean-simmons-progress/CHEF-15585-OmnitruckAmazon2Fix branch September 18, 2024 12:49
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.

2 participants