Plugins
GitLab
Plugin for GitLab CI/CD integration
@bjb-forge/nx-gitlab-project
Installation
npx forge add @bjb-forge/nx-gitlab-projectPlugin Options
{
"plugin": "@bjb-forge/nx-gitlab-project/nx-plugin",
"options": {}
}| Option | Type | Description |
|---|---|---|
platform.program | string | Name of your platform program (only small letters and numbers) |
localPlugins | boolean | Whether you declare local Nx plugins in your repository (will trigger a 'tsc --build' before the build) |
ci.image | string | Image to be used for your CI runner. Defaults to forge images- use only after agreeing with TechX team. |
ci.verbose | boolean | Run the CI in verbose mode by setting NX_VERBOSE_LOGGING to true |
ci.cache | boolean | Whether to keep Nx cache or not |
ci.affected | boolean | Whether to only build affected projects (true) or all projects (false) |
ci.execution | string | Controls whether CI tasks run in parallel (single nx command with all targets) or in series (one nx command per target) |
ci.workers | number | Number of parallel workers to use for nx commands (adds --parallel=N) |
ci.release | object | Release settings |
Inferred Targets
sync-gitlab-ci-yml
Synchronizes the GitLab CI/CD pipeline configuration based on workspace structure.
Condition: When .gitlab/workflows/.gitlab-ci.yml exists