capistrano 3.16.0 → 3.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.docker/Dockerfile +7 -0
- data/.docker/ssh_key_rsa +49 -0
- data/.docker/ssh_key_rsa.pub +1 -0
- data/.docker/ubuntu_setup.sh +23 -0
- data/.github/release-drafter.yml +10 -2
- data/.github/workflows/ci.yml +80 -0
- data/.github/workflows/release-drafter.yml +18 -0
- data/.rubocop.yml +3 -3
- data/DEVELOPMENT.md +5 -20
- data/Gemfile +9 -4
- data/README.md +2 -2
- data/Rakefile +9 -6
- data/capistrano.gemspec +0 -4
- data/docker-compose.yml +8 -0
- data/features/deploy.feature +5 -1
- data/features/sshconnect.feature +1 -1
- data/features/step_definitions/assertions.rb +33 -23
- data/features/step_definitions/setup.rb +10 -13
- data/features/support/docker_gateway.rb +53 -0
- data/features/support/env.rb +0 -10
- data/features/support/remote_command_helpers.rb +3 -3
- data/features/support/remote_ssh_helpers.rb +33 -0
- data/lib/capistrano/configuration/validated_variables.rb +1 -1
- data/lib/capistrano/doctor/variables_doctor.rb +2 -0
- data/lib/capistrano/scm/git.rb +5 -0
- data/lib/capistrano/scm/tasks/git.rake +11 -0
- data/lib/capistrano/tasks/deploy.rake +23 -1
- data/lib/capistrano/templates/deploy.rb.erb +2 -2
- data/lib/capistrano/version.rb +1 -1
- data/spec/integration/dsl_spec.rb +11 -11
- data/spec/lib/capistrano/configuration/scm_resolver_spec.rb +1 -0
- data/spec/lib/capistrano/dsl_spec.rb +2 -2
- data/spec/lib/capistrano/scm/git_spec.rb +10 -0
- data/spec/support/test_app.rb +15 -11
- metadata +14 -54
- data/.github/workflows/push.yml +0 -12
- data/.travis.yml +0 -30
- data/Dangerfile +0 -1
- data/features/support/vagrant_helpers.rb +0 -41
- data/spec/support/.gitignore +0 -1
- data/spec/support/Vagrantfile +0 -23
data/spec/support/Vagrantfile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require "open-uri"
|
2
|
-
|
3
|
-
Vagrant.configure("2") do |config|
|
4
|
-
config.ssh.insert_key = false
|
5
|
-
|
6
|
-
[:app].each_with_index do |role, i|
|
7
|
-
config.vm.define(role, primary: true) do |primary|
|
8
|
-
primary.vm.define role
|
9
|
-
primary.vm.box = "hashicorp/precise64"
|
10
|
-
primary.vm.network "forwarded_port", guest: 22, host: "222#{i}".to_i
|
11
|
-
primary.vm.provision :shell, inline: "sudo apt-get -y install git-core"
|
12
|
-
|
13
|
-
vagrantkey = open("https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub", "r", &:read)
|
14
|
-
|
15
|
-
primary.vm.provision :shell,
|
16
|
-
inline: <<-INLINE
|
17
|
-
install -d -m 700 /root/.ssh
|
18
|
-
echo -e "#{vagrantkey}" > /root/.ssh/authorized_keys
|
19
|
-
chmod 0600 /root/.ssh/authorized_keys
|
20
|
-
INLINE
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|