add scripts for traceability
This commit is contained in:
parent
1a855aa6f7
commit
3bd5a89d6f
|
@ -5,9 +5,11 @@
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
|
|
||||||
|
echo "DIR in system-test/automation_utils is : $( cd "$( dirname "${BASH_SOURCE[0]}" )""
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
REPO_ROOT=${DIR}/..
|
REPO_ROOT=${DIR}/..
|
||||||
|
|
||||||
|
echo "REPO_ROOT in system-test/automation_utils is : $REPO_ROOT"
|
||||||
source "${REPO_ROOT}"/ci/upload-ci-artifact.sh
|
source "${REPO_ROOT}"/ci/upload-ci-artifact.sh
|
||||||
|
|
||||||
function execution_step {
|
function execution_step {
|
||||||
|
@ -32,6 +34,7 @@ function analyze_packet_loss {
|
||||||
set -x
|
set -x
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source "${REPO_ROOT}"/net/config/config
|
source "${REPO_ROOT}"/net/config/config
|
||||||
|
cat "${REPO_ROOT}"/net/config/config
|
||||||
mkdir -p iftop-logs
|
mkdir -p iftop-logs
|
||||||
execution_step "Map private -> public IP addresses in iftop logs"
|
execution_step "Map private -> public IP addresses in iftop logs"
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
|
@ -200,6 +203,7 @@ function upload_results_to_slack() {
|
||||||
echo "SLACK_WEBHOOOK_URL undefined"
|
echo "SLACK_WEBHOOOK_URL undefined"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
echo "SLACK_WEBHOOOK_URL is : $SLACK_WEBHOOOK_URL"
|
||||||
|
|
||||||
[[ -n $BUILDKITE_MESSAGE ]] || BUILDKITE_MESSAGE="Message not defined"
|
[[ -n $BUILDKITE_MESSAGE ]] || BUILDKITE_MESSAGE="Message not defined"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue