Deployment
Deployment to a remote location is performed by the deploy router script
shipped via the drevops/vortex-tooling
Composer package and installed at vendor/drevops/vortex-tooling/src/vortex-deploy.
The script runs in continuous integration pipeline deploy job only after all
tests pass.
The script deploys the code to a remote location by calling the
relevant scripts based on the type of deployment defined in $VORTEX_DEPLOY_TYPES
variable as a comma-separated list of one or multiple supported deployment types:
webhook- A webhook URL is called via CURL.artifact- A code artifact is created and sent to a remote repository.lagoon- A Lagoon webhook URL is called via CURL to trigger a deployment.
Expand to see deployment in the complete code lifecycle
Local Development
═════════════════════════════════════════════════════════════════════════════════════════
Developer writes code ──► Build and test locally ──► Commit changes
│
▼
Git Repository
═════════════════════════════════════════════════════════════════════════════════════════
Push to remote branch ──► Open/Update Pull Request
│
▼
┌─ CI Pipeline ──────────────────────────────────────────────────────────────────────────────┐
│ │
│ The Lint, Test and Build jobs run in parallel. Deployment runs after all three pass. │
│ │
│ Lint Job │
│ Build CLI container ──► Composer validate / audit / normalize ──► Hadolint ──► │
│ DCLint ──► PHPCS ──► PHPStan ──► Rector ──► Twig CS Fixer ──► │
│ Gherkin Lint ──► ESLint / Stylelint │
│ │