blob: 5da469eda355d1ca458bdb06b4b2538e89d300fa [file] [log] [blame]
Sean Condonaf0eb3c2021-09-19 20:14:29 +01001#!/bin/bash
2# SPDX-FileCopyrightText: 2021 Open Networking Foundation
3#
Sean Condon160ec1d2022-02-08 12:58:25 +00004# SPDX-License-Identifier: Apache-2.0
Sean Condonaf0eb3c2021-09-19 20:14:29 +01005# 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