cody 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/cody/cli/start.rb +7 -2
- data/lib/cody/tailer.rb +8 -0
- data/lib/cody/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: 88a3ea8598603639f718e4f0abccdde3c1a1f822be72cb2f4394dffccc7cbd14
|
4
|
+
data.tar.gz: 0ca4437cbc6574b4b33f180808fc131ab2631ce73b49f387321936f3937390c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492d26d995e252031c78b306e49ea494d823f657ea7c80e94fa053732cfe6ebd285ef098478a9bfc72c234504dac214621a9d49abcb119a377c94fa77e428846
|
7
|
+
data.tar.gz: '0299c29a77b4534be575aac58d38bd5c2da97f913ecc876eb8c1b4141b22005034c537581515f0825ac2f8e9d66e2f93c9fe659d71be608e532e8c86b6785f4a'
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,11 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.0.3] - 2021-01-08
|
7
|
+
- [#31](https://github.com/tongueroo/cody/pull/31) surface context message with error message for during provisioning fa…
|
8
|
+
- docs: update ci jets v3
|
9
|
+
- raise error option
|
10
|
+
|
6
11
|
## [1.0.2]
|
7
12
|
- #30 Allow multiple git providers
|
8
13
|
|
data/lib/cody/cli/start.rb
CHANGED
@@ -54,8 +54,13 @@ class Cody::CLI
|
|
54
54
|
end
|
55
55
|
resource.physical_resource_id # codebuild project name
|
56
56
|
else
|
57
|
-
|
58
|
-
|
57
|
+
message = "ERROR: Unable to find the codebuild project with either full_project_name: #{@full_project_name} or project_name: #{@project_name}"
|
58
|
+
if @options[:raise_error]
|
59
|
+
raise(message)
|
60
|
+
else
|
61
|
+
puts message.color(:red)
|
62
|
+
exit 1
|
63
|
+
end
|
59
64
|
end
|
60
65
|
end
|
61
66
|
|
data/lib/cody/tailer.rb
CHANGED
@@ -54,6 +54,14 @@ module Cody
|
|
54
54
|
puts "Failed Phases:"
|
55
55
|
failed_phases.each do |phase|
|
56
56
|
puts "#{phase.phase_type}: #{phase.phase_status.color(:red)}"
|
57
|
+
context = phase.contexts.last
|
58
|
+
if context # show error details: Unable to pull customer's container image https://gist.github.com/tongueroo/22e4ca3d4cde002108ff506eba9062f6
|
59
|
+
message = context.message
|
60
|
+
puts message
|
61
|
+
if message.include?("CannotPullContainerError") && message.include?("access denied")
|
62
|
+
puts "See: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html"
|
63
|
+
end
|
64
|
+
end
|
57
65
|
end
|
58
66
|
end
|
59
67
|
|
data/lib/cody/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cody
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -387,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
387
387
|
- !ruby/object:Gem::Version
|
388
388
|
version: '0'
|
389
389
|
requirements: []
|
390
|
-
rubygems_version: 3.1.
|
390
|
+
rubygems_version: 3.1.4
|
391
391
|
signing_key:
|
392
392
|
specification_version: 4
|
393
393
|
summary: Cody provides a beautiful DSL to create and manage AWS CodeBuild projects
|