setting up the go envrionment
Change-Id: Icf18b1def15ff9f45452010fdede034e42315a43
diff --git a/Makefile b/Makefile
index 7af1d76..f777393 100644
--- a/Makefile
+++ b/Makefile
@@ -1,59 +1,21 @@
-# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
+# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
.PHONY: all test clean
-SKIPPED_DIRS=ran-simulator/files
-
all: test
-jenkins-test: jenkins_version_check license_check # @HELP run the jenkins verification tests
- docker pull quay.io/helmpack/chart-testing:v2.4.0
- docker run --rm --name ct --volume `pwd`:/charts quay.io/helmpack/chart-testing:v3.0.0-beta.1 sh -c "ct lint --charts charts/onos-e2sub,charts/onos-e2t,charts/ran-simulator,charts/onos-kpimon --debug --validate-maintainers=false"
-
-license_check: # @HELP examine and ensure license headers exist
- @if [ ! -d "../build-tools" ]; then cd .. && git clone https://github.com/onosproject/build-tools.git; fi
- ./../build-tools/licensing/boilerplate.py -v --rootdir=${CURDIR} --boilerplate LicenseRef-ONF-Member-1.0 --skipped-dir ${SKIPPED_DIRS}
-
-jenkins_version_check: build-tools # @HELP run the version checker on the charts
- export COMPARISON_BRANCH=origin/master && export WORKSPACE=`pwd` && ./../build-tools/chart_version_check
- ./../build-tools/chart_single_check
-
-version_check: build-tools # @HELP run the version checker on the charts
- COMPARISON_BRANCH=master ./../build-tools/chart_version_check
- ./../build-tools/chart_single_check
-
test: # @HELP run the integration tests
-test: license_check version_check deps deps-roc
- ./build/bin/run-sd-ran-test
+test: deps
+ ./build/bin/run-roc-test
-publish: build-tools # @HELP publish version on sdrancharts.onosproject.org
- ./../build-tools/publish-version ${VERSION}
+clean: # @HELP clean up temporary files for ROC umbrella.
+ rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock
-jenkins-publish: build-tools # @HELP publish version on github
- cd .. && GO111MODULE=on go get github.com/mikefarah/yq/v4
- ./../build-tools/release-chart-merge-commit https://sdrancharts.onosproject.org ${WEBSITE_USER} ${WEBSITE_PASSWORD}
-
-build-tools: # @HELP install the ONOS build tools if needed
- @if [ ! -d "../build-tools" ]; then cd .. && git clone https://github.com/onosproject/build-tools.git; fi
-
-bumponosdeps: # @HELP update "onosproject" go dependencies and push patch to git.
- ./../build-tools/bump-onos-deps ${VERSION}
-
-clean-roc: # @HELP clean up temporary files for ROC umbrella.
- rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock aether-roc-umbrella/tmpcharts
-
-deps-roc: # @HELP build dependencies for ROC Umbrella local charts.
-deps-roc: clean-roc
- helm dep build aether-roc-umbrella
-
-clean: # @HELP clean up temporary files for SD-RAN umbrella.
- rm -rf sd-ran/charts sd-ran/Chart.lock
-
-deps: # @HELP build dependencies for SD-RAN Umbrella local charts.
+deps: # @HELP build dependencies for ROC Umbrella local charts.
deps: clean
- helm dep build sd-ran
+ helm dep build aether-roc-umbrella
help:
@grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \