elastic_beans 0.10.0 → 0.10.1.alpha1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83a37437ba56a21aa28efe9a004ab84661fc5964
|
|
4
|
+
data.tar.gz: 2a624fe39ea11a5db27f78b0d03fe65e67e59e91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f27f1a7733134eb41d808c17f3ff569dec3bf927ba6e49630d69fc192eb2b88be3c399099a24d95d550a89c46fa97dcdf4be6064aeee50bd3e87b6b7d9c7205a
|
|
7
|
+
data.tar.gz: 4f2416b7d12d85d1311bf228399bd53ab2c2ec20b34063364acee8b472777975f9af6b66c480c6ca45b672f84e27aa7553d48d43bf6ff0452e7e567b091e052d
|
|
@@ -90,7 +90,7 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
|
|
|
90
90
|
# Do not lose command exit status
|
|
91
91
|
*%w(set -o pipefail &&),
|
|
92
92
|
# Log command start just like SQSConsumer
|
|
93
|
-
"
|
|
93
|
+
"echo", %("Executing command ID=#{command.id} \\`#{command.command_string}' on host `hostname` pid $$..."),
|
|
94
94
|
">>", COMMAND_LOGFILE, "&&",
|
|
95
95
|
# Load application environment
|
|
96
96
|
"sudo", COMMAND_SCRIPT, *command_parts,
|
|
@@ -99,7 +99,7 @@ Requires AWS credentials to be set in the environment, i.e. AWS_ACCESS_KEY_ID an
|
|
|
99
99
|
# Save command exit status for final exit
|
|
100
100
|
*%w(status=$? ;),
|
|
101
101
|
# Log command end just like SQSConsumer
|
|
102
|
-
"
|
|
102
|
+
"echo", %("Command ID=#{command.id} \\`#{command.command_string}' exited on host `hostname`: pid $$ exit $status"),
|
|
103
103
|
">>", COMMAND_LOGFILE, "&&",
|
|
104
104
|
# Propagate command exit status
|
|
105
105
|
*%w(exit $status),
|
|
@@ -11,7 +11,7 @@ module ElasticBeans
|
|
|
11
11
|
# namespace) directly.
|
|
12
12
|
class ConfigurationTemplate
|
|
13
13
|
# The solution stack used for a new application. Should not be hardcoded, but here we are.
|
|
14
|
-
SOLUTION_STACK_NAME = "64bit Amazon Linux 2016.09 v2.
|
|
14
|
+
SOLUTION_STACK_NAME = "64bit Amazon Linux 2016.09 v2.3.3 running Ruby 2.3 (Puma)"
|
|
15
15
|
# :category: Internal
|
|
16
16
|
WORKER_TEMPLATE_NAME_PATTERN = /\Aworker-(?<queue>\w+)\z/
|
|
17
17
|
|
|
@@ -7,6 +7,7 @@ container_commands:
|
|
|
7
7
|
command: |
|
|
8
8
|
mkdir -vp /var/log/elastic_beans/exec
|
|
9
9
|
touch /var/log/elastic_beans/exec/command.log
|
|
10
|
+
chmod 666 /var/log/elastic_beans/exec/command.log
|
|
10
11
|
09_logrotate:
|
|
11
12
|
command: "cp -v /opt/elastic_beans/exec/logrotate /etc/logrotate.d/elastic_beans_exec"
|
|
12
13
|
test: "/opt/elasticbeanstalk/bin/get-config meta -k sqsdconfig --output YAML | grep -q '^environment_name: .*-exec$'"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elastic_beans
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.1.alpha1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Stegman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-05-
|
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -250,9 +250,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
250
250
|
version: '0'
|
|
251
251
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
252
|
requirements:
|
|
253
|
-
- - "
|
|
253
|
+
- - ">"
|
|
254
254
|
- !ruby/object:Gem::Version
|
|
255
|
-
version:
|
|
255
|
+
version: 1.3.1
|
|
256
256
|
requirements: []
|
|
257
257
|
rubyforge_project:
|
|
258
258
|
rubygems_version: 2.6.11
|