From 2cbcccc6d06324f3c91306ed73f262b631457a23 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Fri, 7 Aug 2020 10:20:12 -0700 Subject: [PATCH] Add playbooks for v2 emco chart. Rename v2/onap4k8s to v2/emco, and rename sanity-check-for-v2.sh to emco.sh. This allows --plugins emco to be passed to installer.sh in place of --plugins onap4k8s. Issue-ID: MULTICLOUD-1181 Signed-off-by: Todd Change-Id: Idb427a8aa4c8aaff181965a540078c8cf6dd88aa --- deployments/helm/v2/{onap4k8s => emco}/.helmignore | 0 deployments/helm/v2/{onap4k8s => emco}/Chart.yaml | 0 deployments/helm/v2/{onap4k8s => emco}/Makefile | 0 deployments/helm/v2/{onap4k8s => emco}/README.md | 0 .../helm/v2/{onap4k8s => emco}/clm/Chart.yaml | 0 .../v2/{onap4k8s => emco}/clm/requirements.yaml | 0 .../clm/resources/config/config.json | 0 .../clm/templates/configmap.yaml | 0 .../clm/templates/deployment.yaml | 0 .../{onap4k8s => emco}/clm/templates/service.yaml | 0 .../helm/v2/{onap4k8s => emco}/clm/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/common/Chart.yaml | 0 .../common/templates/_deployment.tpl | 0 .../{onap4k8s => emco}/common/templates/_name.tpl | 0 .../common/templates/_namespace.tpl | 0 .../common/templates/_repository.tpl | 0 .../common/templates/_resources.tpl | 0 .../common/templates/_service.tpl | 0 .../common/templates/_servicemco.tpl | 0 .../helm/v2/{onap4k8s => emco}/common/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/emco-db/Chart.yaml | 0 .../{onap4k8s => emco}/emco-db/requirements.yaml | 0 .../helm/v2/{onap4k8s => emco}/emco-db/values.yaml | 0 .../v2/{onap4k8s => emco}/emco-services/Chart.yaml | 0 .../emco-services/requirements.yaml | 0 .../{onap4k8s => emco}/emco-services/values.yaml | 0 .../v2/{onap4k8s => emco}/emco-tools/Chart.yaml | 0 .../emco-tools/requirements.yaml | 0 .../v2/{onap4k8s => emco}/emco-tools/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/emco/Chart.yaml | 0 .../v2/{onap4k8s => emco}/emco/requirements.yaml | 0 .../helm/v2/{onap4k8s => emco}/emco/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/etcd/.helmignore | 0 .../helm/v2/{onap4k8s => emco}/etcd/Chart.yaml | 0 .../v2/{onap4k8s => emco}/etcd/requirements.yaml | 0 .../v2/{onap4k8s => emco}/etcd/templates/pv.yaml | 0 .../{onap4k8s => emco}/etcd/templates/service.yaml | 0 .../etcd/templates/statefulset.yaml | 0 .../helm/v2/{onap4k8s => emco}/etcd/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/fluentd/.helmignore | 0 .../helm/v2/{onap4k8s => emco}/fluentd/Chart.yaml | 0 .../helm/v2/{onap4k8s => emco}/fluentd/README.md | 0 .../{onap4k8s => emco}/fluentd/templates/NOTES.txt | 0 .../fluentd/templates/_helpers.tpl | 0 .../fluentd/templates/aggregator-configmap.yaml | 0 .../fluentd/templates/aggregator-statefulset.yaml | 0 .../fluentd/templates/aggregator-svc.yaml | 0 .../fluentd/templates/clusterrole.yaml | 0 .../fluentd/templates/clusterrolebinding.yaml | 0 .../fluentd/templates/forwarder-configmap.yaml | 0 .../fluentd/templates/forwarder-daemonset.yaml | 0 .../fluentd/templates/forwarder-svc.yaml | 0 .../fluentd/templates/metrics-svc.yaml | 0 .../fluentd/templates/serviceaccount.yaml | 0 .../fluentd/templates/servicemonitor.yaml | 0 .../fluentd/templates/svc-headless.yaml | 0 .../fluentd/templates/tls-certs.yaml | 0 .../fluentd/values-production.yaml | 0 .../helm/v2/{onap4k8s => emco}/fluentd/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/mongo/.helmignore | 0 .../helm/v2/{onap4k8s => emco}/mongo/Chart.yaml | 0 .../v2/{onap4k8s => emco}/mongo/requirements.yaml | 0 .../mongo/templates/nfs-provisoner.yaml | 0 .../v2/{onap4k8s => emco}/mongo/templates/pv.yaml | 0 .../v2/{onap4k8s => emco}/mongo/templates/pvc.yaml | 0 .../mongo/templates/service.yaml | 0 .../mongo/templates/statefulset.yaml | 0 .../mongo/templates/storageclass.yaml | 0 .../helm/v2/{onap4k8s => emco}/mongo/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/ncm/Chart.yaml | 0 .../v2/{onap4k8s => emco}/ncm/requirements.yaml | 0 .../ncm/resources/config/config.json | 0 .../ncm/templates/configmap.yaml | 0 .../ncm/templates/deployment.yaml | 0 .../{onap4k8s => emco}/ncm/templates/service.yaml | 0 .../helm/v2/{onap4k8s => emco}/ncm/values.yaml | 0 .../v2/{onap4k8s => emco}/orchestrator/Chart.yaml | 0 .../orchestrator/requirements.yaml | 0 .../orchestrator/resources/config/config.json | 0 .../orchestrator/templates/configmap.yaml | 0 .../orchestrator/templates/deployment.yaml | 0 .../orchestrator/templates/service.yaml | 0 .../v2/{onap4k8s => emco}/orchestrator/values.yaml | 0 .../v2/{onap4k8s => emco}/ovnaction/Chart.yaml | 0 .../{onap4k8s => emco}/ovnaction/requirements.yaml | 0 .../ovnaction/resources/config/config.json | 0 .../ovnaction/templates/configmap.yaml | 0 .../ovnaction/templates/deployment.yaml | 0 .../ovnaction/templates/service.yaml | 0 .../v2/{onap4k8s => emco}/ovnaction/values.yaml | 0 .../helm/v2/{onap4k8s => emco}/rsync/Chart.yaml | 0 .../v2/{onap4k8s => emco}/rsync/requirements.yaml | 0 .../rsync/resources/config/config.json | 0 .../rsync/templates/configmap.yaml | 0 .../rsync/templates/deployment.yaml | 0 .../rsync/templates/service.yaml | 0 .../helm/v2/{onap4k8s => emco}/rsync/values.yaml | 0 .../playbooks/configure-emco-reset.yml | 56 ++++++++++++++++++++++ kud/deployment_infra/playbooks/configure-emco.yml | 55 +++++++++++++++++++++ .../playbooks/configure-onap4k8s-reset.yml | 2 +- kud/tests/{sanity-check-for-v2.sh => emco.sh} | 0 101 files changed, 112 insertions(+), 1 deletion(-) rename deployments/helm/v2/{onap4k8s => emco}/.helmignore (100%) rename deployments/helm/v2/{onap4k8s => emco}/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/Makefile (100%) rename deployments/helm/v2/{onap4k8s => emco}/README.md (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/resources/config/config.json (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/templates/configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/templates/deployment.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/clm/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_deployment.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_name.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_namespace.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_repository.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_resources.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_service.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/templates/_servicemco.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/common/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-db/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-db/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-db/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-services/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-services/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-services/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-tools/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-tools/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco-tools/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/emco/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/.helmignore (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/templates/pv.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/templates/statefulset.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/etcd/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/.helmignore (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/README.md (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/NOTES.txt (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/_helpers.tpl (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/aggregator-configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/aggregator-statefulset.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/aggregator-svc.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/clusterrole.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/clusterrolebinding.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/forwarder-configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/forwarder-daemonset.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/forwarder-svc.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/metrics-svc.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/serviceaccount.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/servicemonitor.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/svc-headless.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/templates/tls-certs.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/values-production.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/fluentd/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/.helmignore (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/nfs-provisoner.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/pv.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/pvc.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/statefulset.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/templates/storageclass.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/mongo/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/resources/config/config.json (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/templates/configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/templates/deployment.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ncm/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/resources/config/config.json (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/templates/configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/templates/deployment.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/orchestrator/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/resources/config/config.json (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/templates/configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/templates/deployment.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/ovnaction/values.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/Chart.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/requirements.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/resources/config/config.json (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/templates/configmap.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/templates/deployment.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/templates/service.yaml (100%) rename deployments/helm/v2/{onap4k8s => emco}/rsync/values.yaml (100%) create mode 100644 kud/deployment_infra/playbooks/configure-emco-reset.yml create mode 100644 kud/deployment_infra/playbooks/configure-emco.yml rename kud/tests/{sanity-check-for-v2.sh => emco.sh} (100%) diff --git a/deployments/helm/v2/onap4k8s/.helmignore b/deployments/helm/v2/emco/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/.helmignore rename to deployments/helm/v2/emco/.helmignore diff --git a/deployments/helm/v2/onap4k8s/Chart.yaml b/deployments/helm/v2/emco/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/Chart.yaml rename to deployments/helm/v2/emco/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/Makefile b/deployments/helm/v2/emco/Makefile similarity index 100% rename from deployments/helm/v2/onap4k8s/Makefile rename to deployments/helm/v2/emco/Makefile diff --git a/deployments/helm/v2/onap4k8s/README.md b/deployments/helm/v2/emco/README.md similarity index 100% rename from deployments/helm/v2/onap4k8s/README.md rename to deployments/helm/v2/emco/README.md diff --git a/deployments/helm/v2/onap4k8s/clm/Chart.yaml b/deployments/helm/v2/emco/clm/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/Chart.yaml rename to deployments/helm/v2/emco/clm/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/requirements.yaml b/deployments/helm/v2/emco/clm/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/requirements.yaml rename to deployments/helm/v2/emco/clm/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/resources/config/config.json b/deployments/helm/v2/emco/clm/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/resources/config/config.json rename to deployments/helm/v2/emco/clm/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/clm/templates/configmap.yaml b/deployments/helm/v2/emco/clm/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/configmap.yaml rename to deployments/helm/v2/emco/clm/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/templates/deployment.yaml b/deployments/helm/v2/emco/clm/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/deployment.yaml rename to deployments/helm/v2/emco/clm/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/templates/service.yaml b/deployments/helm/v2/emco/clm/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/service.yaml rename to deployments/helm/v2/emco/clm/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/values.yaml b/deployments/helm/v2/emco/clm/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/values.yaml rename to deployments/helm/v2/emco/clm/values.yaml diff --git a/deployments/helm/v2/onap4k8s/common/Chart.yaml b/deployments/helm/v2/emco/common/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/common/Chart.yaml rename to deployments/helm/v2/emco/common/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/common/templates/_deployment.tpl b/deployments/helm/v2/emco/common/templates/_deployment.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_deployment.tpl rename to deployments/helm/v2/emco/common/templates/_deployment.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_name.tpl b/deployments/helm/v2/emco/common/templates/_name.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_name.tpl rename to deployments/helm/v2/emco/common/templates/_name.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_namespace.tpl b/deployments/helm/v2/emco/common/templates/_namespace.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_namespace.tpl rename to deployments/helm/v2/emco/common/templates/_namespace.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_repository.tpl b/deployments/helm/v2/emco/common/templates/_repository.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_repository.tpl rename to deployments/helm/v2/emco/common/templates/_repository.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_resources.tpl b/deployments/helm/v2/emco/common/templates/_resources.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_resources.tpl rename to deployments/helm/v2/emco/common/templates/_resources.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_service.tpl b/deployments/helm/v2/emco/common/templates/_service.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_service.tpl rename to deployments/helm/v2/emco/common/templates/_service.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_servicemco.tpl b/deployments/helm/v2/emco/common/templates/_servicemco.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_servicemco.tpl rename to deployments/helm/v2/emco/common/templates/_servicemco.tpl diff --git a/deployments/helm/v2/onap4k8s/common/values.yaml b/deployments/helm/v2/emco/common/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/common/values.yaml rename to deployments/helm/v2/emco/common/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/Chart.yaml b/deployments/helm/v2/emco/emco-db/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/Chart.yaml rename to deployments/helm/v2/emco/emco-db/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/requirements.yaml b/deployments/helm/v2/emco/emco-db/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/requirements.yaml rename to deployments/helm/v2/emco/emco-db/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/values.yaml b/deployments/helm/v2/emco/emco-db/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/values.yaml rename to deployments/helm/v2/emco/emco-db/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/Chart.yaml b/deployments/helm/v2/emco/emco-services/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/Chart.yaml rename to deployments/helm/v2/emco/emco-services/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/requirements.yaml b/deployments/helm/v2/emco/emco-services/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/requirements.yaml rename to deployments/helm/v2/emco/emco-services/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/values.yaml b/deployments/helm/v2/emco/emco-services/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/values.yaml rename to deployments/helm/v2/emco/emco-services/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/Chart.yaml b/deployments/helm/v2/emco/emco-tools/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/Chart.yaml rename to deployments/helm/v2/emco/emco-tools/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/requirements.yaml b/deployments/helm/v2/emco/emco-tools/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/requirements.yaml rename to deployments/helm/v2/emco/emco-tools/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/values.yaml b/deployments/helm/v2/emco/emco-tools/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/values.yaml rename to deployments/helm/v2/emco/emco-tools/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/Chart.yaml b/deployments/helm/v2/emco/emco/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/Chart.yaml rename to deployments/helm/v2/emco/emco/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/requirements.yaml b/deployments/helm/v2/emco/emco/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/requirements.yaml rename to deployments/helm/v2/emco/emco/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/values.yaml b/deployments/helm/v2/emco/emco/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/values.yaml rename to deployments/helm/v2/emco/emco/values.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/.helmignore b/deployments/helm/v2/emco/etcd/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/.helmignore rename to deployments/helm/v2/emco/etcd/.helmignore diff --git a/deployments/helm/v2/onap4k8s/etcd/Chart.yaml b/deployments/helm/v2/emco/etcd/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/Chart.yaml rename to deployments/helm/v2/emco/etcd/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/requirements.yaml b/deployments/helm/v2/emco/etcd/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/requirements.yaml rename to deployments/helm/v2/emco/etcd/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/pv.yaml b/deployments/helm/v2/emco/etcd/templates/pv.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/pv.yaml rename to deployments/helm/v2/emco/etcd/templates/pv.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/service.yaml b/deployments/helm/v2/emco/etcd/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/service.yaml rename to deployments/helm/v2/emco/etcd/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/statefulset.yaml b/deployments/helm/v2/emco/etcd/templates/statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/statefulset.yaml rename to deployments/helm/v2/emco/etcd/templates/statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/values.yaml b/deployments/helm/v2/emco/etcd/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/values.yaml rename to deployments/helm/v2/emco/etcd/values.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/.helmignore b/deployments/helm/v2/emco/fluentd/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/.helmignore rename to deployments/helm/v2/emco/fluentd/.helmignore diff --git a/deployments/helm/v2/onap4k8s/fluentd/Chart.yaml b/deployments/helm/v2/emco/fluentd/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/Chart.yaml rename to deployments/helm/v2/emco/fluentd/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/README.md b/deployments/helm/v2/emco/fluentd/README.md similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/README.md rename to deployments/helm/v2/emco/fluentd/README.md diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/NOTES.txt b/deployments/helm/v2/emco/fluentd/templates/NOTES.txt similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/NOTES.txt rename to deployments/helm/v2/emco/fluentd/templates/NOTES.txt diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/_helpers.tpl b/deployments/helm/v2/emco/fluentd/templates/_helpers.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/_helpers.tpl rename to deployments/helm/v2/emco/fluentd/templates/_helpers.tpl diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-configmap.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-configmap.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-statefulset.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-statefulset.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/clusterrole.yaml b/deployments/helm/v2/emco/fluentd/templates/clusterrole.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/clusterrole.yaml rename to deployments/helm/v2/emco/fluentd/templates/clusterrole.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/clusterrolebinding.yaml b/deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/clusterrolebinding.yaml rename to deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-configmap.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-configmap.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-daemonset.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-daemonset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-daemonset.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-daemonset.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/metrics-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/metrics-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/metrics-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/metrics-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml b/deployments/helm/v2/emco/fluentd/templates/serviceaccount.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml rename to deployments/helm/v2/emco/fluentd/templates/serviceaccount.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/servicemonitor.yaml b/deployments/helm/v2/emco/fluentd/templates/servicemonitor.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/servicemonitor.yaml rename to deployments/helm/v2/emco/fluentd/templates/servicemonitor.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/svc-headless.yaml b/deployments/helm/v2/emco/fluentd/templates/svc-headless.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/svc-headless.yaml rename to deployments/helm/v2/emco/fluentd/templates/svc-headless.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/tls-certs.yaml b/deployments/helm/v2/emco/fluentd/templates/tls-certs.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/tls-certs.yaml rename to deployments/helm/v2/emco/fluentd/templates/tls-certs.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/values-production.yaml b/deployments/helm/v2/emco/fluentd/values-production.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/values-production.yaml rename to deployments/helm/v2/emco/fluentd/values-production.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/values.yaml b/deployments/helm/v2/emco/fluentd/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/values.yaml rename to deployments/helm/v2/emco/fluentd/values.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/.helmignore b/deployments/helm/v2/emco/mongo/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/.helmignore rename to deployments/helm/v2/emco/mongo/.helmignore diff --git a/deployments/helm/v2/onap4k8s/mongo/Chart.yaml b/deployments/helm/v2/emco/mongo/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/Chart.yaml rename to deployments/helm/v2/emco/mongo/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/requirements.yaml b/deployments/helm/v2/emco/mongo/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/requirements.yaml rename to deployments/helm/v2/emco/mongo/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/nfs-provisoner.yaml b/deployments/helm/v2/emco/mongo/templates/nfs-provisoner.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/nfs-provisoner.yaml rename to deployments/helm/v2/emco/mongo/templates/nfs-provisoner.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/pv.yaml b/deployments/helm/v2/emco/mongo/templates/pv.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/pv.yaml rename to deployments/helm/v2/emco/mongo/templates/pv.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/pvc.yaml b/deployments/helm/v2/emco/mongo/templates/pvc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/pvc.yaml rename to deployments/helm/v2/emco/mongo/templates/pvc.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/service.yaml b/deployments/helm/v2/emco/mongo/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/service.yaml rename to deployments/helm/v2/emco/mongo/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/statefulset.yaml b/deployments/helm/v2/emco/mongo/templates/statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/statefulset.yaml rename to deployments/helm/v2/emco/mongo/templates/statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/storageclass.yaml b/deployments/helm/v2/emco/mongo/templates/storageclass.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/storageclass.yaml rename to deployments/helm/v2/emco/mongo/templates/storageclass.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/values.yaml b/deployments/helm/v2/emco/mongo/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/values.yaml rename to deployments/helm/v2/emco/mongo/values.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/Chart.yaml b/deployments/helm/v2/emco/ncm/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/Chart.yaml rename to deployments/helm/v2/emco/ncm/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/requirements.yaml b/deployments/helm/v2/emco/ncm/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/requirements.yaml rename to deployments/helm/v2/emco/ncm/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/resources/config/config.json b/deployments/helm/v2/emco/ncm/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/resources/config/config.json rename to deployments/helm/v2/emco/ncm/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/configmap.yaml b/deployments/helm/v2/emco/ncm/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/configmap.yaml rename to deployments/helm/v2/emco/ncm/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/deployment.yaml b/deployments/helm/v2/emco/ncm/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/deployment.yaml rename to deployments/helm/v2/emco/ncm/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/service.yaml b/deployments/helm/v2/emco/ncm/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/service.yaml rename to deployments/helm/v2/emco/ncm/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/values.yaml b/deployments/helm/v2/emco/ncm/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/values.yaml rename to deployments/helm/v2/emco/ncm/values.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/Chart.yaml b/deployments/helm/v2/emco/orchestrator/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/Chart.yaml rename to deployments/helm/v2/emco/orchestrator/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/requirements.yaml b/deployments/helm/v2/emco/orchestrator/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/requirements.yaml rename to deployments/helm/v2/emco/orchestrator/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/resources/config/config.json b/deployments/helm/v2/emco/orchestrator/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/resources/config/config.json rename to deployments/helm/v2/emco/orchestrator/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/configmap.yaml b/deployments/helm/v2/emco/orchestrator/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/configmap.yaml rename to deployments/helm/v2/emco/orchestrator/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/deployment.yaml b/deployments/helm/v2/emco/orchestrator/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/deployment.yaml rename to deployments/helm/v2/emco/orchestrator/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/service.yaml b/deployments/helm/v2/emco/orchestrator/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/service.yaml rename to deployments/helm/v2/emco/orchestrator/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/values.yaml b/deployments/helm/v2/emco/orchestrator/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/values.yaml rename to deployments/helm/v2/emco/orchestrator/values.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/Chart.yaml b/deployments/helm/v2/emco/ovnaction/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/Chart.yaml rename to deployments/helm/v2/emco/ovnaction/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/requirements.yaml b/deployments/helm/v2/emco/ovnaction/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/requirements.yaml rename to deployments/helm/v2/emco/ovnaction/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/resources/config/config.json b/deployments/helm/v2/emco/ovnaction/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/resources/config/config.json rename to deployments/helm/v2/emco/ovnaction/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/configmap.yaml b/deployments/helm/v2/emco/ovnaction/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/configmap.yaml rename to deployments/helm/v2/emco/ovnaction/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml b/deployments/helm/v2/emco/ovnaction/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml rename to deployments/helm/v2/emco/ovnaction/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml b/deployments/helm/v2/emco/ovnaction/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml rename to deployments/helm/v2/emco/ovnaction/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/values.yaml b/deployments/helm/v2/emco/ovnaction/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/values.yaml rename to deployments/helm/v2/emco/ovnaction/values.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/Chart.yaml b/deployments/helm/v2/emco/rsync/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/Chart.yaml rename to deployments/helm/v2/emco/rsync/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/requirements.yaml b/deployments/helm/v2/emco/rsync/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/requirements.yaml rename to deployments/helm/v2/emco/rsync/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/resources/config/config.json b/deployments/helm/v2/emco/rsync/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/resources/config/config.json rename to deployments/helm/v2/emco/rsync/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/configmap.yaml b/deployments/helm/v2/emco/rsync/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/configmap.yaml rename to deployments/helm/v2/emco/rsync/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/deployment.yaml b/deployments/helm/v2/emco/rsync/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/deployment.yaml rename to deployments/helm/v2/emco/rsync/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/service.yaml b/deployments/helm/v2/emco/rsync/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/service.yaml rename to deployments/helm/v2/emco/rsync/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/values.yaml b/deployments/helm/v2/emco/rsync/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/values.yaml rename to deployments/helm/v2/emco/rsync/values.yaml diff --git a/kud/deployment_infra/playbooks/configure-emco-reset.yml b/kud/deployment_infra/playbooks/configure-emco-reset.yml new file mode 100644 index 00000000..a4560cc2 --- /dev/null +++ b/kud/deployment_infra/playbooks/configure-emco-reset.yml @@ -0,0 +1,56 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- hosts: kube-master + tasks: + - name: Load kud variables + include_vars: + file: kud-vars.yml + + - name: Change the emco directory and run helm delete + command: /usr/local/bin/helm delete --purge emco + register: helm_delete + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: helm_delete.stdout_lines + + - name: Change the emco directory and delete the emco namespace + command: /usr/local/bin/kubectl delete ns emco + register: delete_emco_ns + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: delete_emco_ns.stdout_lines + + - name: Change the emco directory and make clean + command: /usr/bin/make clean + register: make_clean + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_clean.stdout_lines + + - name: Change the emco directory and make repo-stop + command: /usr/bin/make repo-stop + register: make_repo_stop + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_repo_stop.stdout_lines + + - name: clean multicloud-k8s path + file: + state: absent + path: /opt/multicloud diff --git a/kud/deployment_infra/playbooks/configure-emco.yml b/kud/deployment_infra/playbooks/configure-emco.yml new file mode 100644 index 00000000..255ce6a4 --- /dev/null +++ b/kud/deployment_infra/playbooks/configure-emco.yml @@ -0,0 +1,55 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- hosts: kube-master + tasks: + - name: Load kud variables + include_vars: + file: kud-vars.yml + + - name: Getting emco code in /opt folder + git: + repo: 'https://github.com/onap/multicloud-k8s.git' + dest: /opt/multicloud + + - name: install make package for ubuntu systems + apt: name=make state=present update_cache=yes + when: ansible_distribution == "Ubuntu" + + - name: install make package for centos systems + yum: name=make state=present update_cache=yes + when: ansible_distribution == "CentOS" + + - name: Change the emco directory and run the command make repo + command: /usr/bin/make repo + register: make_repo + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_repo.stdout_lines + + - name: Change the emco directory and run the command make all + command: /usr/bin/make all + register: make_all + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_all.stdout_lines + + - name: Change the emco directory and run the command helm install + command: /usr/local/bin/helm install dist/packages/emco-0.1.0.tgz --name emco --namespace emco + register: helm_install + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: helm_install.stdout_lines diff --git a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml index 6adaf2ee..d6f2f6bc 100644 --- a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml +++ b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml @@ -23,7 +23,7 @@ - debug: var: helm_delete.stdout_lines - - name: Change the onap4k8s directory and delete the ona4k8s-ns namespace + - name: Change the onap4k8s directory and delete the onap4k8s-ns namespace command: /usr/local/bin/kubectl delete ns onap4k8s-ns register: delete_onap_ns args: diff --git a/kud/tests/sanity-check-for-v2.sh b/kud/tests/emco.sh similarity index 100% rename from kud/tests/sanity-check-for-v2.sh rename to kud/tests/emco.sh -- 2.16.6