From 899ab0d04fa84702f26c224d1ddcc73a786f5a3f Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 8 Mar 2020 17:00:51 +0100 Subject: Remove capistrano-related files Signed-off-by: Kevin Decherf --- Capfile | 15 ------------ Gemfile | 6 ----- Gemfile.lock | 37 ------------------------------ app/config/capistrano/deploy.rb | 19 --------------- app/config/capistrano/deploy/production.rb | 0 app/config/capistrano/deploy/staging.rb | 2 -- 6 files changed, 79 deletions(-) delete mode 100644 Capfile delete mode 100644 Gemfile delete mode 100644 Gemfile.lock delete mode 100644 app/config/capistrano/deploy.rb delete mode 100644 app/config/capistrano/deploy/production.rb delete mode 100644 app/config/capistrano/deploy/staging.rb diff --git a/Capfile b/Capfile deleted file mode 100644 index cc807112..00000000 --- a/Capfile +++ /dev/null @@ -1,15 +0,0 @@ -set :deploy_config_path, 'app/config/capistrano/deploy.rb' -set :stage_config_path, 'app/config/capistrano/deploy' - -# Load DSL and set up stages -require 'capistrano/setup' - -# Include default deployment tasks -require 'capistrano/deploy' - -require 'capistrano/composer' -require 'capistrano/file-permissions' -require 'capistrano/symfony' - -# Load custom tasks from `lib/capistrano/tasks` if you have any defined -Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 233be899..00000000 --- a/Gemfile +++ /dev/null @@ -1,6 +0,0 @@ -source "https://rubygems.org" - -gem 'capistrano', '~> 3.4' -gem 'capistrano-composer' -gem 'capistrano-symfony', '~> 1.0.0.rc1' -gem 'capistrano-file-permissions' diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 7b13b399..00000000 --- a/Gemfile.lock +++ /dev/null @@ -1,37 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - capistrano (3.4.0) - i18n - rake (>= 10.0.0) - sshkit (~> 1.3) - capistrano-composer (0.0.6) - capistrano (>= 3.0.0.pre) - capistrano-file-permissions (1.0.0) - capistrano (~> 3.0) - capistrano-symfony (1.0.0.rc1) - capistrano (~> 3.1) - capistrano-composer (~> 0.0.3) - capistrano-file-permissions (~> 1.0) - colorize (0.7.7) - i18n (0.7.0) - net-scp (1.2.1) - net-ssh (>= 2.6.5) - net-ssh (2.9.2) - rake (10.4.2) - sshkit (1.7.1) - colorize (>= 0.7.0) - net-scp (>= 1.1.2) - net-ssh (>= 2.8.0) - -PLATFORMS - ruby - -DEPENDENCIES - capistrano (~> 3.4) - capistrano-composer - capistrano-file-permissions - capistrano-symfony (~> 1.0.0.rc1) - -BUNDLED WITH - 1.13.5 diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb deleted file mode 100644 index fee04620..00000000 --- a/app/config/capistrano/deploy.rb +++ /dev/null @@ -1,19 +0,0 @@ -# config valid only for current version of Capistrano - -set :application, 'wallabag' -set :repo_url, 'git@github.com:wallabag/wallabag.git' - -set :ssh_user, 'framasoft_bag' -server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} - -set :format, :pretty -set :log_level, :info -# set :log_level, :debug - -set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' - -set :linked_files, %w{app/config/parameters.yml} -set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] -set :keep_releases, 3 - -after 'deploy:updated', 'symfony:cache:clear' diff --git a/app/config/capistrano/deploy/production.rb b/app/config/capistrano/deploy/production.rb deleted file mode 100644 index e69de29b..00000000 diff --git a/app/config/capistrano/deploy/staging.rb b/app/config/capistrano/deploy/staging.rb deleted file mode 100644 index ad899a85..00000000 --- a/app/config/capistrano/deploy/staging.rb +++ /dev/null @@ -1,2 +0,0 @@ -set :branch, 'master' -set :deploy_to, '/var/www/v2.wallabag.org/web/' -- cgit v1.2.3