X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=devops-stages%2Fstage-build.sh;h=b1640eb402cb6cf9ab77e1b787d26476ad17773e;hp=850549954298572403b925a346d0fde9bcb18014;hb=7d782eff123e5b44d41437377ccca66ad1e8b21b;hpb=0abcd732a7aaf919f1be408fe946e52920e2702d diff --git a/devops-stages/stage-build.sh b/devops-stages/stage-build.sh index 85054995..b1640eb4 100755 --- a/devops-stages/stage-build.sh +++ b/devops-stages/stage-build.sh @@ -1,2 +1,53 @@ -#!/bin/sh -make package +#!/bin/bash + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +rm -rf deb_dist/* +mkdir -p deb_dist + +# main RO module +make -C RO clean package BRANCH=master +cp RO/deb_dist/python3-osm-ro_*.deb deb_dist/ + +# RO client +make -C RO-client clean package +cp RO-client/deb_dist/python3-osm-roclient_*.deb deb_dist/ + +# VIM vmware plugin +make -C RO-VIM-vmware clean package +cp RO-VIM-vmware/deb_dist/python3-osm-rovim-vmware_*.deb deb_dist/ + +# VIM Openstack plugin +make -C RO-VIM-openstack clean package +cp RO-VIM-openstack/deb_dist/python3-osm-rovim-openstack_*.deb deb_dist/ + +# VIM Openvim plugin +make -C RO-VIM-openvim clean package +cp RO-VIM-openvim/deb_dist/python3-osm-rovim-openvim_*.deb deb_dist/ + +# VIM AWS plugin +make -C RO-VIM-aws clean package +cp RO-VIM-aws/deb_dist/python3-osm-rovim-aws_*.deb deb_dist/ + +# VIM fos plugin +make -C RO-VIM-fos clean package +cp RO-VIM-fos/deb_dist/python3-osm-rovim-fos_*.deb deb_dist/ + +# VIM azure plugin +make -C RO-VIM-azure clean package +cp RO-VIM-azure/deb_dist/python3-osm-rovim-azure_*.deb deb_dist/ + +# VIM Opennebula plugin +make -C RO-VIM-opennebula clean package +cp RO-VIM-opennebula/deb_dist/python3-osm-rovim-opennebula_*.deb deb_dist/