jets 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jets/cfn/deploy.rb +7 -1
- data/lib/jets/cli/ci/logs.rb +2 -0
- data/lib/jets/cli/git/push.rb +8 -8
- data/lib/jets/cli/url.rb +1 -0
- data/lib/jets/cli.rb +1 -0
- data/lib/jets/core/config/project.rb +1 -0
- data/lib/jets/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 469bf41ff85a39ad660890d93dcc434ee0926d02d7eca5e50d341491fe484235
|
4
|
+
data.tar.gz: 9f565593604d1224675e6096e6aec003783a38fe117eb2f97571112065deb017
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ea55a1776af192ea218bbcecb719a7d88090811ddab98fa3e6d539f7b36534f016c2b2b28ce4eb53e00a4a90f48e7f16d9ba8495b7d56af9c87ac694290bc94
|
7
|
+
data.tar.gz: a6047cb5149aba3abf54d15ad62ec64503fbc87b0324aa910103e2a0218dd37e0aeca2435d5ebcef8c42ac712d5870e443fd3eb7e2a80b12b18d706d48e15598
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [6.0.2] - 2024-05-30
|
7
|
+
- [#728](https://github.com/rubyonjets/jets/pull/728) jets git:push
|
8
|
+
- [#729](https://github.com/rubyonjets/jets/pull/729) dont show queue url by default
|
9
|
+
|
6
10
|
## [6.0.1] - 2024-05-27
|
7
11
|
- [#727](https://github.com/rubyonjets/jets/pull/727) small fixes
|
8
12
|
- associated outputs concept
|
data/lib/jets/cfn/deploy.rb
CHANGED
@@ -102,7 +102,13 @@ module Jets::Cfn
|
|
102
102
|
def update_stack
|
103
103
|
cfn.update_stack(stack_options)
|
104
104
|
rescue Aws::CloudFormation::Errors::ValidationError => e
|
105
|
-
|
105
|
+
if e.message.include?("No updates are to be performed")
|
106
|
+
log.debug "DEBUG bootstrap sync update_stack #{e.message}" # ERROR: No updates are to be performed.
|
107
|
+
else
|
108
|
+
# Always show the some other error message
|
109
|
+
log.info "ERROR bootstrap sync update_stack #{e.message}" # Some other error
|
110
|
+
raise
|
111
|
+
end
|
106
112
|
true
|
107
113
|
end
|
108
114
|
|
data/lib/jets/cli/ci/logs.rb
CHANGED
data/lib/jets/cli/git/push.rb
CHANGED
@@ -19,17 +19,17 @@ class Jets::CLI::Git
|
|
19
19
|
|
20
20
|
return unless $?.success?
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
Jets::CLI::Ci::Logs.new(options).run
|
22
|
+
command = [env_vars, "jets ci:logs"].compact.join(" ")
|
23
|
+
Kernel.exec(command)
|
25
24
|
end
|
26
25
|
|
27
|
-
def
|
28
|
-
env_vars = Jets.project.config.git.push.branch[push_branch]
|
26
|
+
def env_vars
|
27
|
+
env_vars = Jets.project.config.git.push.branch[push_branch]
|
28
|
+
return unless env_vars
|
29
29
|
# IE: branch_name = {JETS_ENV: "xxx", AWS_PROFILE: "xxx"}
|
30
|
-
env_vars.
|
31
|
-
|
32
|
-
end
|
30
|
+
env_vars.map do |k, v|
|
31
|
+
"#{k}=#{v}"
|
32
|
+
end.sort.join(" ")
|
33
33
|
end
|
34
34
|
|
35
35
|
# man git-push
|
data/lib/jets/cli/url.rb
CHANGED
data/lib/jets/cli.rb
CHANGED
@@ -41,6 +41,7 @@ module Jets::Core::Config
|
|
41
41
|
|
42
42
|
@base64_encode = true
|
43
43
|
|
44
|
+
# Not yet documented because the config interface may change.
|
44
45
|
@git = ActiveSupport::OrderedOptions.new
|
45
46
|
@git.push = ActiveSupport::OrderedOptions.new
|
46
47
|
@git.push.branch = ActiveSupport::OrderedOptions.new
|
data/lib/jets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-logs
|
@@ -990,7 +990,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
990
990
|
- !ruby/object:Gem::Version
|
991
991
|
version: '0'
|
992
992
|
requirements: []
|
993
|
-
rubygems_version: 3.
|
993
|
+
rubygems_version: 3.4.19
|
994
994
|
signing_key:
|
995
995
|
specification_version: 4
|
996
996
|
summary: Serverless Deployment Service
|