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

use habitat build instead of omnibus #107

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

rishichawda
Copy link
Member

@rishichawda rishichawda commented Dec 19, 2024

Description

Chef19 is now habitat based package. appbundle-updater is used in kitchen test pipelines under Github actions of chef/chef to do en-to-end recipe testing of chef so that current code inside a PR also gets tested each time a commit is pushed. Since previous versions of Chef used to be omnibus packages, implementation of appbundle-updater is based upon omnibus installation details.
In this PR we make this tool habitat compliant.

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.

@rishichawda rishichawda marked this pull request as ready for review December 23, 2024 11:19
@rishichawda rishichawda requested review from a team as code owners December 23, 2024 11:19
@rishichawda rishichawda changed the base branch from main to chef-19 January 17, 2025 07:56
@rishichawda rishichawda changed the base branch from chef-19 to main January 22, 2025 14:29
@rishichawda rishichawda force-pushed the rishichawda/use-habitat-builds branch from 4a6d74c to 3f54696 Compare January 30, 2025 14:58

CHEFDK_APPS = [
HABITAT_PACKAGES = [
App.new(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we're using chef/berkshelf for the remnant of this usage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the origin to chef in 6ee4d26. Updated the origin for other packages as well.

@@ -154,7 +175,7 @@ CHEFDK_APPS = [
"chef-dk",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove chef-dk

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in 6ee4d26.

),
App.new(
"cookstyle",
"chef/cookstyle",
"development debug docs",
"#{bin_dir.join("rake")} install"
"#{vendor_bin_dir.join("rake")} install"
),
App.new(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove foodcritic

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in 6ee4d26

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