mirror of
https://github.com/inspec/inspec
synced 2024-11-21 20:23:06 +00:00
CFINSPEC-17 Update plan.sh to get ruby 3 pkg and let validate habitat build for ruby 3
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
35a95cb181
commit
0f4e4ff349
2 changed files with 2 additions and 11 deletions
|
@ -10,15 +10,6 @@ expeditor:
|
|||
steps:
|
||||
|
||||
- label: ":linux: Validate Habitat Builds of Chef InSpec"
|
||||
commands:
|
||||
- .expeditor/buildkite/artifact.habitat.test.sh
|
||||
expeditor:
|
||||
executor:
|
||||
docker:
|
||||
image: ruby:2.7
|
||||
privileged: true
|
||||
|
||||
- label: ":linux: Validate Habitat Builds of Chef InSpec-Ruby3"
|
||||
commands:
|
||||
- .expeditor/buildkite/artifact.habitat.test.sh
|
||||
expeditor:
|
||||
|
|
|
@ -10,7 +10,7 @@ pkg_license=('Apache-2.0')
|
|||
pkg_deps=(
|
||||
core/coreutils
|
||||
core/git
|
||||
core/ruby26
|
||||
core/ruby30
|
||||
core/bash
|
||||
)
|
||||
pkg_build_deps=(
|
||||
|
@ -80,7 +80,7 @@ export PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:\$PATH
|
|||
export GEM_HOME="$GEM_HOME"
|
||||
export GEM_PATH="$GEM_PATH"
|
||||
|
||||
exec $(pkg_path_for core/ruby26)/bin/ruby $real_bin \$@
|
||||
exec $(pkg_path_for core/ruby30)/bin/ruby $real_bin \$@
|
||||
EOF
|
||||
chmod -v 755 "$bin"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue