From 1695240f54769e7ee8a125dcebaf4c8b500c015d Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 9 Nov 2022 10:52:53 +0530 Subject: [PATCH] build: remove travis CI scripts for functest and helm considering we have moved out of travis and replaced github action, this commit remove the functional test and helmtest scripts. Signed-off-by: Humble Chirammal --- scripts/skip-doc-change.sh | 2 +- scripts/travis-functest.sh | 38 ---------------------------- scripts/travis-helmtest.sh | 52 -------------------------------------- 3 files changed, 1 insertion(+), 91 deletions(-) delete mode 100755 scripts/travis-functest.sh delete mode 100755 scripts/travis-helmtest.sh diff --git a/scripts/skip-doc-change.sh b/scripts/skip-doc-change.sh index 4830db595..8be0c07d2 100755 --- a/scripts/skip-doc-change.sh +++ b/scripts/skip-doc-change.sh @@ -11,7 +11,7 @@ function check_file_present() { local file=$1 for FILE in "${FILES[@]}"; do if [[ $file =~ $FILE ]]; then - if [[ $file =~ (minikube.sh|travis-functest.sh) ]]; then + if [[ $file =~ (minikube.sh) ]]; then continue fi return 0 diff --git a/scripts/travis-functest.sh b/scripts/travis-functest.sh deleted file mode 100755 index d86c80de9..000000000 --- a/scripts/travis-functest.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -set -e - -# This script will be used by centos CI to run functional test -# against different Kubernetes version -export KUBE_VERSION=$1 -shift -# parse the Kubernetes version, return the digit passed as argument -# v1.17.0 -> kube_version 1 -> 1 -# v1.17.0 -> kube_version 2 -> 17 -kube_version() { - echo "${KUBE_VERSION}" | sed 's/^v//' | cut -d'.' -f"${1}" -} - -# configure global environment variables -# shellcheck source=build.env -source "$(dirname "${0}")/../build.env" -cat < kube_version 1 -> 1 -# v1.17.0 -> kube_version 2 -> 17 -kube_version() { - echo "${KUBE_VERSION}" | sed 's/^v//' | cut -d'.' -f"${1}" -} - -# configure global environment variables -# shellcheck source=build.env -source "$(dirname "${0}")/../build.env" -cat <