Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org> |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 2 | # |
| 3 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
| 5 | .PHONY: all test clean |
| 6 | |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 7 | all: test |
| 8 | |
Ray Milkey | 35a07f8 | 2021-10-26 15:05:43 -0700 | [diff] [blame] | 9 | test: # @HELP run the acceptance tests |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 10 | test: deps |
Ray Milkey | 35a07f8 | 2021-10-26 15:05:43 -0700 | [diff] [blame] | 11 | |
| 12 | roc-test: # @HELP run the integration tests |
| 13 | roc-test: deps # @HELP run the integration tests |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 14 | ./build/bin/run-roc-test |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 15 | |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 16 | clean: # @HELP clean up temporary files for ROC umbrella. |
| 17 | rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 18 | |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 19 | deps: # @HELP build dependencies for ROC Umbrella local charts. |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 20 | deps: clean |
Sean Condon | af0eb3c | 2021-09-19 20:14:29 +0100 | [diff] [blame] | 21 | helm dep build aether-roc-umbrella |
Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 22 | |
| 23 | help: |
| 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 | ' |