Compare commits

...

9 Commits

Author SHA1 Message Date
Matt Brictson f1ad06f42a
Ignore apt-get 404 errors that were breaking CI for Ruby < 2.3 (#2124) 2023-03-25 14:33:48 -07:00
Matt Brictson dd947706ca
Release 3.17.2 2023-02-20 09:44:53 -08:00
Lee Hambley 97d4d355fb
Merge pull request #2121 from floydj/master
Add capistrano-mysql_tables as 3rd party plugin
2023-01-25 18:24:59 +01:00
Jason Floyd 4af3c4a548 Add capistrano-mysql_tables as 3rd party plugin 2023-01-24 11:51:38 -06:00
Matt Brictson 7317689001
Fix failing Ruby 2.0 CI build (#2116)
The following warning was preventing libssl from being installed, which
is a prerequisite for the Ruby 2.0 build in CI:

```
WARNING: The following packages cannot be authenticated!
  libssl-dev libssl1.0.0
```

Fix by passing `--force-yes` to ignore the warning.
2022-11-28 18:37:59 -08:00
Matt Brictson 9e331e3197
Release 3.17.1 2022-08-07 10:38:21 -07:00
Matt Brictson ec6b61b694
Switch cucumber tests to use https instead of git:// (#2112)
On my machine, when running `rake features`, the `git clone` operation
in some of the cucumber tests hangs and eventually times out. It seems
to be due to the repo URL using the `git://` protocol. When I switch to
`https://`, it works fine.
2022-08-07 10:21:46 -07:00
Eric Londaits 15104dc4bf
Remove reference to the deprecated :scm variable (#2111)
The :scm variable was deprecated in v3.7
2022-08-01 07:08:39 -07:00
Matt Brictson cc4f31fdfc
Install newer SSH client to fix CI for old Rubies (#2106) 2022-03-19 13:29:16 -07:00
5 changed files with 20 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
module Capistrano
VERSION = "3.17.0".freeze
VERSION = "3.17.2".freeze
end

View File

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