2012-12-30 07:09:43 -05:00
|
|
|
Gitlab::Seeder.quiet do
|
2014-08-11 10:55:31 -04:00
|
|
|
User.first(10).each do |user|
|
|
|
|
key = "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt#{user.id + 100}6k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0="
|
|
|
|
|
|
|
|
user.keys.create(
|
|
|
|
title: "Sample key #{user.id}",
|
|
|
|
key: key
|
|
|
|
)
|
|
|
|
|
|
|
|
print '.'
|
2012-12-30 07:09:43 -05:00
|
|
|
end
|
|
|
|
end
|