feat: add private gh repos
This commit is contained in:
@@ -24,7 +24,7 @@ class ApplicationSeeder extends Seeder
|
||||
$github_public_source = GithubApp::where('name', 'Public GitHub')->first();
|
||||
|
||||
Application::create([
|
||||
'name' => 'Public application (from GitHub)',
|
||||
'name' => 'coollabsio/coolify-examples:nodejs-fastify',
|
||||
'git_repository' => 'coollabsio/coolify-examples',
|
||||
'git_branch' => 'nodejs-fastify',
|
||||
'build_pack' => 'nixpacks',
|
||||
|
||||
@@ -31,7 +31,7 @@ class GithubAppSeeder extends Seeder
|
||||
'html_url' => 'https://github.com',
|
||||
'is_public' => false,
|
||||
'app_id' => 292941,
|
||||
'installation_id' => 34157139,
|
||||
'installation_id' => 37267016,
|
||||
'client_id' => 'Iv1.220e564d2b0abd8c',
|
||||
'client_secret' => '96b1b31f36ce0a34386d11798ff35b9b6d8aba3a',
|
||||
'webhook_secret' => '326a47b49054f03288f800d81247ec9414d0abf3',
|
||||
|
||||
@@ -13,11 +13,10 @@ class LocalPersistentVolumeSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
$application = Application::where('name', 'Public application (from GitHub)')->first();
|
||||
LocalPersistentVolume::create([
|
||||
'name' => 'test-pv',
|
||||
'mount_path' => '/data',
|
||||
'resource_id' => $application->id,
|
||||
'resource_id' => 1,
|
||||
'resource_type' => Application::class,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user