Promptline Documentation

Learn how Promptline leverages GitLab CI/CD best practices to create powerful, visual pipeline building experiences

Quick Start

Get started with Promptline in minutes

1

Create Project

Start with a new project or import existing YAML

2

Build Visually

Drag and drop jobs to create your pipeline

3

Export & Deploy

Generate production-ready YAML configuration

Visual Editor Guide

Editor Visual Guide

How Promptline Enhances GitLab CI/CD

Visual Pipeline Builder

Transform complex YAML configurations into intuitive drag-and-drop interfaces

  • No more YAML syntax errors
  • Visual dependency mapping
  • Real-time validation

Smart YAML Generation

Generate production-ready GitLab CI/CD YAML following best practices

  • Optimized job configurations
  • Proper cache strategies
  • Security-first approach

AI-Powered Optimization

Leverage AI to create and optimize pipelines based on your project needs

  • Intelligent job suggestions
  • Performance optimizations
  • Best practice enforcement

GitLab CI/CD Features Supported

Jobs

script
Define commands to execute
image
Specify Docker image
stage
Pipeline stage assignment
variables
Environment variables
cache
Dependency caching
artifacts
Build outputs

Control Flow

rules
Conditional job execution
needs
Job dependencies
when
Execution conditions
allow_failure
Failure handling
interruptible
Cancellation support
timeout
Execution limits

Performance

parallel
Parallel execution
matrix
Matrix builds
include/exclude
Dynamic pipelines
extends
Template inheritance
!reference
YAML anchors
workflow
Pipeline control

Best Practices Built-In

Efficient Caching Strategy

Promptline automatically configures optimal caching for your dependencies

Faster builds
Reduced bandwidth
Cost optimization
Example YAML:
cache:
key:
  files:
    - yarn.lock
paths:
  - .yarn-cache

Smart Job Dependencies

Visual dependency mapping ensures proper job execution order

Parallel execution
Faster pipelines
Clear dependencies
Example YAML:
test_job:
needs:
  - build_job
script:
  - npm test

Conditional Execution

Advanced rules for different scenarios and environments

Resource efficiency
Environment safety
Flexible workflows
Example YAML:
deploy:
rules:
  - if: $CI_COMMIT_BRANCH == "main"
    when: manual
  - if: $CI_COMMIT_BRANCH == "develop"
    when: on_success

Advanced Topics

Job Templates & Inheritance

Promptline leverages GitLab's powerful template system with extends and!reference to create reusable job configurations.

Template Jobs

  • • Start with dot (.) - hidden from pipeline
  • • Define common configurations
  • • Reduce code duplication
  • • Easy maintenance

Inheritance

  • extends for job inheritance
  • !reference for specific sections
  • • Override specific properties
  • • Maintain consistency

Additional Resources

Official GitLab Documentation

GitLab CI/CD YAML Reference

Get Started with Promptline

Open Pipeline Editor