[VOL-5100] - periodic-voltha-test-bbsim
jjb/pipeline/voltha/master/bbsim-tests.groovy
---------------------------------------------
o Disable installKind() call for now. Jenkins shared library
repository checkout is two changesets behind branch=master (?)
jjb/shell/helm-lint.sh
----------------------
o Added a call to (lint) helmrepo.sh, an extra script jenkins will launch.
o Correct variant behavior, interactive lint checking should expose the
the same problems that jenkins will eventually fail a job for.
Change-Id: I654f04ea1d530bd9354177ed168cf2742b5e7257
diff --git a/jjb/shell/helm-lint.sh b/jjb/shell/helm-lint.sh
index e2f9e23..9407c04 100644
--- a/jjb/shell/helm-lint.sh
+++ b/jjb/shell/helm-lint.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# SPDX-FileCopyrightText: 2020-2022 Open Networking Foundation <info@opennetworking.org>
+# Copyright 2020-2023 Open Networking Foundation (ONF) and the ONF Contributors
# SPDX-License-Identifier: Apache-2.0
set -eu -o pipefail
@@ -8,17 +8,25 @@
export OLD_REPO_DIR="cord-charts-repo"
# Setup helm and external repos
+cat <<EOM
+
+** -----------------------------------------------------------------------
+** Configure helm and external repos
+** -----------------------------------------------------------------------
+EOM
+
helm repo add stable https://charts.helm.sh/stable
helm repo add rook-release https://charts.rook.io/release
helm repo add cord https://charts.opencord.org
+## Clone tool chain
git clone ssh://jenkins@gerrit.opencord.org:29418/helm-repo-tools.git
./helm-repo-tools/helmlint.sh clean
echo "*.lock" >> .gitignore
# Specify the remote branch to compare against
export COMPARISON_BRANCH="origin/$GERRIT_BRANCH"
-./helm-repo-tools/chart_version_check.sh
+./helm-repo-tools/chart_version_check.sh # [TODO] make lint-chart
# Configure git
git config --global user.email "do-not-reply@opennetworking.org"
@@ -26,4 +34,7 @@
# Check for chart version conflicts by building the repo (don't upload)
git clone "ssh://jenkins@gerrit.opencord.org:29418/$OLD_REPO_DIR.git"
-./helm-repo-tools/helmrepo.sh
+
+./helm-repo-tools/helmrepo.sh # [TODO] make ???
+
+# [EOF]