manifests_directory variable corrected 29/1129/2
authorEndre Nemeth <endre.nemeth@nokia.com>
Fri, 5 Jul 2019 12:41:39 +0000 (14:41 +0200)
committerEndre Nemeth <endre.nemeth@nokia.com>
Fri, 5 Jul 2019 13:18:56 +0000 (15:18 +0200)
Change-Id: Ia5b812595010a07d5dd1dc747d599fe08a3ff323

rpmbuild.spec
su/roles/su_prepare/tasks/main.yml
su/tasks/start_vnfc.yml

index d4153a3..cc90b11 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT lcm
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.0.0
-%define RPM_MINOR_VERSION 5
+%define RPM_MINOR_VERSION 6
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define LCM_PATH /opt/caas_lcm
 %define DEPLOY_PATH %{LCM_PATH}/deploy
index 834b9bb..a0f0170 100644 (file)
         path: /tmp/su_chart
 
     - name: Delete the registry and swift for su
-      shell: kubectl delete -f {{ manifests_directory }}/{{item}}
+      shell: kubectl delete -f {{ caas.manifests_directory }}/{{item}}
       with_items:
         - update_registry_service.yml
         - docker-registry-update.yml
index ffea7de..6270c9c 100644 (file)
@@ -15,7 +15,7 @@
 
 - block:
     - name: "create vnfcs"
-      command: "/bin/kubectl create -f {{ manifests_directory }}/{{ item }}.yml"
+      command: "/bin/kubectl create -f {{ caas.manifests_directory }}/{{ item }}.yml"
       with_items: "{{ vnfcs }}"      
       register: out
       until: out|succeeded or (out.stderr.find('already exists') != -1)