From 0b74e917b3057bffa5b00a0cc52639e1f14ce30f Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Thu, 20 Jun 2019 12:06:25 -0500 Subject: [PATCH] multinode: Add Shipyard test site stage This change adds a script that enables the ability to add a site test stage to a manifest. The Shipyard test site action runs Helm tests for a deployed site. Change-Id: I77c123c89fe1e780ede899fa3cc6d2a726f74f49 --- .../airship_gate/stages/shipyard-test-site.sh | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tools/multi_nodes_gate/airship_gate/stages/shipyard-test-site.sh diff --git a/tools/multi_nodes_gate/airship_gate/stages/shipyard-test-site.sh b/tools/multi_nodes_gate/airship_gate/stages/shipyard-test-site.sh new file mode 100755 index 00000000..cc25058b --- /dev/null +++ b/tools/multi_nodes_gate/airship_gate/stages/shipyard-test-site.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# Copyright 2019, AT&T Intellectual Property +# +# 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 -e + +source "${GATE_UTILS}" + +cd "${TEMP_DIR}" + +shipyard_cmd create action test_site "$@"