mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\SourceControl;
|
||||
use App\SourceControlProviders\Bitbucket;
|
||||
use App\SourceControlProviders\Github;
|
||||
use App\SourceControlProviders\Gitlab;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SourceControlsSeeder extends Seeder
|
||||
@ -11,7 +14,7 @@ public function run(): void
|
||||
{
|
||||
SourceControl::factory()->create([
|
||||
'profile' => 'GitHub',
|
||||
'provider' => \App\Enums\SourceControl::GITHUB,
|
||||
'provider' => Github::id(),
|
||||
'provider_data' => [
|
||||
'token' => 'github_token',
|
||||
],
|
||||
@ -19,7 +22,7 @@ public function run(): void
|
||||
|
||||
SourceControl::factory()->create([
|
||||
'profile' => 'GitLab',
|
||||
'provider' => \App\Enums\SourceControl::GITLAB,
|
||||
'provider' => Gitlab::id(),
|
||||
'provider_data' => [
|
||||
'token' => 'gitlab_token',
|
||||
],
|
||||
@ -27,7 +30,7 @@ public function run(): void
|
||||
|
||||
SourceControl::factory()->create([
|
||||
'profile' => 'Bitbucket',
|
||||
'provider' => \App\Enums\SourceControl::BITBUCKET,
|
||||
'provider' => Bitbucket::id(),
|
||||
'provider_data' => [
|
||||
'username' => 'bitbucket_username',
|
||||
'password' => 'bitbucket_password',
|
||||
|
Reference in New Issue
Block a user