Skip to content

Commit

Permalink
ci(deps): don't add filename to deps.lock hash (#6032)
Browse files Browse the repository at this point in the history
The filename was causing issues depending on where the sub folder is

Signed-off-by: Charly Molter <charly.molter@konghq.com>
  • Loading branch information
lahabana authored Feb 14, 2023
1 parent 8b13be3 commit 15cc640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk/dependencies/deps.lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e96ce3bb7caa3ae15cd5f5d75feb25e8bc562ead
e8edb47c61d38a1607607a23d4db45a1a6b5f494
2 changes: 1 addition & 1 deletion tools/dev/install-dev-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ IFS=" " read -ra TOOLS_DEPS_DIRS <<< "${TOOLS_DEPS_DIRS[@]}"
# Also compute a hash to use for caching
FILES=$(find "${TOOLS_DEPS_DIRS[@]}" -name '*.sh' | sort)
for i in ${FILES}; do OS="$GOOS" ARCH="$GOARCH" "$i" "${CI_TOOLS_DIR}"; done
for i in ${FILES}; do echo "---${i}"; cat "${i}"; done | git hash-object --stdin > "$TOOLS_DEPS_LOCK_FILE"
for i in ${FILES}; do cat "${i}"; done | git hash-object --stdin > "$TOOLS_DEPS_LOCK_FILE"

echo "All non code dependencies installed, if you use these tools outside of make add $CI_TOOLS_BIN_DIR to your PATH"

0 comments on commit 15cc640

Please sign in to comment.