maximesson | 181070f | 2020-08-07 14:18:32 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2016-2017 Huawei Technologies Co., Ltd. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # Place the scripts in run order: |
| 18 | source ${WORKSPACE}/scripts/ccsdk/script1.sh |
| 19 | |
| 20 | # CLI internet speed test |
| 21 | curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - |
| 22 | |
| 23 | # Test download a 100 MB file to check network speed to nexus.onap.org |
| 24 | wget -O /dev/null https://nexus.onap.org/content/repositories/releases/org/onap/appc/appc-dg-shared-installer/1.3.0/appc-dg-shared-installer-1.3.0.zip |
| 25 | |
| 26 | # Test download a 100 MB file to check network speed to nexus3.onap.org |
| 27 | wget -O /dev/null https://nexus3.onap.org/repository/docker.release/v2/-/blobs/sha256:04dc4b8163487bb1c40df1ce16f349b507c262d6e2f202baa2e66a42eb8c64a1 |
| 28 | |