Skip to content

Commit

Permalink
Add space dir tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Aug 3, 2024
1 parent b286d04 commit c086e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,7 @@ Darwin)
fi
;;
esac

if on_wsl || on_cygwin; then
_sed_i 's! - command: .*! - command: "scripts/wrapper/run.cmd downloader"!' "${HELM_PLUGIN_DIR}/plugin.yaml"
fi
1 change: 0 additions & 1 deletion tests/unit/template.bats
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ key2: value" 2>&1

assert_success


run env HELM_PLUGINS="${SPACE_DIR}" "${HELM_BIN}" secrets template "${TEST_TEMP_DIR}/chart" -f "${VALUES_PATH}" 2>&1

assert_output -e "\[helm-secrets\] Decrypt: .*${VALUES}"
Expand Down

0 comments on commit c086e85

Please sign in to comment.