Skip to content

Commit

Permalink
fixing few issues
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <[email protected]>
  • Loading branch information
nikhil2611 committed Oct 14, 2024
1 parent b3d0ea0 commit 0a83765
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .expeditor/buildkite/artifact.habitat.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ git status

echo "--- ruby version"
ruby -v
rspec -v

export project_root="$(git rev-parse --show-toplevel)"
echo "The value for project_root is: $project_root"
Expand Down
5 changes: 0 additions & 5 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ subscriptions:
ignore_labels:
- "Expeditor: Skip Habitat"
- "Expeditor: Skip All"
# - trigger_pipeline:habitat/build:
# only_if: built_in:bump_version
# ignore_labels:
# - "Expeditor: Skip Habitat"
# - "Expeditor: Skip All"

- workload: project_promoted:{{agent_id}}:*
actions:
Expand Down
2 changes: 1 addition & 1 deletion habitat/tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package_version=$(awk -F / '{print $3}' <<<"$pkg_ident")
cd "${project_root}"

echo "--- :mag_right: Testing ${pkg_ident} executables"
actual_version=$(hab pkg exec "${pkg_ident}" kitchen -- -v | sed 's/.*: //')
actual_version=$(hab pkg exec "${pkg_ident}" kitchen -- -v | sed -E 's/.*version ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
# echo "$actual_version"
# echo "$package_version"
[[ "$package_version" = "$actual_version" ]] || error "test-kitchen is not the expected version. Expected '$package_version', got '$actual_version'"
Expand Down

0 comments on commit 0a83765

Please sign in to comment.