Fix push yaml code 13/11413/1
authorLusheng Ji <lji@research.att.com>
Fri, 8 Sep 2017 21:59:16 +0000 (21:59 +0000)
committerLusheng Ji <lji@research.att.com>
Fri, 8 Sep 2017 21:59:24 +0000 (21:59 +0000)
Issue-Id: DCAEGEN2-60
Change-Id: I42186b54216934fdf582e81e3c63bcd04e0cee03
Signed-off-by: Lusheng Ji <lji@research.att.com>
mvn-phase-script.sh

index 102e8a6..309c53d 100755 (executable)
@@ -223,6 +223,14 @@ upload_wagons_and_type_yamls()
   done
 }
 
+upload_yamls()
+{
+  YAMLS=$(ls -1 ./*.yaml)
+  for YAML in "${YAMLS[@]}" ; do
+    upload_raw_file "$YAML"
+  done
+}
+
 
 
 build_and_push_docker()
@@ -308,18 +316,16 @@ compile)
   ;;
 test)
   echo "==> test phase script"
-  run_tox_test
   ;;
 package)
   echo "==> package phase script"
-  build_wagons
   ;;
 install)
   echo "==> install phase script"
   ;;
 deploy)
   echo "==> deploy phase script"
-  upload_wagons_and_type_yamls
+  upload_yamls
   ;;
 *)
   echo "==> unprocessed phase"