2 # Copyright 2016 RIFT.IO Inc
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # TEMPLATE script to start a build. This is run inside a container
18 # 6 July 2016 -- Jeremy.Mordkoff@riftio.com -- adapted from the riftware version
21 HERE=$(realpath $(dirname $0))
22 OSM_JENKINS=$(dirname $HERE)
23 . $OSM_JENKINS/common/all_funcs
25 # SET YOU MDG repository name here
29 #OSM_git_checkout "$@"
31 #trap 'WARNING "INTERRUPT"; exit 1' INT
35 INFO "starting install $MDG"
37 #curl http://repos.riftio.com/public/xenial-riftware-public-key | sudo apt-key add -
38 #curl -o /etc/apt/sources.list.d/RIFT.list http://buildtracker.riftio.com/repo_file/ub16/OSM/
40 #apt-get install -y libxml2-dev libxslt-dev
41 #/usr/rift/container_tools/mkcontainer --modes build --modes ext --repo OSM
42 #pip3 install lxml==3.4.0
45 #curl https://osm-download.etsi.org/repository/osm/debian/ReleaseONE/OSM%20ETSI%20Release%20Key.gpg |apt-key add -
46 #add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseONE unstable SO UI RO openvim"
47 #add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseONE stable SO UI RO openvim"
50 curl https://osm-download.etsi.org/repository/osm/debian/ReleaseTWO/OSM%20ETSI%20Release%20Key.gpg |apt-key add -
51 add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseTWO stable SO UI RO openvim"
55 rw.core.mano-rwcal_yang_ylib-1.0 \
56 rw.core.mano-rwconfig_agent_yang_ylib-1.0 \
57 rw.core.mano-rwlaunchpad_yang_ylib-1.0 \
58 rw.core.mano-mano_yang_ylib-1.0 \
59 rw.core.mano-common-1.0 \
60 rw.core.mano-rwsdn_yang_ylib-1.0 \
61 rw.core.mano-rwsdnal_yang_ylib-1.0 \
62 rw.core.mano-rwsdn-1.0 \
63 rw.core.mano-mano-types_yang_ylib-1.0 \
64 rw.core.mano-rwcal-cloudsim-1.0 \
65 rw.core.mano-rwcal-1.0 \
66 rw.core.mano-rw_conman_yang_ylib-1.0 \
67 rw.core.mano-rwcalproxytasklet-1.0 \
68 rw.core.mano-rwlaunchpad-1.0 \
69 rw.core.mano-rwcal-openmano-vimconnector-1.0 \
70 rw.core.mano-rwcal-propcloud1-1.0 \
71 rw.core.mano-lpmocklet_yang_ylib-1.0 \
72 rw.core.mano-rwmon-1.0 \
73 rw.core.mano-rwcloud_yang_ylib-1.0 \
74 rw.core.mano-rwcal-openstack-1.0 \
75 rw.core.mano-rw.core.mano_foss \
76 rw.core.mano-rwmon_yang_ylib-1.0 \
77 rw.core.mano-rwcm-1.0 \
78 rw.core.mano-rwcal-mock-1.0 \
79 rw.core.mano-rwcal-cloudsimproxy-1.0 \
80 rw.core.mano-models-1.0 \
81 rw.core.mano-rwcal-aws-1.0