Disable the check of the release notes
[osm/RO.git] / devops-stages / stage-build.sh
index d174a82..3d570c7 100755 (executable)
@@ -17,34 +17,30 @@ set -ex
 rm -rf deb_dist/*
 mkdir -p deb_dist
 
-# Building packages
-tox -e dist_ro_plugin &
-tox -e dist_ng_ro &
-tox -e dist_ro_sdn_arista_cloudvision &
-tox -e dist_ro_sdn_dpb &
-tox -e dist_ro_sdn_dynpac &
-tox -e dist_ro_sdn_floodlight_of &
-tox -e dist_ro_sdn_ietfl2vpn &
-tox -e dist_ro_sdn_juniper_contrail &
-tox -e dist_ro_sdn_odl_of &
-tox -e dist_ro_sdn_onos_of &
-tox -e dist_ro_sdn_onos_vpls &
-tox -e dist_ro_vim_aws &
-tox -e dist_ro_vim_azure &
-tox -e dist_ro_vim_fos &
-tox -e dist_ro_vim_opennebula &
-tox -e dist_ro_vim_openstack &
-tox -e dist_ro_vim_openvim &
-tox -e dist_ro_vim_vmware &
-tox -e dist_ro_vim_gcp &
+PACKAGES="
+dist_ro_plugin
+dist_ng_ro
+dist_ro_sdn_arista_cloudvision
+dist_ro_sdn_dpb
+dist_ro_sdn_dynpac
+dist_ro_sdn_floodlight_of
+dist_ro_sdn_ietfl2vpn
+dist_ro_sdn_juniper_contrail
+dist_ro_sdn_odl_of
+dist_ro_sdn_onos_of
+dist_ro_sdn_onos_vpls
+dist_ro_sdn_tapi
+dist_ro_vim_aws
+dist_ro_vim_azure
+dist_ro_vim_openstack
+dist_ro_vim_openvim
+dist_ro_vim_vmware
+dist_ro_vim_gcp"
+
+TOX_ENV_LIST="$(echo $PACKAGES | sed "s/ /,/g")"
+
+TOX_PARALLEL_NO_SPINNER=1 tox -e $TOX_ENV_LIST
 
-while true; do
-  wait -n || {
-    code="$?"
-    ([[ $code = "127" ]] && exit 0 || exit "$code")
-    break
-  }
-done;
 # Copying packages
 # RO plugin
 cp RO-plugin/deb_dist/python3-osm-ro-plugin_*.deb deb_dist/
@@ -52,15 +48,14 @@ cp RO-plugin/deb_dist/python3-osm-ro-plugin_*.deb deb_dist/
 # NG-RO
 cp NG-RO/deb_dist/python3-osm-ng-ro_*.deb deb_dist/
 
-# VIM plugins:  vmware, openstack, AWS, fos, azure, Opennebula, GCP
+# VIM plugins:  vmware, openstack, AWS, azure, GCP
 for vim_plugin in RO-VIM-*
 do
     cp ${vim_plugin}/deb_dist/python3-osm-rovim*.deb deb_dist/
 done
 
-# SDN plugins: DynPac, Ietfl2vpn, Onosof Floodlightof
+# SDN plugins: DynPac, Ietfl2vpn, Onosof Floodlightof, Transport API (TAPI)
 for sdn_plugin in RO-SDN-*
 do
     cp ${sdn_plugin}/deb_dist/python3-osm-rosdn*.deb deb_dist/
 done
-