Pārlūkot izejas kodu

Move run scripts to script/run

Signed-off-by: Daniel Nephin <[email protected]>
Daniel Nephin 9 gadi atpakaļ
vecāks
revīzija
ec6bb1660d
6 mainītis faili ar 3 papildinājumiem un 28 dzēšanām
  1. 1 1
      project/RELEASE-PROCESS.md
  2. 0 21
      script/dev
  3. 2 2
      script/release/make-branch
  4. 0 0
      script/run/run.ps1
  5. 0 0
      script/run/run.sh
  6. 0 4
      script/shell

+ 1 - 1
project/RELEASE-PROCESS.md

@@ -88,7 +88,7 @@ When prompted build the non-linux binaries and test them.
 
         ...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
     by running `./script/release/contributors`.

+ 0 - 21
script/dev

@@ -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 $@

+ 2 - 2
script/release/make-branch

@@ -65,10 +65,10 @@ git config "branch.${BRANCH}.release" $VERSION
 
 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 compose/__init__.py
-$editor script/run.sh
+$editor script/run/run.sh
 
 
 echo "Write release notes in CHANGELOG.md"

+ 0 - 0
script/run.ps1 → script/run/run.ps1


+ 0 - 0
script/run.sh → script/run/run.sh


+ 0 - 4
script/shell

@@ -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