diff --git a/net/scripts/azure-provider.sh b/net/scripts/azure-provider.sh index b7e101d7b7..b6597c120e 100755 --- a/net/scripts/azure-provider.sh +++ b/net/scripts/azure-provider.sh @@ -222,8 +222,8 @@ cloud_CreateInstances() { --tags testnet --image UbuntuLTS --size "$machineType" + --ssh-key-values "$(cat "${sshPrivateKey}".pub)" --location "$zone" - --generate-ssh-keys --nsg "$nsgName" ) diff --git a/system-test/testnet-performance/azure-cpu-only-perf-5-node.yml b/system-test/testnet-performance/azure-cpu-only-perf-5-node.yml new file mode 100755 index 0000000000..3256c9778c --- /dev/null +++ b/system-test/testnet-performance/azure-cpu-only-perf-5-node.yml @@ -0,0 +1,19 @@ +steps: + - command: "system-test/testnet-performance/testnet-automation.sh" + label: "Azure - CPU Only 5 Node" + env: + UPLOAD_RESULTS_TO_SLACK: "true" + CLOUD_PROVIDER: "azure" + TESTNET_TAG: "azure-perf-cpu-only" + RAMP_UP_TIME: 0 + TEST_DURATION_SECONDS: 600 + NUMBER_OF_VALIDATOR_NODES: 5 + ENABLE_GPU: "false" + VALIDATOR_NODE_MACHINE_TYPE: "Standard_D16s_v3" + NUMBER_OF_CLIENT_NODES: 2 + CLIENT_OPTIONS: "bench-tps=2=--tx_count 15000 --thread-batch-sleep-ms 250" + TESTNET_ZONES: "westus" + USE_PUBLIC_IP_ADDRESSES: "true" + ADDITIONAL_FLAGS: "" + agents: + - "queue=testnet-deploy" diff --git a/system-test/testnet-performance/testnet-automation.sh b/system-test/testnet-performance/testnet-automation.sh index 0a47e3d206..7d1ef8d27f 100755 --- a/system-test/testnet-performance/testnet-automation.sh +++ b/system-test/testnet-performance/testnet-automation.sh @@ -108,6 +108,19 @@ EOF label: "Delete Testnet" agents: - "queue=testnet-deploy" +EOF + ) | buildkite-agent pipeline upload + ;; + azure) + ( + cat <