capistrano-jetty 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +13 -1
- data/capistrano-jetty.gemspec +1 -1
- data/lib/capistrano-jetty/tasks/jetty.rake +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cfcdf724cf1f519da7dc52c654e588d4c11cb77
|
|
4
|
+
data.tar.gz: 911459c65597b1da6b96f7935a1626282ed5cca6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbd91cf421c5e9e454485095c3d7f136c5c00aec808f6d08eea161146e711e84979969968ac123d8c991afa13e35076512c38f419b94a429618d82a381e3e0be
|
|
7
|
+
data.tar.gz: 683387ce2291033ebcb4e3cea09550c5b83a573069c0339964acf32f3f27121de091300ec8ca92f17a599dcf7e9722debaf51a17a21fe05b335e6af128f3635b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# Capistrano::Jetty
|
|
2
2
|
|
|
3
|
+
[](https://rubygems.org/gems/capistrano-jetty)
|
|
4
|
+
|
|
3
5
|
This gem provides support in Capistrano 3.x for copying a deployed artifact into Jetty’s webapps directory, then restarting Jetty.
|
|
4
6
|
|
|
5
|
-
Plays nicely with [
|
|
7
|
+
Plays nicely with [capistrano-scm-jenkins](https://github.com/lidaobing/capistrano-scm-jenkins).
|
|
6
8
|
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
@@ -39,6 +41,16 @@ set :deployed_artifact_filename, "#{fetch(:application)}.war"
|
|
|
39
41
|
set :jetty_webapps_path, '/usr/share/jetty/webapps'
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
In your `config/deploy/(staging|production).rb`, specify the hostname of the HAProxy server(s) and the name of the HAProxy backend for your servers:
|
|
45
|
+
|
|
46
|
+
```ruby
|
|
47
|
+
server 'prod-api-haproxy-1d', user: fetch(:user), roles: %w{load_balancer}, no_release: true
|
|
48
|
+
|
|
49
|
+
set :load_balancer_backend, 'contactsapi-prod'
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
See the [Chef stage environment](https://github.com/evertrue/server-chef/blob/master/environments/stage.json#L141) and [Chef prod environment](https://github.com/evertrue/server-chef/blob/master/environments/prod.json#L232) to find your app’s HAProxy backend. Line numbers may change; search for `backends` in case these links out-of-date.
|
|
53
|
+
|
|
42
54
|
## Contributing
|
|
43
55
|
|
|
44
56
|
1. Fork it ( http://github.com/evertrue/capistrano-jetty/fork )
|
data/capistrano-jetty.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'capistrano-jetty'
|
|
7
|
-
spec.version = '1.2.
|
|
7
|
+
spec.version = '1.2.1'
|
|
8
8
|
spec.authors = ['Jeff Byrnes']
|
|
9
9
|
spec.email = ['jeff@evertrue.com']
|
|
10
10
|
spec.summary = %q{Capistrano 3 plugin for handling Jetty.}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-jetty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Byrnes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
version: '0'
|
|
92
92
|
requirements: []
|
|
93
93
|
rubyforge_project:
|
|
94
|
-
rubygems_version: 2.4.
|
|
94
|
+
rubygems_version: 2.4.6
|
|
95
95
|
signing_key:
|
|
96
96
|
specification_version: 4
|
|
97
97
|
summary: Capistrano 3 plugin for handling Jetty.
|