-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chef-18535 Removed the release branch changes and fixed pipeline (#428)
* updating version to major version and few plan file fixes Signed-off-by: nikhil2611 <[email protected]> * reverting back the release branch changes and version update Signed-off-by: nikhil2611 <[email protected]> * swapping order of action Signed-off-by: nikhil2611 <[email protected]> * swapping order of action to fix expeditor error Signed-off-by: nikhil2611 <[email protected]> * commenting the trigger pipeline to test expeditor config Signed-off-by: nikhil2611 <[email protected]> * commenting the build gem to test expeditor config Signed-off-by: nikhil2611 <[email protected]> * commenting the build gem to test expeditor config Signed-off-by: nikhil2611 <[email protected]> * fixing expeditor error Signed-off-by: nikhil2611 <[email protected]> * fixing expeditor error Signed-off-by: nikhil2611 <[email protected]> * fixing the expeditor errro Signed-off-by: nikhil2611 <[email protected]> * adding back the trigger pipeline Signed-off-by: nikhil2611 <[email protected]> * adding old config to test the expeditor failure Signed-off-by: nikhil2611 <[email protected]> * now trying to add updated config Signed-off-by: nikhil2611 <[email protected]> * adding release branch to test the expeditor validation Signed-off-by: nikhil2611 <[email protected]> * reverted back the release branch Signed-off-by: nikhil2611 <[email protected]> * update to unstable channel in the workload Signed-off-by: nikhil2611 <[email protected]> * removed the build gem Signed-off-by: nikhil2611 <[email protected]> * added back the release branch Signed-off-by: nikhil2611 <[email protected]> * added back the release branch Signed-off-by: nikhil2611 <[email protected]> * added the env variable in the builkite config Signed-off-by: nikhil2611 <[email protected]> --------- Signed-off-by: nikhil2611 <[email protected]>
- Loading branch information
1 parent
4ff900c
commit 32f8dfd
Showing
9 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
--- | ||
env: | ||
HAB_REFRESH_CHANNEL: "LTS-2024" | ||
|
||
origin: chef | ||
|
||
expeditor: | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.2 | ||
4.1.13 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
export HAB_BLDR_CHANNEL="LTS-2024" | ||
_chef_client_ruby="core/ruby3_1" | ||
ruby_pkg="core/ruby3_1" | ||
pkg_name="chef-vault" | ||
pkg_origin="chef" | ||
pkg_maintainer="The Chef Maintainers <[email protected]>" | ||
pkg_description="Gem that allows you to encrypt a Chef Data Bag Item using the public keys of a list of chef nodes. This allows only those chef nodes to decrypt the encrypted values." | ||
pkg_license=('Apache-2.0') | ||
pkg_bin_dirs=( | ||
bin | ||
vendor/bin | ||
) | ||
pkg_build_deps=( | ||
core/make | ||
core/bash | ||
core/gcc | ||
core/libarchive | ||
) | ||
pkg_deps=( | ||
$_chef_client_ruby | ||
core/coreutils | ||
core/git | ||
) | ||
pkg_deps=(${ruby_pkg} core/coreutils core/git) | ||
|
||
pkg_svc_user=root | ||
|
||
do_setup_environment() { | ||
build_line 'Setting GEM_HOME="$pkg_prefix/vendor"' | ||
export GEM_HOME="$pkg_prefix/vendor" | ||
|
||
build_line "Setting GEM_PATH=$GEM_HOME" | ||
export GEM_PATH="$GEM_HOME" | ||
} | ||
|
||
pkg_version() { | ||
cat "$SRC_PATH/VERSION" | ||
} | ||
|
@@ -36,8 +39,8 @@ do_unpack() { | |
} | ||
|
||
do_build() { | ||
echo $(pkg_path_for $_chef_client_ruby) | ||
export GEM_HOME="$pkg_prefix/vendor/gems" | ||
|
||
export GEM_HOME="$pkg_prefix/vendor" | ||
|
||
build_line "Setting GEM_PATH=$GEM_HOME" | ||
export GEM_PATH="$GEM_HOME" | ||
|
@@ -50,13 +53,13 @@ do_build() { | |
} | ||
|
||
do_install() { | ||
export GEM_HOME="$pkg_prefix/vendor/gems" | ||
export GEM_HOME="$pkg_prefix/vendor" | ||
|
||
build_line "Setting GEM_PATH=$GEM_HOME" | ||
export GEM_PATH="$GEM_HOME" | ||
gem install chef-vault-*.gem --no-document | ||
wrap_ruby_chef_vault | ||
set_runtime_env "GEM_PATH" "${pkg_prefix}/vendor/gems" | ||
set_runtime_env "GEM_PATH" "${pkg_prefix}/vendor" | ||
} | ||
|
||
wrap_ruby_chef_vault() { | ||
|
@@ -77,10 +80,10 @@ set -e | |
export PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:\$PATH" | ||
# Set Ruby paths defined from 'do_setup_environment()' | ||
export GEM_HOME="$pkg_prefix/vendor/gems" | ||
export GEM_PATH="\$GEM_HOME" | ||
export GEM_HOME="$pkg_prefix/vendor" | ||
export GEM_PATH="$GEM_PATH" | ||
exec $(pkg_path_for $_chef_client_ruby)/bin/ruby $real_bin \$@ | ||
exec $(pkg_path_for ${ruby_pkg})/bin/ruby $real_bin \$@ | ||
EOF | ||
chmod -v 755 "$bin" | ||
} | ||
|
This file contains 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