Use GitLab CI rules to Control When Jobs Run
Replace only/except with rules to explicitly control which GitLab CI jobs run in merge request and push pipelines.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Replace only/except with rules to explicitly control which GitLab CI jobs run in merge request and push pipelines.
Compare qTest Launch vs CI/CD REST API integration for pushing automated test results. Covers constraints, trade-offs, a GitLab CI validation script, and a decision checklist for teams using Jira and Jenkins/GitLab.
Learn how a single version‑controlled template can replace dozens of copied .gitlab-ci.yml files, enforce consistent stages, and still let each project override what it needs.
Diagnose why GitLab CI/CD jobs stay Pending by matching job tags, runner scope, protection, and capacity to runner state.
Control dependency reuse in GitLab CI/CD with cache:key, paths, and policy so feature-branch pipelines install faster without stale modules.
Discover how GitLab’s `needs` keyword transforms long, stage‑based pipelines into efficient DAGs, slashing feedback time while keeping dependencies safe. A step‑by‑step example, trade‑offs, and best practices are included.
Resolve 'Failed to pull image' errors in GitLab CI by identifying the root cause across networking, authentication, and registry configuration using this diagnostic guide.
Learn how to use the GitLab CI/CD 'include' keyword to break monolithic YAML files into reusable, parameterized templates across projects.
GitLab CI artifacts accumulate by default, inflating repo size and slowing fetches. Learn how to set expiration via UI or YAML, handle version differences, and verify cleanup.