From 60cf0c82961e771ad9fb4276dfe0f83a40abc41e Mon Sep 17 00:00:00 2001 From: Sanket Sudake Date: Tue, 3 Oct 2017 14:31:41 +0530 Subject: [PATCH] Organizing all Omni specific scripts at one place Currently we have different scripts to create images or flavors. Moving all scripts at one place, in future we need to find better way to manage and package them. Change-Id: I23ed6218175c9c851547142c8d81eb7a1a32e925 --- glance/{gce => glance_store/_drivers}/gceutils.py | 0 run_tests.sh | 1 - {glance/aws => scripts}/create-glance-images-aws.py | 0 {glance/azure => scripts}/create-glance-images-azure.py | 0 {glance/gce => scripts}/create-glance-images-gce.py | 0 .../create-nova-flavors-azure.py | 0 {nova/virt/gce => scripts}/create-nova-flavors-gce.py | 0 7 files changed, 1 deletion(-) rename glance/{gce => glance_store/_drivers}/gceutils.py (100%) rename {glance/aws => scripts}/create-glance-images-aws.py (100%) rename {glance/azure => scripts}/create-glance-images-azure.py (100%) rename {glance/gce => scripts}/create-glance-images-gce.py (100%) rename nova/virt/azure/create-nova-flavors.py => scripts/create-nova-flavors-azure.py (100%) rename {nova/virt/gce => scripts}/create-nova-flavors-gce.py (100%) diff --git a/glance/gce/gceutils.py b/glance/glance_store/_drivers/gceutils.py similarity index 100% rename from glance/gce/gceutils.py rename to glance/glance_store/_drivers/gceutils.py diff --git a/run_tests.sh b/run_tests.sh index 3325993..f6c5b86 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -40,7 +40,6 @@ copy_cinder_files() { copy_glance_files() { cp -R $WORKSPACE/glance/glance_store/tests/unit/ $DIRECTORY/$GLANCE/glance_store/tests - cp $WORKSPACE/glance/gce/gceutils.py $DIRECTORY/$GLANCE/glance_store/_drivers/ cp -R $WORKSPACE/glance/glance_store/_drivers/ $DIRECTORY/$GLANCE/glance_store/ } diff --git a/glance/aws/create-glance-images-aws.py b/scripts/create-glance-images-aws.py similarity index 100% rename from glance/aws/create-glance-images-aws.py rename to scripts/create-glance-images-aws.py diff --git a/glance/azure/create-glance-images-azure.py b/scripts/create-glance-images-azure.py similarity index 100% rename from glance/azure/create-glance-images-azure.py rename to scripts/create-glance-images-azure.py diff --git a/glance/gce/create-glance-images-gce.py b/scripts/create-glance-images-gce.py similarity index 100% rename from glance/gce/create-glance-images-gce.py rename to scripts/create-glance-images-gce.py diff --git a/nova/virt/azure/create-nova-flavors.py b/scripts/create-nova-flavors-azure.py similarity index 100% rename from nova/virt/azure/create-nova-flavors.py rename to scripts/create-nova-flavors-azure.py diff --git a/nova/virt/gce/create-nova-flavors-gce.py b/scripts/create-nova-flavors-gce.py similarity index 100% rename from nova/virt/gce/create-nova-flavors-gce.py rename to scripts/create-nova-flavors-gce.py