Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5757 from alex-matei/fix-trace-forwarder-build
Browse files Browse the repository at this point in the history
tracing: ensure reproducible builds
  • Loading branch information
fidencio authored Sep 5, 2023
2 parents 0fb4345 + 0faaa56 commit fa75307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functional/tracing/test-agent-shutdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ setup_agent()
run_trace_forwarder()
{
command -v "$forwarder_binary_name" &>/dev/null || \
(cd "$forwarder_dir" && cargo install --path .)
(cd "$forwarder_dir" && cargo install --locked --path .)

local socket_path_tf=""

Expand Down
2 changes: 1 addition & 1 deletion functional/tracing/tracing-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ check_spans()
run_trace_forwarder()
{
source "$HOME/.cargo/env"
command -v "$forwarder_binary_name" &>/dev/null || (cd "$forwarder_dir" && cargo install --path .)
command -v "$forwarder_binary_name" &>/dev/null || (cd "$forwarder_dir" && cargo install --locked --path .)

if [ $KATA_HYPERVISOR = "qemu" ]; then
tmux new-session -d -s "$KATA_TMUX_FORWARDER_SESSION" "$forwarder_binary_name -l trace"
Expand Down

0 comments on commit fa75307

Please sign in to comment.