Skip to content

Commit

Permalink
Merge pull request #31 from mattt416/mattt/RE-1616
Browse files Browse the repository at this point in the history
RE-1616 Cleanup gating/check/pre
  • Loading branch information
mattt416 authored Aug 15, 2018
2 parents b40ff29 + e6cd56a commit 9d86880
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions gating/check/pre
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,8 @@ set -xeu

echo "Installing dependencies ..."
apt-get update
#apt-get install -y python-git
apt-get install -y python-pip python-virtualenv

#echo "Cloning components ..."
#python << END
#import sys
#import yaml
#
#import git
#
#
#dep_metadata = yaml.safe_load(open('component_metadata.yml').read())
#
## Grab top level metadata repo, this is necessary to obtain component repo URLs
#git.Repo.clone_from(
# 'https://github.com/rcbops/releases',
# '/opt/releases'
#)
#
#for dep in dep_metadata['dependencies']:
# component_metadata = yaml.safe_load(open('/opt/releases/%s.yml' % dep['name']).read())
# clone_dir = '/opt/%s' % dep['name']
# print('Cloning %s to %s ...' % (dep['name'], clone_dir))
# repo = git.Repo.clone_from(component_metadata['repo'], clone_dir)
# repo.git.checkout(dep['sha'])
#END

git clone https://github.com/rcbops/rpc_component/
pushd rpc_component
virtualenv --python=python3 .venv
Expand Down

0 comments on commit 9d86880

Please sign in to comment.