-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3000] Remove reliance on vagrant baseimage
Maintaining the vagrant-baseimage is difficult since we lack suitable automation facilities. It has therefore become an impediment to producing new docker baseimages. In addition, it is also less important these days since most of the heavy lifting is performed by the docker infrastructure. Consider that when the baseimage for vagrant was created, we still needed to compile a bunch of basic tools (golang, protobufs rocksdb, etc). This is no longer true: Some of the tools are now available in binary form, others are exectuted within docker, and others are no longer used (e.g. rocksdb). Therefore, we can greatly simplify our processes by simply eliminating our reliance on a precompiled baseimage for vagrant. Because of the dockerization effort, all we really need is a basic platform with make, git, golang-1.7, and docker. We also include a few other items for developer convenience, such as behave, nodejs, and java. Fixes FAB-3000 Change-Id: Ic0749a1c0361a0b4a83d7ca6879e9d2bb50a5456 Signed-off-by: Gregory Haskins <gregory.haskins@gmail.com>
- Loading branch information
Showing
3 changed files
with
111 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# Update system | ||
apt-get update -qq | ||
|
||
# Install Python, pip, behave, nose | ||
# | ||
# install python-dev and libyaml-dev to get compiled speedups | ||
apt-get install --yes python-dev | ||
apt-get install --yes libyaml-dev | ||
|
||
apt-get install --yes python-setuptools | ||
apt-get install --yes python-pip | ||
pip install --upgrade pip | ||
pip install behave | ||
pip install nose | ||
|
||
# updater-server, update-engine, and update-service-common dependencies (for running locally) | ||
pip install -I flask==0.10.1 python-dateutil==2.2 pytz==2014.3 pyyaml==3.10 couchdb==1.0 flask-cors==2.0.1 requests==2.4.3 | ||
|
||
# Python grpc package for behave tests | ||
# Required to update six for grpcio | ||
pip install --ignore-installed six | ||
pip install --upgrade 'grpcio==0.13.1' | ||
|
||
# install ruby and apiaryio | ||
#apt-get install --yes ruby ruby-dev gcc | ||
#gem install apiaryio | ||
|
||
# Install Tcl prerequisites for busywork | ||
apt-get install --yes tcl tclx tcllib | ||
|
||
# Install NPM for the SDK | ||
apt-get install --yes npm |