Move run scripts to script/run

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-01-15 16:31:30 -05:00
parent a87d482a3b
commit ec6bb1660d
6 changed files with 3 additions and 28 deletions

View File

@ -88,7 +88,7 @@ When prompted build the non-linux binaries and test them.
...release notes go here... ...release notes go here...
5. Attach the binaries and `script/run.sh` 5. Attach the binaries and `script/run/run.sh`
6. Add "Thanks" with a list of contributors. The contributor list can be generated 6. Add "Thanks" with a list of contributors. The contributor list can be generated
by running `./script/release/contributors`. by running `./script/release/contributors`.

View File

@ -1,21 +0,0 @@
#!/bin/bash
# This is a script for running Compose inside a Docker container. It's handy for
# development.
#
# $ ln -s `pwd`/script/dev /usr/local/bin/docker-compose
# $ cd /a/compose/project
# $ docker-compose up
#
set -e
# Follow symbolic links
if [ -h "$0" ]; then
DIR=$(readlink "$0")
else
DIR=$0
fi
DIR="$(dirname "$DIR")"/..
docker build -t docker-compose $DIR
exec docker run -i -t -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:`pwd` -w `pwd` docker-compose $@

View File

@ -65,10 +65,10 @@ git config "branch.${BRANCH}.release" $VERSION
editor=${EDITOR:-vim} editor=${EDITOR:-vim}
echo "Update versions in docs/install.md, compose/__init__.py, script/run.sh" echo "Update versions in docs/install.md, compose/__init__.py, script/run/run.sh"
$editor docs/install.md $editor docs/install.md
$editor compose/__init__.py $editor compose/__init__.py
$editor script/run.sh $editor script/run/run.sh
echo "Write release notes in CHANGELOG.md" echo "Write release notes in CHANGELOG.md"

View File

@ -1,4 +0,0 @@
#!/bin/sh
set -ex
docker build -t docker-compose .
exec docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/code -ti --rm --entrypoint bash docker-compose