broadside 3.0.5 → 3.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3e0d92c4b8e8a5079c5a3008c16c2986fe00862
4
- data.tar.gz: 70c9df295003bc04c67ac64ed9acd1809aee14cd
3
+ metadata.gz: 4d47c9c89f13bf617c34dce01f63f4ce4c6f880c
4
+ data.tar.gz: 958f75c93c3c14d4ee31b4f1d2414e2f152df360
5
5
  SHA512:
6
- metadata.gz: 46d9466884ee07ffd715ff753e04aefb1361bf807dbd0d31a1f6aa7ae96d8deb1cc65066c6f1394ee1384b4fa456cf4ca8f18965564505d5f75626292f9f0507
7
- data.tar.gz: 5414a05c469f5c7014f834406658fe3ff7a53400cf9d0b01d2b3f14af43513c732769f95adce490cf37095069cf1d9ca7adc321e329774f440435986ec42ee5a
6
+ metadata.gz: 35c4297593f18933c788b1052c02bf7dbd111adc713fc76ca76aef8a095a034d7f1c391661de157737abe0ee9ffa7c3d962d4e550bb8064b9c1c89d439dff3f7
7
+ data.tar.gz: 534205c168aa0281a9d68224474d1b258bc7d68f5149d6b9e6d6b3d2d618ebce3d7bcd92096f73f6a90cc02ff3d9d11bc35859439570f4c9fcd90dbfcead95aa
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # 3.0.6
2
+ - `--tag` option is optional while bootstrapping if you already have a configured `task_definition`
3
+
4
+ # 3.0.5
5
+ - Make `update_service` work correctly for services configured with load balancers
6
+
7
+ # 3.0.4
8
+ - `--tag` option required during bootstrapping
9
+
1
10
  # 3.0.3
2
11
  - update of GLI specifications, adding on to 3.0.2
3
12
 
data/README.md CHANGED
@@ -5,17 +5,18 @@ A [GLI](https://github.com/davetron5000/gli) based command-line tool for deployi
5
5
  ### [The wiki](https://github.com/lumoslabs/broadside/wiki) has all kinds of useful information on it so don't just rely on this README.
6
6
 
7
7
  ## Overview
8
- Amazon ECS presents a low barrier to entry for production-level docker applications. Combined with ECS's built-in blue-green deployment, Elastic Load Balancers, Autoscale Groups, and CloudWatch, one can theoretically set up a robust cluster that can scale to serve any number of applications in a short amount of time. The ECS GUI, CLI, overall architecture are not the easiest to work with, however, so Broadside seeks to leverage the [ECS ruby API](http://docs.aws.amazon.com/sdkforruby/api/Aws/ECS.html) to dramatically simplify and improve the configuration and deployment process for developers, offering a simple command line interface and configuration format that should meet most needs.
8
+ Amazon ECS presents a low barrier to entry for production-level docker applications. Combined with ECS's built-in blue-green deployment, Elastic Load Balancers, Autoscale Groups, and CloudWatch, one can theoretically set up a robust cluster that can scale to serve any number of applications in a short amount of time. The ECS GUI, CLI, and overall architecture are not the easiest to work with, however, so Broadside seeks to leverage the [ECS ruby API](http://docs.aws.amazon.com/sdkforruby/api/Aws/ECS.html) to dramatically simplify and improve the configuration and deployment process for developers, offering a simple command line interface and configuration format that should meet most needs.
9
9
 
10
10
  Broadside does _not_ attempt to handle operational tasks like infrastructure setup and configuration, which are better suited to tools like [terraform](https://www.terraform.io/).
11
11
 
12
12
  ### Capabilities
13
13
 
14
14
  - **Trigger** ECS deployments
15
- - **Launch** a bash shell directly onto a running container in the cluster
15
+ - **Inject** environment variables into ECS containers from local configuration files
16
+ - **Launch a bash shell** on container in the cluster
16
17
  - **SSH** directly onto a host running a container
17
- - **Launch** an ECS task running an arbitrary command
18
- - **Tail** logs of a running container
18
+ - **Execute** an arbitrary shell command on a container
19
+ - **Tail logs** of a running container
19
20
  - **Scale** an existing deployment on the fly
20
21
 
21
22
  ### Example Config for Quickstarters
data/broadside.gemspec CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'gli', '~> 2.13'
25
25
  spec.add_dependency 'tty', '~> 0.5'
26
26
 
27
- spec.add_development_dependency 'rspec', '~> 3.4.0'
27
+ spec.add_development_dependency 'rspec', '~> 3.4'
28
28
  spec.add_development_dependency 'bundler', '~> 1.9'
29
29
  end
@@ -28,6 +28,7 @@ module Broadside
28
28
  info "Task definition for #{family} already exists."
29
29
  else
30
30
  raise ConfigurationError, "No :task_definition_config for #{family}" unless @target.task_definition_config
31
+ raise ConfigurationError, 'Bootstrapping a task_definition requires a --tag option' unless @target.tag
31
32
  info "Creating an initial task definition for '#{family}' from the config..."
32
33
 
33
34
  EcsManager.ecs.register_task_definition(
@@ -24,7 +24,10 @@ end
24
24
 
25
25
  desc 'Bootstrap your service and task definition from the configured definition.'
26
26
  command :bootstrap do |bootstrap|
27
- add_tag_flag(bootstrap)
27
+ bootstrap.desc 'Optionally configured tag - without it you cannot bootstrap a task_definition'
28
+ bootstrap.arg_name 'TAG'
29
+ bootstrap.flag 'tag', :optional
30
+
28
31
  add_target_flag(bootstrap)
29
32
 
30
33
  bootstrap.action do |_, options, _|
@@ -1,3 +1,3 @@
1
1
  module Broadside
2
- VERSION = '3.0.5'.freeze
2
+ VERSION = '3.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: broadside
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Leung
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-01 00:00:00.000000000 Z
12
+ date: 2017-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -119,14 +119,14 @@ dependencies:
119
119
  requirements:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
- version: 3.4.0
122
+ version: '3.4'
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: 3.4.0
129
+ version: '3.4'
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: bundler
132
132
  requirement: !ruby/object:Gem::Requirement