blob: 2a3b9b68d7b1b4b8871bb188df39ef1ba06a68cf [file] [log] [blame]
garciadeblasa1fc4572017-04-24 19:08:21 +02001#!/bin/bash
2# Copyright 2016 RIFT.IO Inc
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15#
16# TEMPLATE script to start a build. This is run inside a container
17#
18# 6 July 2016 -- Jeremy.Mordkoff@riftio.com -- adapted from the riftware version
19#
20
21HERE=$(realpath $(dirname $0))
22OSM_JENKINS=$(dirname $HERE)
23. $OSM_JENKINS/common/all_funcs
24
25# SET YOU MDG repository name here
26export OSM_MDG=UI
27OSM_load_config
28
29#OSM_git_checkout "$@"
30
31#trap 'WARNING "INTERRUPT"; exit 1' INT
32
33#./BUILD.sh -u
34
35INFO "starting install $MDG"
36
37#Release ONE
38curl https://osm-download.etsi.org/repository/osm/debian/ReleaseONE/OSM%20ETSI%20Release%20Key.gpg |apt-key add -
39add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseONE unstable SO UI RO openvim"
40#add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseONE stable SO UI RO openvim"
41
42#Release TWO
43#curl https://osm-download.etsi.org/repository/osm/debian/ReleaseTWO/OSM%20ETSI%20Release%20Key.gpg |apt-key add -
44#add-apt-repository -y "deb https://osm-download.etsi.org/repository/osm/debian/ReleaseTWO stable SO UI RO openvim"
45
46apt-get update
47apt-get install -y \
48 rw.ui-about \
49 rw.ui-logging \
50 rw.ui-skyquake \
51 rw.ui-accounts \
52 rw.ui-composer \
53 rw.ui-launchpad \
54 rw.ui-debug \
55 rw.ui-config \
56 rw.ui-dummy_component
57
58RC=$?
59
60INFO "done, RC=$RC"
61exit $RC
62