wip
This commit is contained in:
@@ -16,8 +16,7 @@ class GithubAppSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$root_team = Team::find(0);
|
||||
$private_key_1 = PrivateKey::find(1);
|
||||
$private_key_2 = PrivateKey::find(2);
|
||||
$private_key_2 = PrivateKey::find(1);
|
||||
GithubApp::create([
|
||||
'name' => 'Public GitHub',
|
||||
'api_url' => 'https://api.github.com',
|
||||
|
||||
@@ -16,7 +16,7 @@ class GitlabAppSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$root_team = Team::find(0);
|
||||
$private_key_3 = PrivateKey::find(3);
|
||||
$private_key_2 = PrivateKey::find(2);
|
||||
GitlabApp::create([
|
||||
'id' => 1,
|
||||
'name' => 'Public GitLab',
|
||||
@@ -36,7 +36,7 @@ class GitlabAppSeeder extends Seeder
|
||||
'deploy_key_id' => '1234',
|
||||
'public_key' => 'dfjasiourj',
|
||||
'webhook_token' => '4u3928u4y392',
|
||||
'private_key_id' => $private_key_3->id,
|
||||
'private_key_id' => $private_key_2->id,
|
||||
'team_id' => $root_team->id,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ class PrivateKeySeeder extends Seeder
|
||||
{
|
||||
$team_1 = Team::find(0);
|
||||
PrivateKey::create([
|
||||
"id" => 0,
|
||||
"team_id" => $team_1->id,
|
||||
"name" => "Testing-host",
|
||||
"description" => "This is a test docker container",
|
||||
|
||||
@@ -16,7 +16,7 @@ class ServerSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$root_team = Team::find(0);
|
||||
$private_key_1 = PrivateKey::find(1);
|
||||
$private_key_1 = PrivateKey::find(0);
|
||||
|
||||
Server::create([
|
||||
'id' => 0,
|
||||
|
||||
Reference in New Issue
Block a user