-
Notifications
You must be signed in to change notification settings - Fork 160
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 18535 fixing pipelines #429
Draft
nikhil2611
wants to merge
23
commits into
workstation-LTS
Choose a base branch
from
CHEF-18535-fixing-pipelines
base: workstation-LTS
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3a63267
updating version to major version and few plan file fixes
nikhil2611 acf5224
reverting back the release branch changes and version update
nikhil2611 2e85da5
swapping order of action
nikhil2611 2cc7254
swapping order of action to fix expeditor error
nikhil2611 517e54c
commenting the trigger pipeline to test expeditor config
nikhil2611 9b6df50
commenting the build gem to test expeditor config
nikhil2611 d6f5ca6
commenting the build gem to test expeditor config
nikhil2611 85d769b
fixing expeditor error
nikhil2611 ed05b41
fixing expeditor error
nikhil2611 0119ae0
fixing the expeditor errro
nikhil2611 9141ab7
fixing the pipelines
nikhil2611 f68236f
fixing the pipelines issue
nikhil2611 1f117a8
fixing the pipelines issue
nikhil2611 d0ad3b4
fixing the pipelines issue
nikhil2611 62b756f
jujst to test
muthuja bde5a65
test
muthuja ddb02d1
test
muthuja 603fe84
test
muthuja 1a95882
test
muthuja 2714ae0
test
muthuja 468a707
test
muthuja a5ebd7a
test
muthuja 6552b24
tedst
muthuja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,31 @@ | ||
export HAB_BLDR_CHANNEL="LTS-2024" | ||
_chef_client_ruby="core/ruby3_1" | ||
export HAB_REFRESH_CHANNEL="LTS-2024" | ||
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 +40,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 +54,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 +81,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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will remove it from the
chef-oss
Buildkite tenant and make it only visible to internal people