summaryrefslogtreecommitdiffstats
path: root/csit/start-gui-smoke-components.sh
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2022-03-15 11:56:01 +0000
committersaul.gill <saul.gill@est.tech>2022-03-22 12:16:51 +0000
commit264245051507c7446d1c407ff04063ec1193262b (patch)
tree9970e06729a633df7618c964ccaff860a9ca4e23 /csit/start-gui-smoke-components.sh
parent64b967be75708faff5f531591fa2f87bf722bffe (diff)
Added scripts for manual smoke testing
Added some scripts, docker compose and config files This is to aid in manual smoke testing Policy gui and policy backend have been added Issue-ID: POLICY-4000 Change-Id: Ia89cab416b02ab034c65ba8224536cde2f65c0c5 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'csit/start-gui-smoke-components.sh')
-rwxr-xr-xcsit/start-gui-smoke-components.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/csit/start-gui-smoke-components.sh b/csit/start-gui-smoke-components.sh
new file mode 100755
index 00000000..4fe36a01
--- /dev/null
+++ b/csit/start-gui-smoke-components.sh
@@ -0,0 +1,29 @@
+# ============LICENSE_START====================================================
+# Copyright (C) 2022 Nordix Foundation.
+# =============================================================================
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END======================================================
+SCRIPTS=$(git rev-parse --show-toplevel)
+export SCRIPTS="${SCRIPTS}"/csit
+
+cd ${SCRIPTS}
+
+python3 ./prepare-config-files.py --https=true
+
+source ./get-versions.sh
+
+docker-compose -f docker-compose-gui-smoke.yml up -d policy-gui
+
+echo "Clamp GUI: https://localhost:2443/clamp"