codepipeline 0.3.3 → 0.3.4
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 +3 -0
- data/Gemfile.lock +10 -9
- data/codepipe.gemspec +6 -0
- data/lib/codepipe/cli.rb +1 -0
- data/lib/codepipe/init.rb +14 -2
- data/lib/codepipe/version.rb +1 -1
- data/lib/template/.codepipeline/pipeline.rb.tt +0 -2
- metadata +7 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3804b9d8cb563034fbe216db76fc54bd24b07695981f3cd2525b2202af404f0b
|
|
4
|
+
data.tar.gz: 1a42607ab0110cd41b8dd74598d5c594ed4b8e14f3938581105873aceb243a98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27d66ddcbbcc7d534252caf30dd4bb5779569faca354ed518dd214b35fa2383906d7b88b53ee5c2f62aa1e8fd95810035b6f0d49e598994ca7f07b65bc2102a3
|
|
7
|
+
data.tar.gz: b2938465fb7dad6aadc3f29013e8052377db67a113a82457fbf4c9396a75c4c617db51ba44387a91996ec0c7f7f7d2fb883868caef76ab13df532b1799c95828
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
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
|
+
## [0.3.4]
|
|
7
|
+
- deprecate codepipeline for pipedream: tool has been renamed to pipedream
|
|
8
|
+
|
|
6
9
|
## [0.3.3]
|
|
7
10
|
- allow no settings.yml file
|
|
8
11
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
codepipeline (0.3.
|
|
4
|
+
codepipeline (0.3.3)
|
|
5
5
|
activesupport
|
|
6
6
|
aws-sdk-cloudformation
|
|
7
7
|
aws-sdk-codepipeline
|
|
@@ -17,20 +17,21 @@ PATH
|
|
|
17
17
|
GEM
|
|
18
18
|
remote: https://rubygems.org/
|
|
19
19
|
specs:
|
|
20
|
-
activesupport (
|
|
20
|
+
activesupport (6.0.0)
|
|
21
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
22
22
|
i18n (>= 0.7, < 2)
|
|
23
23
|
minitest (~> 5.1)
|
|
24
24
|
tzinfo (~> 1.1)
|
|
25
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
|
25
26
|
aws-eventstream (1.0.3)
|
|
26
|
-
aws-partitions (1.
|
|
27
|
+
aws-partitions (1.207.0)
|
|
27
28
|
aws-sdk-cloudformation (1.25.0)
|
|
28
29
|
aws-sdk-core (~> 3, >= 3.61.1)
|
|
29
30
|
aws-sigv4 (~> 1.1)
|
|
30
|
-
aws-sdk-codepipeline (1.
|
|
31
|
+
aws-sdk-codepipeline (1.24.0)
|
|
31
32
|
aws-sdk-core (~> 3, >= 3.61.1)
|
|
32
33
|
aws-sigv4 (~> 1.1)
|
|
33
|
-
aws-sdk-core (3.
|
|
34
|
+
aws-sdk-core (3.65.1)
|
|
34
35
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
35
36
|
aws-partitions (~> 1.0)
|
|
36
37
|
aws-sigv4 (~> 1.1)
|
|
@@ -38,17 +39,17 @@ GEM
|
|
|
38
39
|
aws-sdk-kms (1.24.0)
|
|
39
40
|
aws-sdk-core (~> 3, >= 3.61.1)
|
|
40
41
|
aws-sigv4 (~> 1.1)
|
|
41
|
-
aws-sdk-s3 (1.
|
|
42
|
+
aws-sdk-s3 (1.48.0)
|
|
42
43
|
aws-sdk-core (~> 3, >= 3.61.1)
|
|
43
44
|
aws-sdk-kms (~> 1)
|
|
44
45
|
aws-sigv4 (~> 1.1)
|
|
45
|
-
aws-sdk-ssm (1.
|
|
46
|
+
aws-sdk-ssm (1.55.0)
|
|
46
47
|
aws-sdk-core (~> 3, >= 3.61.1)
|
|
47
48
|
aws-sigv4 (~> 1.1)
|
|
48
49
|
aws-sigv4 (1.1.0)
|
|
49
50
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
|
50
51
|
byebug (11.0.1)
|
|
51
|
-
cfn_camelizer (0.
|
|
52
|
+
cfn_camelizer (0.3.0)
|
|
52
53
|
activesupport
|
|
53
54
|
memoist
|
|
54
55
|
rainbow
|
|
@@ -66,7 +67,7 @@ GEM
|
|
|
66
67
|
minitest (5.11.3)
|
|
67
68
|
rainbow (3.0.0)
|
|
68
69
|
rake (12.3.3)
|
|
69
|
-
render_me_pretty (0.8.
|
|
70
|
+
render_me_pretty (0.8.3)
|
|
70
71
|
activesupport
|
|
71
72
|
rainbow
|
|
72
73
|
tilt
|
data/codepipe.gemspec
CHANGED
|
@@ -12,6 +12,12 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.homepage = "https://github.com/tongueroo/codepipeline"
|
|
13
13
|
spec.license = "MIT"
|
|
14
14
|
|
|
15
|
+
spec.post_install_message = <<-MESSAGE
|
|
16
|
+
! The codebuild gem has been deprecated and has been replaced by pipedream.
|
|
17
|
+
! See: https://rubygems.org/gems/pipedream
|
|
18
|
+
! And: https://github.com/tongueroo/pipedream
|
|
19
|
+
MESSAGE
|
|
20
|
+
|
|
15
21
|
vendor_files = Dir.glob("vendor/**/*")
|
|
16
22
|
gem_files = `git -C "#{File.dirname(__FILE__)}" ls-files -z`.split("\x0").reject do |f|
|
|
17
23
|
f.match(%r{^(test|spec|features|docs)/})
|
data/lib/codepipe/cli.rb
CHANGED
|
@@ -20,6 +20,7 @@ module Codepipe
|
|
|
20
20
|
option :branch, aliases: "b", desc: "git branch" # important to default to nil
|
|
21
21
|
common_options.call
|
|
22
22
|
def deploy(pipeline_name=nil)
|
|
23
|
+
puts "[DEPRECATION] This gem has been renamed to pipedream and will no longer be supported. Please switch to pipedream as soon as possible."
|
|
23
24
|
Deploy.new(options.merge(pipeline_name: pipeline_name)).run
|
|
24
25
|
end
|
|
25
26
|
|
data/lib/codepipe/init.rb
CHANGED
|
@@ -4,6 +4,7 @@ module Codepipe
|
|
|
4
4
|
def self.cli_options
|
|
5
5
|
[
|
|
6
6
|
[:name, desc: "CodePipeline project name."],
|
|
7
|
+
[:mode, desc: "Modes: light or full"],
|
|
7
8
|
[:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files."],
|
|
8
9
|
[:template, desc: "Custom template to use."],
|
|
9
10
|
[:template_mode, desc: "Template mode: replace or additive."],
|
|
@@ -12,6 +13,7 @@ module Codepipe
|
|
|
12
13
|
cli_options.each { |o| class_option(*o) }
|
|
13
14
|
|
|
14
15
|
def setup_template_repo
|
|
16
|
+
puts "[DEPRECATION] This gem has been renamed to pipedream and will no longer be supported. Please switch to pipedream as soon as possible."
|
|
15
17
|
return unless @options[:template]&.include?('/')
|
|
16
18
|
|
|
17
19
|
sync_template_repo
|
|
@@ -32,10 +34,20 @@ module Codepipe
|
|
|
32
34
|
|
|
33
35
|
def copy_project
|
|
34
36
|
puts "Initialize codepipeline project in .codepipeline"
|
|
37
|
+
|
|
38
|
+
excludes = %w[.git]
|
|
39
|
+
if @options[:mode] == "light"
|
|
40
|
+
excludes += %w[
|
|
41
|
+
settings.yml
|
|
42
|
+
sns.rb
|
|
43
|
+
]
|
|
44
|
+
end
|
|
45
|
+
pattern = Regexp.new(excludes.join('|'))
|
|
46
|
+
|
|
35
47
|
if @options[:template]
|
|
36
|
-
directory ".", ".codepipeline", exclude_pattern:
|
|
48
|
+
directory ".", ".codepipeline", exclude_pattern: pattern
|
|
37
49
|
else
|
|
38
|
-
directory ".", exclude_pattern:
|
|
50
|
+
directory ".", exclude_pattern: pattern
|
|
39
51
|
end
|
|
40
52
|
end
|
|
41
53
|
|
data/lib/codepipe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: codepipeline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -352,7 +352,10 @@ homepage: https://github.com/tongueroo/codepipeline
|
|
|
352
352
|
licenses:
|
|
353
353
|
- MIT
|
|
354
354
|
metadata: {}
|
|
355
|
-
post_install_message:
|
|
355
|
+
post_install_message: |2
|
|
356
|
+
! The codebuild gem has been deprecated and has been replaced by pipedream.
|
|
357
|
+
! See: https://rubygems.org/gems/pipedream
|
|
358
|
+
! And: https://github.com/tongueroo/pipedream
|
|
356
359
|
rdoc_options: []
|
|
357
360
|
require_paths:
|
|
358
361
|
- lib
|
|
@@ -367,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
367
370
|
- !ruby/object:Gem::Version
|
|
368
371
|
version: '0'
|
|
369
372
|
requirements: []
|
|
370
|
-
rubygems_version: 3.0.
|
|
373
|
+
rubygems_version: 3.0.6
|
|
371
374
|
signing_key:
|
|
372
375
|
specification_version: 4
|
|
373
376
|
summary: CodePipeline DSL Tool to Quickly Create CodePipeline Pipeline
|