-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from devcurmudgeon/write-a-result
Tidyup install.sh and write cache_key result to ybd.result
- Loading branch information
Showing
6 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,48 @@ | ||
pip install fs pep8 | ||
# Copyright (C) 2016 Codethink Limited | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; version 2 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License along | ||
# with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# =*= License: GPL-2 =*= | ||
|
||
cd .. | ||
# | ||
# This is a bash script which attempts to do a full install of ybd | ||
# and default definitions from git.baserock.org. | ||
# it's mainly intended for ci and automated test setups... | ||
# | ||
|
||
if [ ! -d definitions ] ; then | ||
git clone http://git.baserock.org/git/baserock/baserock/definitions.git | ||
|
||
# install dependencies for debian, ubuntu | ||
which apt-get 2>&1 > /dev/null | ||
if [ $? -eq 0 ]; then | ||
sudo apt-get -qq update | ||
sudo apt-get -qq install build-essential gawk git m4 wget | ||
fi | ||
|
||
# install for fedora | ||
which dnf 2>&1 > /dev/null | ||
if [ $? -eq 0 ]; then | ||
sudo dnf install -y which make automake gcc gcc-c++ gawk git m4 wget | ||
fi | ||
|
||
# FIXME: check the above installs worked? | ||
|
||
pip --version 2>&1 > /dev/null | ||
if [ $? -ne 0 ]; then | ||
wget https://bootstrap.pypa.io/get-pip.py | ||
sudo python get-pip.py | ||
sudo rm get-pip.py | ||
fi | ||
cd definitions | ||
|
||
sudo pip install fs pyyaml sandboxlib requests | ||
sudo pip install jsonschema bottle cherrypy riemann-client | ||
sudo pip install pep8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters