Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
capistrano-sneakers
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
capistrano-sneakers
Commits
3548cd1a
Commit
3548cd1a
authored
7 years ago
by
Andrew Babichev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trailing spaces
parent
92de4036
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/capistrano/tasks/sneakers.rb
+2
-2
No files found.
lib/capistrano/tasks/sneakers.rb
View file @
3548cd1a
...
...
@@ -97,12 +97,12 @@ namespace :sneakers do
raise
"[ set :workers, ['worker1', 'workerN'] ] not configured properly, please configure the workers you wish to use"
if
fetch
(
:sneakers_workers
).
nil?
or
fetch
(
:sneakers_workers
)
==
false
or
!
fetch
(
:sneakers_workers
).
kind_of?
Array
workers
=
fetch
(
:sneakers_workers
).
compact
.
join
(
','
)
#run "cmd", env: { 'WORKERS' => workers } #export this to environmental variable
info
"Starting the sneakers processes"
#workers.each do |worker|
with
rails_env:
fetch
(
:sneakers_env
),
workers:
workers
do
with
rails_env:
fetch
(
:sneakers_env
),
workers:
workers
do
rake
'sneakers:run'
end
#execute :bundle, :exec, :sneakers, args.compact.join(' ')
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment