Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4ce4134a6 |
-14
@@ -45,7 +45,6 @@ host('prod')
|
|||||||
->set('deploy_path', '/opt/laravel-sites/absdev-net/deploy')
|
->set('deploy_path', '/opt/laravel-sites/absdev-net/deploy')
|
||||||
->set('labels', ['stage' => 'production']);
|
->set('labels', ['stage' => 'production']);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Helpers
|
| Helpers
|
||||||
@@ -91,7 +90,6 @@ function absdevArtisan(string $command): void
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Production preflight
|
| Production preflight
|
||||||
@@ -143,7 +141,6 @@ task('absdev:preflight', function (): void {
|
|||||||
writeln('<info>Docker deployment preflight passed.</info>');
|
writeln('<info>Docker deployment preflight passed.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Composer
|
| Composer
|
||||||
@@ -169,7 +166,6 @@ task('absdev:composer', function (): void {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Vite
|
| Vite
|
||||||
@@ -220,7 +216,6 @@ SH;
|
|||||||
writeln('<info>Production Vite assets built.</info>');
|
writeln('<info>Production Vite assets built.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Release permissions
|
| Release permissions
|
||||||
@@ -262,7 +257,6 @@ task('absdev:permissions', function (): void {
|
|||||||
writeln('<info>Laravel permissions verified.</info>');
|
writeln('<info>Laravel permissions verified.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Laravel preparation
|
| Laravel preparation
|
||||||
@@ -283,7 +277,6 @@ task('absdev:laravel:prepare', function (): void {
|
|||||||
writeln('<info>Laravel release prepared.</info>');
|
writeln('<info>Laravel release prepared.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Revision information
|
| Revision information
|
||||||
@@ -319,7 +312,6 @@ task('absdev:revision', function (): void {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Release validation
|
| Release validation
|
||||||
@@ -338,7 +330,6 @@ task('absdev:validate', function (): void {
|
|||||||
writeln('<info>Release files validated.</info>');
|
writeln('<info>Release files validated.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Database migrations
|
| Database migrations
|
||||||
@@ -361,7 +352,6 @@ task('absdev:migrate', function (): void {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| PHP-FPM
|
| PHP-FPM
|
||||||
@@ -380,7 +370,6 @@ task('absdev:php:restart', function (): void {
|
|||||||
writeln('<info>Docker PHP-FPM restarted.</info>');
|
writeln('<info>Docker PHP-FPM restarted.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Post-deployment
|
| Post-deployment
|
||||||
@@ -405,7 +394,6 @@ task('absdev:refresh', function (): void {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Health check
|
| Health check
|
||||||
@@ -430,7 +418,6 @@ task('absdev:health', function (): void {
|
|||||||
writeln('<info>Production HTTP health check passed.</info>');
|
writeln('<info>Production HTTP health check passed.</info>');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Deployment sequence
|
| Deployment sequence
|
||||||
@@ -471,7 +458,6 @@ after('deploy:failed', 'deploy:unlock');
|
|||||||
after('rollback', 'absdev:php:restart');
|
after('rollback', 'absdev:php:restart');
|
||||||
after('rollback', 'absdev:health');
|
after('rollback', 'absdev:health');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Repair Laravel cache ownership before release cleanup
|
| Repair Laravel cache ownership before release cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user