gitlab.rake添加日志
This commit is contained in:
parent
3f667a7afc
commit
9acef36369
|
@ -3,6 +3,7 @@ require 'trustie/gitlab/sync'
|
|||
namespace :gitlab do
|
||||
namespace :sync do
|
||||
desc "sync users to gitlab"
|
||||
Rails.logger.info("--------------------------------sync users to gitlab")
|
||||
task :users => :environment do
|
||||
# User.where(username: 'root').find_each do |user|
|
||||
s = Trustie::Gitlab::Sync.new
|
||||
|
|
Loading…
Reference in New Issue