Skip to content

Commit

Permalink
Fix scripts/check-dco.sh CI failure
Browse files Browse the repository at this point in the history
Signed-off-by: David Son <[email protected]>
  • Loading branch information
sondavidb committed Mar 25, 2024
1 parent 9d6a420 commit f10a46f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/check-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ set -eux -o pipefail
./check-dco.sh
./check-flatc.sh
./check-ltag.sh
./check-lint.sh
./check-lint.sh
2 changes: 1 addition & 1 deletion scripts/check-dco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ set -eux -o pipefail
# the very first auto-commit doesn't have a DCO and the first real commit has a slightly different format. Exclude those when doing the check.
# We erreneously allowed a non-signed commit to be pushed to main.
# This is a temporary fix, and the commit hash should be changed to HEAD~20 once it is no longer an issue.
"$(go env GOPATH)/bin/git-validation" -run DCO -range 0a9fdda7b507b164d8cfa50c0a51367e9f0e2379..HEAD
"$(go env GOPATH)"/bin/git-validation -run DCO -range 0a9fdda7b507b164d8cfa50c0a51367e9f0e2379..HEAD
2 changes: 1 addition & 1 deletion scripts/check-ltag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ SOCI_SNAPSHOTTER_PROJECT_ROOT="${CUR_DIR}/.."
# check ltag
pushd "${SOCI_SNAPSHOTTER_PROJECT_ROOT}"
"$(go env GOPATH)"/bin/ltag -t "${SOCI_SNAPSHOTTER_PROJECT_ROOT}/.headers" -check -v || (echo "The files listed above are missing a licence header. Please run ./scripts/add-ltag.sh"; exit 1)
popd
popd
2 changes: 1 addition & 1 deletion scripts/check-regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ else
fi

# Set the final exit code to indicate if any regression occurred
exit $exit_code
exit $exit_code
2 changes: 1 addition & 1 deletion scripts/visualization-data-converter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ for ((i = 0; i < tests; i++)); do

# Create JSON file for each testName
create_json_file "$testName" "$lazyTaskPct90" "$localTaskPct90" "$pullTaskPct90"
done
done

0 comments on commit f10a46f

Please sign in to comment.