pipedream 0.4.4 → 0.4.5
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 +6 -1
- data/README.md +2 -0
- data/lib/pipedream/dsl/pipeline/codebuild.rb +2 -2
- data/lib/pipedream/start.rb +5 -2
- data/lib/pipedream/version.rb +1 -1
- data/lib/template/.pipedream/pipeline.rb.tt +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: 3d9e2922f9c6667d76a0d7028ae49000536ab914662417e72d0f0fdf6cc7aea5
|
4
|
+
data.tar.gz: 3e75a59671e7168f7d747f4a46db94f9f6756a0f0a925bd1ad1607ef8be3f733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28c61cb0f1dd55003854b179ffd26a153650b47558ac505e06c703624f453e3ee4bfb06ad40f4e5f0955245db3e37cb29430dd191ad416878c8fe40328077c06
|
7
|
+
data.tar.gz: fe15a95759be6b95748850ddc95f49b330303585f60c847f5d50cd6398133a482e0d75d9293b5d098e7f78a1f45b2d02eecaffc92cd2eab4662d4ed2df6e0e5c
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
|
-
This project *
|
4
|
+
This project *loosely* adheres to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
|
+
|
6
|
+
## [0.4.5]
|
7
|
+
- add aws codepipeline get-pipeline-state command hint in output also
|
8
|
+
- dont autocamelize code build project name
|
9
|
+
- #3 fix typo
|
5
10
|
|
6
11
|
## [0.4.4]
|
7
12
|
- add mfa support for normal IAM user
|
data/README.md
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|

|
8
8
|
[](http://badge.fury.io/rb/pipedream)
|
9
9
|
|
10
|
+
[](https://www.boltops.com)
|
11
|
+
|
10
12
|
Pipe Dream provides a DSL to make it easy create a CodePipeline pipeline.
|
11
13
|
|
12
14
|
Pipe Dream installs `pipedream` and `pipe` executables. Both of them do the same thing, `pipe` is just shorter to type.
|
@@ -17,10 +17,10 @@ module Pipedream::Dsl::Pipeline
|
|
17
17
|
|
18
18
|
actions = projects.map do |item|
|
19
19
|
if item.is_a?(String)
|
20
|
-
name = item
|
20
|
+
name = item
|
21
21
|
default.deep_merge(
|
22
22
|
name: name,
|
23
|
-
configuration: { project_name:
|
23
|
+
configuration: { project_name: item },
|
24
24
|
)
|
25
25
|
else # Hash
|
26
26
|
# With the hash notation, user needs to set: name and project_name
|
data/lib/pipedream/start.rb
CHANGED
@@ -66,12 +66,15 @@ module Pipedream
|
|
66
66
|
def codepipeline_info(execution_id)
|
67
67
|
region = `aws configure get region`.strip rescue "us-east-1"
|
68
68
|
url = "https://#{region}.console.aws.amazon.com/codesuite/codepipeline/pipelines/#{pipeline_name}/view"
|
69
|
-
cli = "aws codepipeline get-pipeline-execution --pipeline-execution-id #{execution_id} --pipeline-name #{pipeline_name}"
|
70
69
|
|
71
70
|
puts "Pipeline started: #{pipeline_name}"
|
72
71
|
puts "Please check the CodePipeline console for the status."
|
73
72
|
puts "CodePipeline Console: #{url}"
|
74
|
-
puts "Pipeline cli:
|
73
|
+
puts "Pipeline cli commands:"
|
74
|
+
puts
|
75
|
+
puts " aws codepipeline get-pipeline-execution --pipeline-execution-id #{execution_id} --pipeline-name #{pipeline_name}"
|
76
|
+
puts " aws codepipeline get-pipeline-state --name #{pipeline_name}"
|
77
|
+
puts
|
75
78
|
end
|
76
79
|
|
77
80
|
def pipeline_exists?(name)
|
data/lib/pipedream/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
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: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -379,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
379
379
|
- !ruby/object:Gem::Version
|
380
380
|
version: '0'
|
381
381
|
requirements: []
|
382
|
-
rubygems_version: 3.
|
382
|
+
rubygems_version: 3.1.2
|
383
383
|
signing_key:
|
384
384
|
specification_version: 4
|
385
385
|
summary: A beautiful and powerful DSL to create and manage AWS CodePipeline pipelines
|