Commit 034656a2 authored by Dan Notestein's avatar Dan Notestein
Browse files

Add skip variables to deployment templates

Add configurable skip variables to control which jobs run in a pipeline:

- QUICK_TEST: Skip all deployments (dev and production)
- SKIP_PRODUCTION_DEPLOY: Skip production deployments only
- SKIP_DEV_DEPLOY: Skip dev package deployments only
- SKIP_NPM_PUBLISH: Skip all npm publishing
- SKIP_DOCKER_PUBLISH: Skip Docker Hub publishing

These variables are checked in template rules, so projects that extend
templates without overriding rules automatically get this behavior.

Updated templates:
- .npm_deploy_package_template (dev npm to GitLab registry)
- .registry_npmjs_org_deploy_package_template (production npm to npmjs.org)
- .publish_docker_image_template (production Docker to Docker Hub)

This allows fine-grained control over pipeline behavior without requiring
projects to override template rules (which is error-prone and can
accidentally remove important protections like protected-tag checks).
parent 9f5e12cd
Loading
Loading
Loading
Loading