diff --git a/prow/codecov.sh b/prow/codecov.sh deleted file mode 100755 index 4ee0743c0c7d..000000000000 --- a/prow/codecov.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# No unset vars, print commands as they're executed, and exit on any non-zero -# return code -set -u -set -x -set -e - -# shellcheck source=prow/lib.sh -source "${ROOT}/prow/lib.sh" -setup_and_export_git_sha - -cd "${ROOT}" - -make localTestEnv build -MAXPROCS=6 bin/codecov_diff.sh diff --git a/prow/e2e-bookInfoTests-envoyv2-v1alpha3-mcp.sh b/prow/e2e-bookInfoTests-envoyv2-v1alpha3-mcp.sh deleted file mode 100755 index 0d3c41374da0..000000000000 --- a/prow/e2e-bookInfoTests-envoyv2-v1alpha3-mcp.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -################################################ -# # -# e2e-bookInfoTests (v1alpha3) # -# # -################################################ - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running bookinfo test with rbac, auth Tests' -./prow/e2e-suite.sh --use_mcp=true --single_test e2e_bookinfo_envoyv2_v1alpha3 "$@" diff --git a/prow/e2e-bookInfoTests-envoyv2-v1alpha3-non-mcp.sh b/prow/e2e-bookInfoTests-envoyv2-v1alpha3-non-mcp.sh deleted file mode 100755 index 95b24d983060..000000000000 --- a/prow/e2e-bookInfoTests-envoyv2-v1alpha3-non-mcp.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -################################################ -# # -# e2e-bookInfoTests (v1alpha3) # -# # -################################################ - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running bookinfo test with rbac, auth Tests' -./prow/e2e-suite.sh --use_mcp=false --single_test e2e_bookinfo_envoyv2_v1alpha3 "$@" diff --git a/prow/e2e-bookInfoTests-trustdomain.sh b/prow/e2e-bookInfoTests-trustdomain.sh deleted file mode 100755 index 6d3fbb3930ca..000000000000 --- a/prow/e2e-bookInfoTests-trustdomain.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eux - -echo 'Running bookinfo test with a different trust domain' -./prow/e2e-suite.sh --single_test e2e_bookinfo_trustdomain "$@" diff --git a/prow/e2e-bookInfoTests.sh b/prow/e2e-bookInfoTests.sh deleted file mode 100755 index f7782ab09e2f..000000000000 --- a/prow/e2e-bookInfoTests.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -################################################ -# # -# e2e-bookInfoTests (v1alpha3) # -# # -################################################ - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running bookinfo test with rbac, auth Tests' -./prow/e2e-suite.sh --single_test e2e_bookinfo_envoyv2_v1alpha3 "$@" diff --git a/prow/e2e-cluster_wide-auth.sh b/prow/e2e-cluster_wide-auth.sh deleted file mode 100755 index 0e804155935b..000000000000 --- a/prow/e2e-cluster_wide-auth.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -ROOT=$(cd "$(dirname "$0")"/..; pwd) - -echo 'Running cluster-wide e2e rbac, auth Tests' -"${ROOT}/prow/e2e-suite.sh" --test_vm --auth_enable --cluster_wide --use_galley_config_validator "$@" diff --git a/prow/e2e-kind-simpleTests.sh b/prow/e2e-kind-simpleTests.sh deleted file mode 100755 index 88ba5bc06dc5..000000000000 --- a/prow/e2e-kind-simpleTests.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running Simple test with rbac, auth Tests' - -./prow/e2e-kind-suite.sh --auth_enable --single_test e2e_simple "$@" diff --git a/prow/e2e-mixer-no_auth-mcp.sh b/prow/e2e-mixer-no_auth-mcp.sh deleted file mode 100755 index b707b1ab4fc1..000000000000 --- a/prow/e2e-mixer-no_auth-mcp.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# mixer-e2e (v1alpha3) # -# MCP variant # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth disabled -#echo 'Running mixer e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --use_mcp=true --single_test e2e_mixer diff --git a/prow/e2e-mixer-no_auth-non-mcp.sh b/prow/e2e-mixer-no_auth-non-mcp.sh deleted file mode 100755 index 425b1b56cca2..000000000000 --- a/prow/e2e-mixer-no_auth-non-mcp.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# mixer-e2e (v1alpha3) # -# MCP variant # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth disabled -#echo 'Running mixer e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --use_mcp=false --single_test e2e_mixer diff --git a/prow/e2e-simpleTests-cni.sh b/prow/e2e-simpleTests-cni.sh deleted file mode 100755 index 4f87b826e01f..000000000000 --- a/prow/e2e-simpleTests-cni.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-simpleTest-cni # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running e2e_simple test with rbac, auth Tests and CNI enabled' - -export ENABLE_ISTIO_CNI=true - -# only gke-e2e-test-latest is enabled for Networkpolicy and Calico -export RESOURCE_TYPE="gke-e2e-test-latest" -# TODO - When the inline kube inject code defaults to using the configmap this setting can be removed. -export E2E_ARGS+=" --kube_inject_configmap=istio-sidecar-injector" -./prow/e2e-suite.sh --auth_enable --single_test e2e_simple "$@" diff --git a/prow/e2e-simpleTests-distroless.sh b/prow/e2e-simpleTests-distroless.sh deleted file mode 100755 index c8c8fa8adad3..000000000000 --- a/prow/e2e-simpleTests-distroless.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running Simple test with rbac, auth Tests and distroless' -./prow/e2e-suite.sh --auth_enable --single_test e2e_simple --installer helm --variant distroless "$@" diff --git a/prow/e2e-simpleTests-mcp.sh b/prow/e2e-simpleTests-mcp.sh deleted file mode 100755 index 631cc751735b..000000000000 --- a/prow/e2e-simpleTests-mcp.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running Simple test with rbac, auth Tests' -./prow/e2e-suite.sh --auth_enable --use_mcp=true --single_test e2e_simple --installer helm "$@" diff --git a/prow/e2e-simpleTests-minProfile.sh b/prow/e2e-simpleTests-minProfile.sh deleted file mode 100755 index 8c4483567c14..000000000000 --- a/prow/e2e-simpleTests-minProfile.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running Simple test with minimal profile and gateways, non auth test' -./prow/e2e-suite.sh --single_test e2e_simple_noauth --installer helm --valueFile "values-istio-minimal.yaml" --helmSetValueList "gateways.enabled=true,galley.enabled=false,global.useMCP=false" "$@" diff --git a/prow/e2e-simpleTests-non-mcp.sh b/prow/e2e-simpleTests-non-mcp.sh deleted file mode 100755 index 36f370d849b3..000000000000 --- a/prow/e2e-simpleTests-non-mcp.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -####################################### -# # -# e2e-suite # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -echo 'Running Simple test with rbac, auth Tests' -./prow/e2e-suite.sh --auth_enable --use_mcp=false --single_test e2e_simple --installer helm "$@" diff --git a/prow/e2e-split-horizon-eds.sh b/prow/e2e-split-horizon-eds.sh deleted file mode 100755 index ebf52b51ce17..000000000000 --- a/prow/e2e-split-horizon-eds.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -export RESOURCE_TYPE="${RESOURCE_TYPE:-gke-e2e-test}" -export OWNER="istio-multicluster-split-horizon-e2e" - -export SETUP_CLUSTERREG="True" -CLUSTERREG_DIR="${CLUSTERREG_DIR:-$(mktemp -d /tmp/clusterregXXX)}" -export CLUSTERREG_DIR - -./prow/e2e-suite.sh --timeout 15m --cluster_registry_dir="$CLUSTERREG_DIR" --single_test e2e_multicluster_split_horizon "$@" diff --git a/prow/e2e_pilotv2_auth_sds.sh b/prow/e2e_pilotv2_auth_sds.sh deleted file mode 100755 index 041593f9e1a8..000000000000 --- a/prow/e2e_pilotv2_auth_sds.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# e2e_pilotv2_auth_sds # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth enabled through SDS -#echo 'Running pilot e2e tests (v1alpha3, auth through sds)' -./prow/e2e-suite.sh --single_test e2e_pilotv2_auth_sds diff --git a/prow/integ-suite-k8s.sh b/prow/integ-suite-k8s.sh deleted file mode 100755 index 86201b329e73..000000000000 --- a/prow/integ-suite-k8s.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Check https://github.com/istio/test-infra/blob/master/boskos/configs.yaml -# for existing resources types -RESOURCE_TYPE="${RESOURCE_TYPE:-gke-e2e-test}" -OWNER="${OWNER:-integ}" -USE_MASON_RESOURCE="${USE_MASON_RESOURCE:-True}" -CLEAN_CLUSTERS="${CLEAN_CLUSTERS:-True}" - - -# shellcheck source=prow/lib.sh -source "${ROOT}/prow/lib.sh" -# shellcheck source=prow/mason_lib.sh -source "${ROOT}/prow/mason_lib.sh" -# shellcheck source=prow/cluster_lib.sh -source "${ROOT}/prow/cluster_lib.sh" - -function cleanup() { - if [[ "${CLEAN_CLUSTERS}" == "True" ]]; then - unsetup_clusters - fi - if [[ "${USE_MASON_RESOURCE}" == "True" ]]; then - mason_cleanup - cat "${FILE_LOG}" - fi -} - -trap cleanup EXIT - -INFO_PATH="$(mktemp /tmp/XXXXX.boskos.info)" -FILE_LOG="$(mktemp /tmp/XXXXX.boskos.log)" - -setup_and_export_git_sha - - -if [ "${CI:-}" == 'bootstrap' ]; then - # bootsrap upload all artifacts in _artifacts to the log bucket. - ARTIFACTS=${ARTIFACTS:-"${GOPATH}/src/istio.io/istio/_artifacts"} -fi - -export HUB=${HUB:-"gcr.io/istio-testing"} -export TAG="${TAG:-${GIT_SHA}}" - -if [[ $HUB == *"istio-testing"* ]]; then - export TAG="${TAG:-${GIT_SHA}}"-"$*" -fi - -make init - -if [[ $HUB == *"istio-testing"* ]]; then - time ISTIO_DOCKER_HUB="${HUB}" make docker.push HUB="${HUB}" TAG="${TAG}" -fi - -get_resource "${RESOURCE_TYPE}" "${OWNER}" "${INFO_PATH}" "${FILE_LOG}" -setup_cluster - -export JUNIT_UNIT_TEST_XML="${ARTIFACTS}/junit_unit-tests.xml" -export T="-v" -make "$@" - diff --git a/prow/integ-telemetry-k8s-presubmit-tests.sh b/prow/integ-telemetry-k8s-presubmit-tests.sh deleted file mode 100755 index 81f740be5235..000000000000 --- a/prow/integ-telemetry-k8s-presubmit-tests.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -"${ROOT}/prow/integ-suite-k8s.sh" test.integration.telemetry.kube.presubmit diff --git a/prow/istio-integ-k8s-tests.sh b/prow/istio-integ-k8s-tests.sh deleted file mode 100755 index 9a24b5db71ea..000000000000 --- a/prow/istio-integ-k8s-tests.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -"${ROOT}/prow/integ-suite-k8s.sh" test.integration.kube diff --git a/prow/istio-lint.sh b/prow/istio-lint.sh deleted file mode 100755 index 50319d080e3c..000000000000 --- a/prow/istio-lint.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# No unset vars, print commands as they're executed, and exit on any non-zero -# return code -set -u -set -x -set -e - -make lint diff --git a/prow/istio-pilot-e2e-envoyv2-v1alpha3-k8s-latest.sh b/prow/istio-pilot-e2e-envoyv2-v1alpha3-k8s-latest.sh deleted file mode 100755 index 29252c188b88..000000000000 --- a/prow/istio-pilot-e2e-envoyv2-v1alpha3-k8s-latest.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# pilot-e2e (v1alpha3) # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -export RESOURCE_TYPE="gke-e2e-test-latest" - -# Run tests with auth disabled -#echo 'Running pilot e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --single_test e2e_pilotv2_v1alpha3 - -# Run tests with auth enabled -#echo 'Running pilot e2e tests (v1alpha3, auth)' -#./prow/e2e-suite.sh --auth_enable=true --v1alpha1=false --single_test e2e_pilot "$@" diff --git a/prow/istio-pilot-e2e-envoyv2-v1alpha3-mcp.sh b/prow/istio-pilot-e2e-envoyv2-v1alpha3-mcp.sh deleted file mode 100755 index 915e533266c2..000000000000 --- a/prow/istio-pilot-e2e-envoyv2-v1alpha3-mcp.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# pilot-e2e (v1alpha3) # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth disabled -#echo 'Running pilot e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --use_mcp=true --single_test e2e_pilotv2_v1alpha3 - -# Run tests with auth enabled -#echo 'Running pilot e2e tests (v1alpha3, auth)' -#./prow/e2e-suite.sh --auth_enable=true --v1alpha1=false --single_test e2e_pilot "$@" diff --git a/prow/istio-pilot-e2e-envoyv2-v1alpha3-non-mcp.sh b/prow/istio-pilot-e2e-envoyv2-v1alpha3-non-mcp.sh deleted file mode 100755 index f66ea309e3de..000000000000 --- a/prow/istio-pilot-e2e-envoyv2-v1alpha3-non-mcp.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# pilot-e2e (v1alpha3) # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth disabled -#echo 'Running pilot e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --use_mcp=false --single_test e2e_pilotv2_v1alpha3 - -# Run tests with auth enabled -#echo 'Running pilot e2e tests (v1alpha3, auth)' -#./prow/e2e-suite.sh --auth_enable=true --v1alpha1=false --single_test e2e_pilot "$@" diff --git a/prow/istio-pilot-e2e-envoyv2-v1alpha3.sh b/prow/istio-pilot-e2e-envoyv2-v1alpha3.sh deleted file mode 100755 index 35e0e1eb318e..000000000000 --- a/prow/istio-pilot-e2e-envoyv2-v1alpha3.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Copyright 2017 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -####################################### -# # -# pilot-e2e (v1alpha3) # -# # -####################################### - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Run tests with auth disabled -#echo 'Running pilot e2e tests (v1alpha3, noauth)' -./prow/e2e-suite.sh --single_test e2e_pilotv2_v1alpha3 - -# Run tests with auth enabled -#echo 'Running pilot e2e tests (v1alpha3, auth)' -#./prow/e2e-suite.sh --auth_enable=true --v1alpha1=false --single_test e2e_pilot "$@" diff --git a/prow/istio-presubmit.sh b/prow/istio-presubmit.sh deleted file mode 100755 index e19541ed601d..000000000000 --- a/prow/istio-presubmit.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash - -# Copyright 2016 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Presubmit script triggered by Prow. -# - push docker images to grc.io for the integration tests. - -# Separate (and parallel) jobs are doing lint, coverage, etc. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# No unset vars, print commands as they're executed, and exit on any non-zero -# return code -set -u -set -x -set -e - -# shellcheck source=prow/lib.sh -source "${ROOT}/prow/lib.sh" -setup_and_export_git_sha - -echo 'Build' -(cd "${ROOT}"; make build) - -if [[ -n $(git diff) ]]; then - echo "Uncommitted changes found:" - git diff -fi - -# Upload images - needed by the subsequent tests -time ISTIO_DOCKER_HUB="gcr.io/istio-testing" make gcs.push HUB="gcr.io/istio-testing" TAG="${GIT_SHA}" - diff --git a/prow/shellcheck.sh b/prow/shellcheck.sh deleted file mode 100755 index 23d9b41dea67..000000000000 --- a/prow/shellcheck.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# Copyright 2019 Istio Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -WD=$(dirname "$0") -WD=$(cd "$WD"; pwd) -ROOT=$(dirname "$WD") - -# No unset vars, print commands as they're executed, and exit on any non-zero -# return code -set -u -set -x -set -e - -# shellcheck source=prow/lib.sh -source "${ROOT}/prow/lib.sh" -setup_and_export_git_sha - -cd "${ROOT}" - -make localTestEnv shellcheck diff --git a/prow/upgrade-tests-1.0.1.sh b/prow/upgrade-tests-1.0.1.sh deleted file mode 100755 index 3ed007852d3f..000000000000 --- a/prow/upgrade-tests-1.0.1.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Local run example: -# UPGRADE_TEST_LOCAL="true" HUB=gcr.io/istio-release \ -# ISTIO_REL_URL=https://storage.googleapis.com/istio-release-pipeline-data/daily-build/master-20190107-09-15 \ -# TAG=master-20190107-09-15 \ -# prow/upgrade-tests-1.0.1.sh - -# Set up inputs needed by test_upgrade.sh -export SOURCE_HUB=${SOURCE_HUB:-$HUB} -export SOURCE_VERSION=1.0.1 -export SOURCE_RELEASE_PATH="https://github.com/istio/istio/releases/download/${SOURCE_VERSION}" -export TARGET_HUB=${TARGET_HUB:-$HUB} -export TARGET_VERSION=${TAG} -export TARGET_RELEASE_PATH=${ISTIO_REL_URL} - -# Run the corresponding test in istio source code. -./prow/upgrade-tests.sh - diff --git a/prow/upgrade-tests-1.0.2.sh b/prow/upgrade-tests-1.0.2.sh deleted file mode 100755 index 079eac499f96..000000000000 --- a/prow/upgrade-tests-1.0.2.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# Copyright 2018 Istio Authors - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Exit immediately for non zero status -set -e -# Check unset variables -set -u -# Print commands -set -x - -# Local run example: -# UPGRADE_TEST_LOCAL="true" HUB=gcr.io/istio-release \ -# ISTIO_REL_URL=https://storage.googleapis.com/istio-release-pipeline-data/daily-build/master-20190107-09-15 \ -# TAG=master-20190107-09-15 \ -# prow/upgrade-tests-1.0.2.sh - -# Set up inputs needed by test_upgrade.sh -export SOURCE_HUB=${SOURCE_HUB:-$HUB} -export SOURCE_VERSION=1.0.2 -export SOURCE_RELEASE_PATH="https://github.com/istio/istio/releases/download/${SOURCE_VERSION}" -export TARGET_HUB=${TARGET_HUB:-$HUB} -export TARGET_VERSION=${TAG} -export TARGET_RELEASE_PATH=${ISTIO_REL_URL} - -# Run the corresponding test in istio source code. -./prow/upgrade-tests.sh -