blob: c163616d235c94a34bb2b04ad30f7d6fc0876083 [file] [log] [blame]
Sean Condonaf0eb3c2021-09-19 20:14:29 +01001#!/bin/bash
2# SPDX-FileCopyrightText: 2021 Open Networking Foundation
3#
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5# Script to build and run all of the onos integration tests
6
7set -eu -o pipefail
8
9chart_dir=$(mktemp -d)
10
11#cp -R ../onos-helm-charts/* ${chart_dir}
12cp -R ../roc-helm-charts/* ${chart_dir}
13
14kubectl delete ns aether-roc-umbrella || true
15kubectl create ns aether-roc-umbrella
16# This test is currently not working - need to figure out why
17helmit test -n aether-roc-umbrella ./test -c ${chart_dir} --suite aether-roc-umbrella
18kubectl delete ns aether-roc-umbrella
19
20rm -rf ${chart_dir}
21