in 0.1.1
proctor
Watches the cabin.
Runs PROCTOR's checks and publishes them as a Code Quality report.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/proctor@0.1.1
6 inputs
- stage
test
- image
php:8.4-cli@sha256:…
- composer_version
2.10.3
- allow_failure
false
- proctor_command
vendor/bin/proctor check --format=codequality
- working_dir
.
in 0.1.1
php-test
Three engines, all running.
The test command on each supported PHP version, one job per version.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/php-test@0.1.1
5 inputs
- stage
test
- php_versions
["8.3", "8.4", "8.5"]
- composer_version
2.10.3
- test_command
vendor/bin/phpunit
- working_dir
.
in 0.1.1
composer-audit
Checks the passenger list.
composer audit --locked, failing on any advisory.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/composer-audit@0.1.1
3 inputs
- stage
test
- image
composer:2@sha256:…
- working_dir
.
in 0.1.1
sbom
The cargo manifest.
A validated CycloneDX SBOM, published as an artifact. The plugin installs globally, so the app's files stay as they are.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/sbom@0.1.1
4 inputs
- stage
test
- image
composer:2.10.3@sha256:…
- omit_dev
true
- output
sbom.cdx.json
in 0.1.1
pint
Uniform pressed.
The app's own Laravel Pint in test mode. The app requires laravel/pint and ships a pint.json.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/pint@0.1.1
4 inputs
- stage
test
- image
composer:2.10.3@sha256:…
- config
pint.json
- working_dir
.
in 0.1.1
phpstan
Instruments cross-checked.
The app's own PHPStan, with a Code Quality report. The app requires phpstan/phpstan and ships a phpstan.neon.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/phpstan@0.1.1
5 inputs
- stage
test
- image
composer:2.10.3@sha256:…
- config
phpstan.neon
- memory_limit
1G
- working_dir
.
in 0.1.1
eslint
The front cabin, too.
The app's own ESLint and Prettier. The app requires @waynestate/pinstripe, eslint and prettier.
- component: $CI_SERVER_FQDN/enterprise-apps/preflight/eslint@0.1.1
5 inputs
- stage
test
- image
node:22.13-alpine@sha256:…
- working_dir
.
- eslint_args
.
- prettier
true
in 0.1.1
php-package.yml
Two cockpits, one checklist.
Components stay inside one GitLab instance, so GitHub mirrors call this reusable workflow instead: composer ci on each PHP version, then a Composer audit.
uses: waynestate/preflight/.github/workflows/php-package.yml@0.1.1
3 inputs
- php-versions
'["8.3","8.4","8.5"]'
- ci-command
composer ci
- working-directory
.