Skip to content

Conversation

@sanghinitin
Copy link
Contributor

Added pipeline for building hab pkg and publisjh on bldr

Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin requested review from a team as code owners November 28, 2024 07:01
@sanghinitin sanghinitin changed the base branch from workstation-LTS to habitat_pkg_plan_linux November 28, 2024 07:39
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin changed the base branch from habitat_pkg_plan_linux to workstation-LTS December 2, 2024 07:29
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin changed the base branch from workstation-LTS to habitat_pkg_plan_linux December 2, 2024 12:14
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin changed the base branch from habitat_pkg_plan_linux to workstation-LTS December 2, 2024 12:16
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin changed the base branch from workstation-LTS to habitat_pkg_plan_linux December 2, 2024 14:46
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sanghinitin sanghinitin changed the base branch from habitat_pkg_plan_linux to workstation-LTS December 5, 2024 07:11
Signed-off-by: nitin sanghi <nsanghi@progress.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2024

@sonarqube-for-infrastructure-prod

Quality Gate failed Quality Gate failed

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

See analysis details on SonarQube

@sanghinitin sanghinitin changed the base branch from workstation-LTS to habitat_pkg_plan_linux December 5, 2024 07:14
@nikhil2611 nikhil2611 merged commit 9ec89ee into habitat_pkg_plan_linux Dec 5, 2024
5 of 6 checks passed
nikhil2611 added a commit that referenced this pull request Dec 5, 2024
* Added plan.sh file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change gem file for app bundler on windows and plan.ps1 added

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Habitat pkg version sync with version file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Removed duplicate dep and check linux gem are not trying to install on windows

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change in linux plan file and Rakefile to add install task

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* added hab path aware code changes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* fixing the git issue

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* added the hab env and few command fix for hab path

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* testing for plan.sh as of now

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* adding back omnibus methods for testing

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* initializing pkg_prefix in hab_env

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* updated the origin variable for chef-cli

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Added chef spec gem

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* testing chefspec changes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Added rspec in bin dir for linking issue

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Chefspec dep for rspec fix to 3.12

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Pinning rspec version

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change chef-cli hab pkg origin

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Hab channel changed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Chef 17400 pipeline (#241)

* Add github action for hab pkg and publish

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Added version check on new hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* removed extra keyword for triggering pipeline

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pkg iden added using vars

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* list all pkg to verify pkg installed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* hart file version change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change pkg_indent

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change pkg_indent

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* version regex changed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change the message in test phase and throw error

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change the message in test phase and throw error

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Hab pipeline using buildkite

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* hab build yml file added

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Co-authored-by: nikhil2611 <nikhilgupta2102@gmail.com>
Co-authored-by: Nikhil Gupta <35272911+nikhil2611@users.noreply.github.com>
nikhil2611 added a commit that referenced this pull request Feb 5, 2025
* Chef license commands implementation

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Added the faraday_middleware for testing

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Fixed the issue with ui object

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Chefstyle fixes

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Specs for the license commands

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Added option to pass license key as a param

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Updated the chef-licensing dependency to fetch from internal artifactory

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Removed the byebug

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Added the feature flag for the licensing commands

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* updated the feature flag file name

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Added chef-licensing gem as a gemspec dependency

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>

* Licensing updates

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Updated the chef-licensing gem version

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Fixed the spec failure

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Fixed the chefstyle issues

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Added plan.sh file (#237)

* Added plan.sh file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change gem file for app bundler on windows and plan.ps1 added

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Habitat pkg version sync with version file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Removed duplicate dep and check linux gem are not trying to install on windows

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change in linux plan file and Rakefile to add install task

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* added hab path aware code changes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* fixing the git issue

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* added the hab env and few command fix for hab path

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* testing for plan.sh as of now

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* adding back omnibus methods for testing

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* initializing pkg_prefix in hab_env

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* updated the origin variable for chef-cli

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Added chef spec gem

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* testing chefspec changes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Added rspec in bin dir for linking issue

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Chefspec dep for rspec fix to 3.12

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Pinning rspec version

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change chef-cli hab pkg origin

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Hab channel changed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Chef 17400 pipeline (#241)

* Add github action for hab pkg and publish

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Added version check on new hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* removed extra keyword for triggering pipeline

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pkg iden added using vars

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* list all pkg to verify pkg installed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Installing hab build using hart file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* pipeline test commit

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* sudo for installing hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* hart file version change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change pkg_indent

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change pkg_indent

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* version regex changed

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* windows pipeline change

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Windows chef-cli hab version check

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change the message in test phase and throw error

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Change the message in test phase and throw error

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Hab pipeline using buildkite

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* hab build yml file added

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Co-authored-by: nikhil2611 <nikhilgupta2102@gmail.com>
Co-authored-by: Nikhil Gupta <35272911+nikhil2611@users.noreply.github.com>

* Testing pipleine (#242)

* Testing pipleine

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Testing pipleine

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Testing pipleine

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Path change for test file

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding locales

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* ignoring warn change sed regex

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* ignoring warn change sed regex

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* ignoring warn change sed regex

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* ignoring warn change sed regex

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* change version command regex

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Added dev channel for hab pkg (#243)

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Added action for channel alternative (#244)

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Version change for lts (#245)

* Added action for channel alternative

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Changing version 1.0.0 for hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Changing version 1.0.0 for hab pkg

Signed-off-by: nitin sanghi <nsanghi@progress.com>

---------

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* adding backup branch for workstation-lts

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

* adding branch

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

* adding expeditor agent

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

* adding expeditor agent

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

* Change version and constraint to same as main

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Added one more channel and remove test from promote pipeline

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* added the channel variable

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* removed the manually created pipelines and added the channels

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* hab pkg promote change (#254)

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Bump version to 0.1.0 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* empty commit (#255)

Signed-off-by: nitin sanghi <nsanghi@progress.com>

* Bump version to 0.1.1 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* adding the pipelines to get triggered automatically

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Bump version to 0.1.2 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* empty commit to test pipelines

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Bump version to 0.1.3 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* Chef-18535- Updating configuration for a symantec version promote and publish and other fixes (#258)

* updating version to major version and few plan file fixes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* added HAB_BLDR_CHANNEL env as the build pipeline still using old hab version and updated config for a symantec version promote and publish and reverting back version and release branch changes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* fixing the quotes

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* chefstyle fix

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* fixing spec failure

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* fixing typo in gemspec

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* updated back to omnibus_env

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

---------

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* this func is not needed as of now

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

* Using the chef-test-kitchen-enterprise instead of old one

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Adding git as a pkg build dep

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Post bundle install script to setup the gems from github branches

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Added the faraday_middleware gem

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Fixed the shell-init command

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Reverted the post-bundle-install script for the windows

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Added the post-bundle-install script for windows plan file

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Updated the shell-init command to work with habitat and omnibus installations

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* Spec fixes

Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>

* this file is not require

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>

---------

Signed-off-by: Ashique P S <Ashique.saidalavi@progress.com>
Signed-off-by: Ashique Saidalavi <Ashique.saidalavi@progress.com>
Signed-off-by: nitin sanghi <nsanghi@progress.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: Sean Simmons <sean.simmons@progress.com>
Co-authored-by: Ashique P S <Ashique.saidalavi@progress.com>
Co-authored-by: Ashique P S <asaidala@progress.com>
Co-authored-by: ns <sanghinitin@users.noreply.github.com>
Co-authored-by: Sean Simmons <sean.simmons@progress.com>
Co-authored-by: sean-simmons-progress <111799713+sean-simmons-progress@users.noreply.github.com>
Co-authored-by: nitin sanghi <nsanghi@progress.com>
Co-authored-by: Chef Expeditor <chef-ci@chef.io>
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.

4 participants