chore: upload system performance test result to Discord (#28458)
upload system performance test result to Discord
This commit is contained in:
parent
d81d2bba59
commit
449b673c4b
|
@ -292,6 +292,52 @@ EOF
|
||||||
"$SLACK_WEBHOOK_URL"
|
"$SLACK_WEBHOOK_URL"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function upload_results_to_discord() {
|
||||||
|
echo --- Uploading results to Discord Performance Results App
|
||||||
|
|
||||||
|
if [[ -z $DISCORD_WEBHOOK_URL ]] ; then
|
||||||
|
echo "DISCORD_WEBHOOK_URL undefined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -n $BUILDKITE_MESSAGE ]] || BUILDKITE_MESSAGE="Message not defined"
|
||||||
|
|
||||||
|
COMMIT=$(git rev-parse HEAD)
|
||||||
|
COMMIT_BUTTON_TEXT="$(echo "$COMMIT" | head -c 8)"
|
||||||
|
COMMIT_URL="https://github.com/solana-labs/solana/commit/${COMMIT}"
|
||||||
|
|
||||||
|
if [[ -n $BUILDKITE_BUILD_URL ]] ; then
|
||||||
|
BUILD_BUTTON_TEXT="Build Kite Job"
|
||||||
|
else
|
||||||
|
BUILD_BUTTON_TEXT="Build URL not defined"
|
||||||
|
BUILDKITE_BUILD_URL="https://buildkite.com/solana-labs/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
GRAFANA_URL="https://internal-metrics.solana.com:3000/d/monitor-${CHANNEL:-edge}/cluster-telemetry-${CHANNEL:-edge}?var-testnet=${TESTNET_TAG:-testnet-automation}&from=${TESTNET_START_UNIX_MSECS:-0}&to=${TESTNET_FINISH_UNIX_MSECS:-0}"
|
||||||
|
|
||||||
|
[[ -n $RESULT_DETAILS ]] || RESULT_DETAILS="Undefined"
|
||||||
|
SANITIZED_RESULT=${RESULT_DETAILS//$'\n'/"\n"}
|
||||||
|
|
||||||
|
[[ -n $TEST_CONFIGURATION ]] || TEST_CONFIGURATION="Undefined"
|
||||||
|
|
||||||
|
curl "$DISCORD_WEBHOOK_URL" \
|
||||||
|
-X POST \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d @- <<EOF
|
||||||
|
{
|
||||||
|
"username": "System Performance Test",
|
||||||
|
"content": "\
|
||||||
|
**$BUILDKITE_MESSAGE**\n\
|
||||||
|
[$COMMIT_BUTTON_TEXT](<$COMMIT_URL>) | [$BUILD_BUTTON_TEXT](<$BUILDKITE_BUILD_URL>) | [Grafana](<$GRAFANA_URL>)\n\
|
||||||
|
Test Configuration:\n\
|
||||||
|
\`\`\`$TEST_CONFIGURATION\`\`\`\n\
|
||||||
|
Result Details:\n\
|
||||||
|
\`\`\`$SANITIZED_RESULT\`\`\`\n\
|
||||||
|
"
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
function get_net_launch_software_version_launch_args() {
|
function get_net_launch_software_version_launch_args() {
|
||||||
declare channel="${1?}"
|
declare channel="${1?}"
|
||||||
declare artifact_basename="${2?}"
|
declare artifact_basename="${2?}"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet CPU only"
|
label: "COLO performance testnet CPU only"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet GPU enabled - High Tx Count"
|
label: "COLO performance testnet GPU enabled - High Tx Count"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-gpu-enabled"
|
TESTNET_TAG: "colo-perf-gpu-enabled"
|
||||||
ENABLE_GPU: "true"
|
ENABLE_GPU: "true"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet GPU enabled"
|
label: "COLO performance testnet GPU enabled"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-gpu-enabled"
|
TESTNET_TAG: "colo-perf-gpu-enabled"
|
||||||
ENABLE_GPU: "true"
|
ENABLE_GPU: "true"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 100 Nodes"
|
label: "GCE - GPU Enabled 100 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Colo - CPU Only - Partial Loss 3 Partitions"
|
label: "Colo - CPU Only - Partial Loss 3 Partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Colo - CPU Only - Complete Loss 2 - 1 Partition"
|
label: "Colo - CPU Only - Complete Loss 2 - 1 Partition"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Colo - CPU Only - Partial Loss 3 Partitions"
|
label: "Colo - CPU Only - Partial Loss 3 Partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Colo - CPU Only - Complete Loss 4 Partitions"
|
label: "Colo - CPU Only - Complete Loss 4 Partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Colo - CPU Only - 1 minute partition then 5 minute stabilization"
|
label: "Colo - CPU Only - 1 minute partition then 5 minute stabilization"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - CPU Only 5 Node - Partial Loss 3 Partitions"
|
label: "GCE - CPU Only 5 Node - Partial Loss 3 Partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 5
|
NUMBER_OF_VALIDATOR_NODES: 5
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - 2 even partitions with full loss"
|
label: "GCE - 2 even partitions with full loss"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 5
|
NUMBER_OF_VALIDATOR_NODES: 5
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - CPU Only - 1 minute partition then 5 minute stabilization"
|
label: "GCE - CPU Only - 1 minute partition then 5 minute stabilization"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 5
|
NUMBER_OF_VALIDATOR_NODES: 5
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Partition recovery on GCE"
|
label: "Partition recovery on GCE"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 9
|
NUMBER_OF_VALIDATOR_NODES: 9
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - CPU Only 5 Node - 20% network offline with 2 partitions"
|
label: "GCE - CPU Only 5 Node - 20% network offline with 2 partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 4
|
NUMBER_OF_VALIDATOR_NODES: 4
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "AWS - CPU Only 10 Node"
|
label: "AWS - CPU Only 10 Node"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "ec2"
|
CLOUD_PROVIDER: "ec2"
|
||||||
TESTNET_TAG: "aws-perf-cpu-only"
|
TESTNET_TAG: "aws-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "AWS - CPU Only 5 Node"
|
label: "AWS - CPU Only 5 Node"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "ec2"
|
CLOUD_PROVIDER: "ec2"
|
||||||
TESTNET_TAG: "aws-perf-cpu-only"
|
TESTNET_TAG: "aws-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Azure - CPU Only 5 Node"
|
label: "Azure - CPU Only 5 Node"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "azure"
|
CLOUD_PROVIDER: "azure"
|
||||||
TESTNET_TAG: "azure-perf-cpu-only"
|
TESTNET_TAG: "azure-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet CPU only (reduced validator and client count)"
|
label: "COLO performance testnet CPU only (reduced validator and client count)"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet GPU enabled (reduced validator and client count)"
|
label: "COLO performance testnet GPU enabled (reduced validator and client count)"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-gpu-enabled"
|
TESTNET_TAG: "colo-perf-gpu-enabled"
|
||||||
ENABLE_GPU: "true"
|
ENABLE_GPU: "true"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO performance testnet GPU enabled - High Tx Count (reduced validator and client count)"
|
label: "COLO performance testnet GPU enabled - High Tx Count (reduced validator and client count)"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-gpu-enabled"
|
TESTNET_TAG: "colo-perf-gpu-enabled"
|
||||||
ENABLE_GPU: "true"
|
ENABLE_GPU: "true"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE performance testnets CPU ONLY"
|
label: "GCE performance testnets CPU ONLY"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - CPU Only 5 Node Single Zone"
|
label: "GCE - CPU Only 5 Node Single Zone"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - CPU Only 5 Node"
|
label: "GCE - CPU Only 5 Node"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 10 Nodes"
|
label: "GCE - GPU Enabled 10 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 10 Nodes"
|
label: "GCE - GPU Enabled 10 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 25 Nodes"
|
label: "GCE - GPU Enabled 25 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 25 Nodes"
|
label: "GCE - GPU Enabled 25 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 5 Nodes"
|
label: "GCE - GPU Enabled 5 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 5 Nodes"
|
label: "GCE - GPU Enabled 5 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 50 Nodes"
|
label: "GCE - GPU Enabled 50 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - GPU Enabled 50 Nodes"
|
label: "GCE - GPU Enabled 50 Nodes"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-gpu-enabled"
|
TESTNET_TAG: "gce-perf-gpu-enabled"
|
||||||
TEST_DURATION_SECONDS: 600
|
TEST_DURATION_SECONDS: 600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "SANITY - Short duration Colo perf sanity. 1 val, 1 client, CPU-only."
|
label: "SANITY - Short duration Colo perf sanity. 1 val, 1 client, CPU-only."
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "SANITY TEST - Colo - CPU Only - Partial Loss 3 Partitions"
|
label: "SANITY TEST - Colo - CPU Only - Partial Loss 3 Partitions"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
NUMBER_OF_VALIDATOR_NODES: 2
|
NUMBER_OF_VALIDATOR_NODES: 2
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO 1 hour performance & stability CPU only"
|
label: "COLO 1 hour performance & stability CPU only"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-cpu-only"
|
TESTNET_TAG: "colo-perf-cpu-only"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "COLO 1 hour performance & stability GPU enabled"
|
label: "COLO 1 hour performance & stability GPU enabled"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
TESTNET_TAG: "colo-perf-gpu-enabled"
|
TESTNET_TAG: "colo-perf-gpu-enabled"
|
||||||
ENABLE_GPU: "true"
|
ENABLE_GPU: "true"
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - 1 hour perf stability"
|
label: "GCE - 1 hour perf stability"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-perf-cpu-only"
|
TESTNET_TAG: "gce-perf-cpu-only"
|
||||||
TEST_DURATION_SECONDS: 3600
|
TEST_DURATION_SECONDS: 3600
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "GCE - 8 hour Stability - 5 Node"
|
label: "GCE - 8 hour Stability - 5 Node"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
TESTNET_TAG: "gce-stability"
|
TESTNET_TAG: "gce-stability"
|
||||||
TEST_DURATION_SECONDS: 28800
|
TEST_DURATION_SECONDS: 28800
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Running Offline Stake Operations Tests on Colo"
|
label: "Running Offline Stake Operations Tests on Colo"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "colo"
|
CLOUD_PROVIDER: "colo"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
TEST_DURATION_SECONDS: 30
|
TEST_DURATION_SECONDS: 30
|
||||||
|
|
|
@ -3,6 +3,7 @@ steps:
|
||||||
label: "Running Offline Stake Operations Tests on GCE"
|
label: "Running Offline Stake Operations Tests on GCE"
|
||||||
env:
|
env:
|
||||||
UPLOAD_RESULTS_TO_SLACK: "true"
|
UPLOAD_RESULTS_TO_SLACK: "true"
|
||||||
|
UPLOAD_RESULTS_TO_DISCORD: "true"
|
||||||
CLOUD_PROVIDER: "gce"
|
CLOUD_PROVIDER: "gce"
|
||||||
ENABLE_GPU: "false"
|
ENABLE_GPU: "false"
|
||||||
TEST_DURATION_SECONDS: 30
|
TEST_DURATION_SECONDS: 30
|
||||||
|
|
|
@ -22,6 +22,9 @@ $*"
|
||||||
upload_results_to_slack
|
upload_results_to_slack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$UPLOAD_RESULTS_TO_DISCORD" = "true" ]]; then
|
||||||
|
upload_results_to_discord
|
||||||
|
fi
|
||||||
|
|
||||||
(
|
(
|
||||||
execution_step "Collecting Logfiles from Nodes"
|
execution_step "Collecting Logfiles from Nodes"
|
||||||
|
|
Loading…
Reference in New Issue