blob: 1c595d71b9ec2598343df9a6296514ad58e8ac4a [file] [log] [blame]
Sean Condonaf0eb3c2021-09-19 20:14:29 +01001# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
Scott Baker69654392021-09-17 13:50:16 -07002#
3# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5.PHONY: all test clean
6
Scott Baker69654392021-09-17 13:50:16 -07007all: test
8
Ray Milkey35a07f82021-10-26 15:05:43 -07009test: # @HELP run the acceptance tests
Sean Condonaf0eb3c2021-09-19 20:14:29 +010010test: deps
Ray Milkey35a07f82021-10-26 15:05:43 -070011
12roc-test: # @HELP run the integration tests
13roc-test: deps # @HELP run the integration tests
Sean Condonaf0eb3c2021-09-19 20:14:29 +010014 ./build/bin/run-roc-test
Scott Baker69654392021-09-17 13:50:16 -070015
Sean Condonaf0eb3c2021-09-19 20:14:29 +010016clean: # @HELP clean up temporary files for ROC umbrella.
17 rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock
Scott Baker69654392021-09-17 13:50:16 -070018
Sean Condonaf0eb3c2021-09-19 20:14:29 +010019deps: # @HELP build dependencies for ROC Umbrella local charts.
Scott Baker69654392021-09-17 13:50:16 -070020deps: clean
Sean Condonaf0eb3c2021-09-19 20:14:29 +010021 helm dep build aether-roc-umbrella
Scott Baker69654392021-09-17 13:50:16 -070022
23help:
24 @grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
25 | sort \
26 | awk ' \
27 BEGIN {FS = ": *# *@HELP"}; \
28 {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \
29 '