tasks/docker.rb in gaptool-server-0.6.0 vs tasks/docker.rb in gaptool-server-0.6.3

- old
+ new

@@ -8,30 +8,13 @@ task :image do sys(%w(./scripts/build_docker_images.sh)) printimages end - desc "Build the release image" - task :release do - sys(%w(./scripts/build_docker_images.sh -t release)) - printimages - end - task :all => [:image] end - namespace :push do - task :release do - sys(%w(docker push gild/gaptool:release)) - end - - desc 'Push all tags to the Docker Hub' - task :all do - sys(%w(docker push gild/gaptool)) - end - end - desc 'Build the docker image' task :build => 'build:image' desc "Push the release image to the Docker Hub" task :push => 'push:release' @@ -41,15 +24,10 @@ desc "Run tests w/ docker" task :test => :build do sys(%w(fig run --rm gaptool rake test)) end - desc "Rehash instances" - task :rehash => :build do - sys(%w(fig run --rm gaptool rake rehash)) - end - desc "Stop docker containers" task :stop do sys(%w(fig stop)) end @@ -74,14 +52,9 @@ end desc "Run a command in the docker container" task :run do exit sys(%W(fig run --rm gaptool #{ARGV[1..-1].shelljoin})) - end - - desc "Run a rake task inside the docker container" - task :rake do - exit sys(%W(fig run --rm gaptool rake #{ARGV[1..-1].shelljoin})) end end desc "Bring up docker containers" task :docker => 'docker:up'