simplerubysteps 0.0.6 → 0.0.7
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/README.md +14 -18
- data/lib/simplerubysteps/version.rb +1 -1
- data/simplerubysteps.gemspec +6 -0
- metadata +71 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41e3a9ed5b8d6c32357fa880c2826cdf18a16fb9195260c5d10c7063b7dcb474
|
4
|
+
data.tar.gz: '07180493d6f6456f41164cd74f1410fb8bcd6649a645d109011c85ec9133c463'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0620c89b84893c3e58078ab8dc66a211aaef5a52101a45e7392bde32bfdab3be3cc9d83bdee6e9adcfd1f3ecdc1e3420dd9068f58bea07550aad1993d0775a90
|
7
|
+
data.tar.gz: 50f9d29b51926176a2a3edc900694233f38d44511ef5115433cc756f88c74df5ffca90bc924406644580c43e1f9ca6e2b1e2f79187aa0b3c9eca003f14b2daae
|
data/README.md
CHANGED
@@ -7,20 +7,15 @@ This is software in the experimental stage and should not really be used by anyo
|
|
7
7
|
## Installation
|
8
8
|
|
9
9
|
Prerequisites (for alpha version):
|
10
|
-
* Linux-like environment (the deployment tools are currently implemented with shell scripts)
|
11
10
|
* AWS CLI installed
|
12
11
|
|
13
|
-
|
14
|
-
|
15
|
-
```ruby
|
16
|
-
require "simplerubysteps"
|
17
|
-
```
|
18
|
-
|
19
|
-
And install the gem:
|
12
|
+
## Usage
|
20
13
|
|
21
|
-
|
14
|
+
### Install the gem and the simplerubysteps CLI
|
22
15
|
|
23
|
-
|
16
|
+
```
|
17
|
+
gem install simplerubysteps
|
18
|
+
```
|
24
19
|
|
25
20
|
### Create AWS Step Functions State Machine with ruby DSL
|
26
21
|
|
@@ -29,12 +24,12 @@ cd samples/sample1
|
|
29
24
|
vi workflow.rb
|
30
25
|
```
|
31
26
|
|
32
|
-
### Create CloudFormation stack with Step Functions State Machine and supporting Lambda
|
27
|
+
### Create CloudFormation stack with Step Functions State Machine and supporting Lambda function
|
33
28
|
|
34
29
|
```
|
35
30
|
export AWS_PROFILE=...
|
36
31
|
cd samples/sample1
|
37
|
-
simplerubysteps
|
32
|
+
simplerubysteps deploy
|
38
33
|
```
|
39
34
|
|
40
35
|
### Trigger State Machine Execution and wait for completion
|
@@ -42,7 +37,11 @@ simplerubysteps-deploy
|
|
42
37
|
```
|
43
38
|
export AWS_PROFILE=...
|
44
39
|
cd samples/sample1
|
45
|
-
|
40
|
+
|
41
|
+
./start-directbranch.sh
|
42
|
+
|
43
|
+
./sample-task-worker.sh &
|
44
|
+
./start-callbackbranch.sh
|
46
45
|
```
|
47
46
|
|
48
47
|
### Delete CloudFormation stack
|
@@ -50,19 +49,16 @@ echo '{"foo": "James Bond"}' | simplerubysteps-workflow-run
|
|
50
49
|
```
|
51
50
|
export AWS_PROFILE=...
|
52
51
|
cd samples/sample1
|
53
|
-
simplerubysteps
|
52
|
+
simplerubysteps destroy
|
54
53
|
```
|
55
54
|
|
56
55
|
## Development
|
57
56
|
|
58
|
-
After checking out the repo, run `bin/setup` to install dependencies.
|
59
|
-
|
60
57
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
61
58
|
|
62
59
|
### TODOs
|
63
60
|
|
64
|
-
* Custom IAM
|
65
|
-
* sls-like tooling in ruby with AWS SDK
|
61
|
+
* Custom IAM policies per Lambda task
|
66
62
|
* Workflow action unit test support
|
67
63
|
* ...
|
68
64
|
|
data/simplerubysteps.gemspec
CHANGED
@@ -24,4 +24,10 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.17"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
|
28
|
+
spec.add_dependency "aws-sdk-cloudformation"
|
29
|
+
spec.add_dependency "aws-sdk-s3"
|
30
|
+
spec.add_dependency "aws-sdk-states"
|
31
|
+
spec.add_dependency "aws-sdk-cloudwatchlogs"
|
32
|
+
spec.add_dependency "rubyzip"
|
27
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplerubysteps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Tschenett
|
@@ -38,6 +38,76 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aws-sdk-cloudformation
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aws-sdk-s3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aws-sdk-states
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aws-sdk-cloudwatchlogs
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubyzip
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
41
111
|
description:
|
42
112
|
email:
|
43
113
|
- simplerubysteps@furthermore.ch
|