Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
Matt Brictson | f1ad06f42a | |
Matt Brictson | dd947706ca | |
Lee Hambley | 97d4d355fb | |
Jason Floyd | 4af3c4a548 | |
Matt Brictson | 7317689001 | |
Matt Brictson | 9e331e3197 | |
Matt Brictson | ec6b61b694 | |
Eric Londaits | 15104dc4bf | |
Matt Brictson | cc4f31fdfc |
|
@ -32,6 +32,21 @@ commands:
|
|||
paths:
|
||||
- ./vendor/bundle
|
||||
key: bundle-v1-{{ arch }}-<< parameters.version >>-{{ checksum "Gemfile.lock" }}
|
||||
update_ssh_client:
|
||||
description: Install recent SSH client for compatibility with GitHub
|
||||
steps:
|
||||
- run:
|
||||
name: Install OpenSSH 8.1p1 if necessary
|
||||
command: |
|
||||
if $(ssh -V 2>&1 | grep -q -v OpenSSH_8); then
|
||||
apt-get update || true
|
||||
apt-get install -y --force-yes libssl-dev || true
|
||||
mkdir ~/tempdownload
|
||||
cd ~/tempdownload
|
||||
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz
|
||||
tar zxvf openssh-8.1p1.tar.gz
|
||||
cd openssh-8.1p1 && ./configure --prefix=/usr && make ssh && make install
|
||||
fi
|
||||
|
||||
jobs:
|
||||
danger:
|
||||
|
@ -58,6 +73,7 @@ jobs:
|
|||
name: ruby
|
||||
version: << parameters.version >>
|
||||
steps:
|
||||
- update_ssh_client
|
||||
- checkout
|
||||
- bundle_install:
|
||||
version: << parameters.version >>
|
||||
|
|
|
@ -57,11 +57,6 @@ The following variables are settable:
|
|||
* The path on the remote server where the application should be deployed.
|
||||
* If application contains whitespace or such this path might be invalid. See Structure for the exact directories used.
|
||||
|
||||
* `:scm`
|
||||
* **default:** `:git`
|
||||
* The Source Control Management used.
|
||||
* Currently :git, :hg and :svn are supported. Plugins might add additional ones.
|
||||
|
||||
* `:repo_url`
|
||||
* URL to the repository.
|
||||
* Must be a valid URL for the used SCM.
|
||||
|
|
|
@ -56,3 +56,5 @@ You can help us expanding this list by sending us a pull request on
|
|||
<div class="github-widget" data-repo="aeroastro/capistrano-lazy_cleanup"></div>
|
||||
|
||||
<div class="github-widget" data-repo="danieltoader/capistrano-teams"></div>
|
||||
|
||||
<div class="github-widget" data-repo="floydj/capistrano-mysql_tables"></div>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Capistrano
|
||||
VERSION = "3.17.0".freeze
|
||||
VERSION = "3.17.2".freeze
|
||||
end
|
||||
|
|
|
@ -12,7 +12,7 @@ module TestApp
|
|||
def default_config
|
||||
<<-CONFIG
|
||||
set :deploy_to, '#{deploy_to}'
|
||||
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
||||
set :repo_url, 'https://github.com/capistrano/capistrano.git'
|
||||
set :branch, 'master'
|
||||
set :ssh_options, { keys: "\#{ENV['HOME']}/.vagrant.d/insecure_private_key", auth_methods: ['publickey'] }
|
||||
server 'vagrant@localhost:2220', roles: %w{web app}
|
||||
|
|
Loading…
Reference in New Issue