snap_ci_manual_trigger 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a1e4f04078cc9f31a4c400cf17511c8528e725
|
4
|
+
data.tar.gz: fbea861b40d1ba3c6465f065f25a85148df47c20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3978b768c9b08d79f56a9161a381b004feaf54ae12fe0b5718bf9ab334e441b249c483f5a3902b28c9d359b52978d9bc796d8879deda97a5cd33a084b5f4cf7
|
7
|
+
data.tar.gz: 22c7f5c0c64cde96cd97d68e41c6e93126161a4db3e96a3177c0204f9652b50a6119a8dfd2471860d5d956e4c7841f292d40ad328b50db3708d689652c24802e
|
data/README.md
CHANGED
@@ -88,6 +88,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/artiri
|
|
88
88
|
|
89
89
|
## CHANGES
|
90
90
|
|
91
|
+
### v.1.0.2
|
92
|
+
|
93
|
+
- specify requirement of SNAP_CI_USER and SNAP_CI_API_KEY env vars in generated rake task.
|
94
|
+
- remove `:environment` req. in generated rake task.
|
95
|
+
|
91
96
|
### v.1.0.1
|
92
97
|
|
93
98
|
- indentation in generated rake tasks
|
@@ -1,6 +1,6 @@
|
|
1
1
|
namespace :snap_ci do
|
2
2
|
desc <<-DESC.strip_heredoc
|
3
|
-
executes #manual_stage_on_new_pipeline using <%= owner.inspect %> as owner and <%= repository.inspect %> as repository
|
3
|
+
executes #manual_stage_on_new_pipeline using <%= owner.inspect %> as owner and <%= repository.inspect %> as repository (requires ENV vars SNAP_CI_USER and SNAP_CI_API_KEY for credentials).
|
4
4
|
|
5
5
|
example:
|
6
6
|
rake <%= owner %>_<%= repository %>:manual_stage_on_new_pipeline[Deploy]
|
@@ -12,7 +12,7 @@ namespace :snap_ci do
|
|
12
12
|
|
13
13
|
DESC
|
14
14
|
|
15
|
-
task :'<%= owner %>_<%= repository %>', [:stage, :branch_name]
|
15
|
+
task :'<%= owner %>_<%= repository %>', [:stage, :branch_name] do |_t, args|
|
16
16
|
args.with_defaults branch_name: 'master'
|
17
17
|
|
18
18
|
owner = '<%= owner %>'
|