blob: 46226caa53f8afd8f3466bddf67f2e2f8ffaa7f6 [file] [log] [blame]
SeanCondon3c3d08f2022-05-27 11:39:58 +01001#!/bin/bash
2# SPDX-FileCopyrightText: 2022-present Intel Corporation
3#
4# SPDX-License-Identifier: Apache-2.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 fabric-umbrella || true
15kubectl create ns fabric-umbrella
16# This test is currently not working - need to figure out why
17helmit test -n fabric-umbrella ./test -c ${chart_dir} --suite fabric-umbrella
18kubectl delete ns fabric-umbrella
19
20rm -rf ${chart_dir}
21