DevTools Logo

GitLab CI Generator

GitLab CI Generator

Build a .gitlab-ci.yml from stages and jobs — images, scripts, artifacts, and branch rules.

Pipeline

Build templates

Job 1

Job 2

Examples

Build then test

Input
stages: build, test
job build (stage build): npm ci / npm run build, artifacts: dist/
job test (stage test, only main): npm test
Output
stages:
  - build
  - test
build:
  stage: build
  script:
    - npm ci
    - npm run build
  artifacts:
    paths:
      - dist/

Stages run sequentially; the test job is scoped to main via a rule and the build job exposes an artifact.

About this tool

The GitLab CI Generator turns a list of stages and jobs into a valid .gitlab-ci.yml file. You define the stages in order, set an optional default image, and add jobs with a stage, image, script, artifacts, and the branches they run on. The output is plain YAML you commit to your repo — nothing is uploaded.

How to use this tool

  1. List the stages

    Enter stages like build, test, deploy in the order they should run.

  2. Add jobs

    For each job give a name, stage, image, script commands, artifact paths, and optional branch rules.

  3. Copy and commit

    Copy the .gitlab-ci.yml into your repo root and push — GitLab runs it on the next pipeline.

Use cases

New project bootstrap

Stand up a CI pipeline for a fresh repo without hand-writing YAML.

Branch-scoped deploys

Restrict deploy jobs to protected branches.

Common mistakes

Mistake:Forgetting the stage list.

Fix:Every job references a stage; list all stages up front or the pipeline errors.

Frequently asked questions

Does it run the pipeline?

No. It only writes a .gitlab-ci.yml file from your inputs — you commit it to your repo and GitLab runs it.

How are branch rules applied?

The refs you list become rules that scope a job to specific branches, so a deploy job can run only on main for example.

Is my pipeline uploaded?

No. The YAML is generated in your browser and you copy it into your repo yourself.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML