Add fix for build dependecies 07/38607/2
authorMike Elliott <mike.elliott@amdocs.com>
Mon, 26 Mar 2018 16:28:53 +0000 (12:28 -0400)
committerMike Elliott <mike.elliott@amdocs.com>
Mon, 26 Mar 2018 19:11:52 +0000 (15:11 -0400)
Moved mysql and dgbuilder under common (built first)
to ensure they are built before appc and sdnc charts
that depend on them.

Change-Id: I2fc28f0537b2639bd2b761c6f115544965a228b1
Issue-ID: OOM-830
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
26 files changed:
kubernetes/Makefile
kubernetes/common/Makefile
kubernetes/common/dgbuilder/.helmignore [moved from kubernetes/dgbuilder/.helmignore with 100% similarity]
kubernetes/common/dgbuilder/Chart.yaml [moved from kubernetes/dgbuilder/Chart.yaml with 100% similarity]
kubernetes/common/dgbuilder/requirements.yaml [moved from kubernetes/dgbuilder/requirements.yaml with 100% similarity]
kubernetes/common/dgbuilder/resources/config/svclogic.properties [moved from kubernetes/dgbuilder/resources/config/svclogic.properties with 100% similarity]
kubernetes/common/dgbuilder/resources/scripts/createReleaseDir.sh [moved from kubernetes/dgbuilder/resources/scripts/createReleaseDir.sh with 100% similarity]
kubernetes/common/dgbuilder/resources/scripts/customSettings.js [moved from kubernetes/dgbuilder/resources/scripts/customSettings.js with 100% similarity]
kubernetes/common/dgbuilder/templates/NOTES.txt [moved from kubernetes/dgbuilder/templates/NOTES.txt with 100% similarity]
kubernetes/common/dgbuilder/templates/configmap.yaml [moved from kubernetes/dgbuilder/templates/configmap.yaml with 100% similarity]
kubernetes/common/dgbuilder/templates/deployment.yaml [moved from kubernetes/dgbuilder/templates/deployment.yaml with 100% similarity]
kubernetes/common/dgbuilder/templates/secrets.yaml [moved from kubernetes/dgbuilder/templates/secrets.yaml with 100% similarity]
kubernetes/common/dgbuilder/templates/service.yaml [moved from kubernetes/dgbuilder/templates/service.yaml with 100% similarity]
kubernetes/common/dgbuilder/values.yaml [moved from kubernetes/dgbuilder/values.yaml with 100% similarity]
kubernetes/common/mysql/.helmignore [moved from kubernetes/mysql/.helmignore with 100% similarity]
kubernetes/common/mysql/Chart.yaml [moved from kubernetes/mysql/Chart.yaml with 100% similarity]
kubernetes/common/mysql/requirements.yaml [moved from kubernetes/mysql/requirements.yaml with 100% similarity]
kubernetes/common/mysql/templates/configmap.yaml [moved from kubernetes/mysql/templates/configmap.yaml with 100% similarity]
kubernetes/common/mysql/templates/nfs-provisoner.yaml [moved from kubernetes/mysql/templates/nfs-provisoner.yaml with 100% similarity]
kubernetes/common/mysql/templates/pv.yaml [moved from kubernetes/mysql/templates/pv.yaml with 100% similarity]
kubernetes/common/mysql/templates/pvc.yaml [moved from kubernetes/mysql/templates/pvc.yaml with 100% similarity]
kubernetes/common/mysql/templates/secrets.yaml [moved from kubernetes/mysql/templates/secrets.yaml with 100% similarity]
kubernetes/common/mysql/templates/service.yaml [moved from kubernetes/mysql/templates/service.yaml with 100% similarity]
kubernetes/common/mysql/templates/statefulset.yaml [moved from kubernetes/mysql/templates/statefulset.yaml with 100% similarity]
kubernetes/common/mysql/templates/storageclass.yaml [moved from kubernetes/mysql/templates/storageclass.yaml with 100% similarity]
kubernetes/common/mysql/values.yaml [moved from kubernetes/mysql/values.yaml with 100% similarity]

index 9cbf90f..f3e50e4 100644 (file)
@@ -1,26 +1,33 @@
+# Copyright © 2017 Amdocs, Bell Canada
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 PARENT_CHART := onap
 COMMON_CHARTS_DIR := common
-SETUP_CHARTS_DIR := setup
-#Order is important
-SHARED_CHARTS := common setup mysql dgbuilder
 # FIXME OOM-765
 ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
 OUTPUT_DIR := $(ROOT_DIR)/dist
 PACKAGE_DIR := $(OUTPUT_DIR)/packages
 SECRET_DIR := $(OUTPUT_DIR)/secrets
 
-EXCLUDES := $(COMMON_CHARTS_DIR) config oneclick readiness test dist helm $(PARENT_CHART) dcae
-EXCLUDES := $(SHARED_CHARTS) config oneclick readiness test dist $(PARENT_CHART) dcae
+EXCLUDES := config oneclick readiness test dist helm $(PARENT_CHART) dcae
 HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) $(PARENT_CHART)
 
 .PHONY: $(EXCLUDES) $(HELM_CHARTS)
 
 all: $(COMMON_CHARTS_DIR) $(HELM_CHARTS)
 
-common:
-all: $(SHARED_CHARTS) $(HELM_CHARTS)
-
-$(SHARED_CHARTS):
+$(COMMON_CHARTS):
        @echo "\n[$@]"
        @make package-$@
 
index b9cc125..a78cc88 100644 (file)
@@ -19,7 +19,7 @@ PACKAGE_DIR := $(OUTPUT_DIR)/packages
 SECRET_DIR := $(OUTPUT_DIR)/secrets
 
 EXCLUDES :=
-HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) $(PARENT_CHART)
+HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))
 
 .PHONY: $(EXCLUDES) $(HELM_CHARTS)