Install tox and git-review with DIB
Instead of installing these things in puppet[1] we can build them into the image. This also carries-over a TODO to install git-review in a virtualenv and update jobs to use it. [1] http://git.openstack.org/cgit/openstack-infra/system-config/tree/modules/openstack_project/manifests/single_use_slave.pp?id=b3f8b4106c2d391c60f4c3c10e1b6c313b211f17#n47 Change-Id: Ibe427f8b43312f58b4a1a4a1205b764a9d2d79e9
This commit is contained in:
parent
d306983dc4
commit
4269696003
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied.
|
||||
#
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# dib-lint: disable=setu setpipefail
|
||||
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -e
|
||||
|
||||
# TODO(fungi): switch jobs to use /usr/git-review-env/bin/git-review
|
||||
packages='git-review==1.25.0 '
|
||||
packages+='tox '
|
||||
|
||||
for package in $packages ; do
|
||||
pip install $package
|
||||
done
|
Loading…
Reference in New Issue