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

CHEF-14475-Hab path changes for chef-cli #238

Merged
merged 9 commits into from
Nov 11, 2024

Conversation

nikhil2611
Copy link
Contributor

@nikhil2611 nikhil2611 commented Oct 9, 2024

Description

Since moving to habitat component of chef-cli the omnibus_env will not be existing anymore. I have update and created habitat_env and fixed some commands like exec, env to pick hab env instead of omnibus.

Related Issue

https://progresssoftware.atlassian.net/browse/CHEF-14475

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.

@nikhil2611 nikhil2611 requested review from a team as code owners October 9, 2024 11:07
Copy link

github-actions bot commented Oct 9, 2024

Simplecov Report

Covered Threshold
98.51% 90%

@nikhil2611 nikhil2611 marked this pull request as draft October 9, 2024 11:23
dir = File.expand_path(File.join(paths))
raise OmnibusInstallNotFound.new unless dir && File.directory?(dir)
def get_pkg_prefix
pkg_name = "ngupta26/chef-cli" # Your origin and package name
Copy link
Contributor

Choose a reason for hiding this comment

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

This could potentially be various origins for the chef-cli pkg?

Copy link
Contributor Author

@nikhil2611 nikhil2611 Oct 9, 2024

Choose a reason for hiding this comment

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

Yeah correct, right now I have pushed this under my private origin ngupta26 for testing and installing from there. Going forward It should be something like chef/chef-cli, we will be needing to update these few things once we we publish our packages to the builder through pipelines. Thats why I kept this in draft state as of now.

@sanghinitin sanghinitin changed the base branch from main to workstation-LTS October 28, 2024 06:45
@nikhil2611 nikhil2611 changed the base branch from workstation-LTS to habitat_pkg_plan_linux November 11, 2024 15:07
@nikhil2611 nikhil2611 marked this pull request as ready for review November 11, 2024 15:09
Copy link

sonarcloud bot commented Nov 11, 2024

@nikhil2611 nikhil2611 merged commit 61d0572 into habitat_pkg_plan_linux Nov 11, 2024
4 checks passed

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

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