Skip to content
Novus Examples

Pipelines

Linters, migrators, and policy engines that read pipeline definitions need real ones to read. This category ships workflow and build definitions across the systems teams actually run: GitHub Actions, GitLab CI, CircleCI, Azure Pipelines, Tekton and Argo manifests, Jenkinsfiles, Makefiles, and Gradle builds. Infrastructure-as-code covers Terraform configuration and variable files, generic HCL, and Kubernetes manifests. Data-orchestration fixtures carry Airflow-style DAGs, CWL workflow descriptions, and DAG graphs in Graphviz and Mermaid so a visualiser can be tested against a documented topology. Valid, deprecated-syntax, and intentionally invalid variants are labelled in title and description, and every fixture is inert configuration — no scripts that do anything if run.

Filter pipelines on Browse · 115 files · 16 subcategories

115 of 115 files

Airflow

Preview of Airflow DAG Definition (Operator Style)
py
1.6 KB
Actual file preview for Airflow DAG Definition (Operator Style)

Airflow DAG Definition (Operator Style)

An Airflow DAG definition in the classic operator style, using only the no-op EmptyOperator so the file describes a topology and performs no work. Carries the six-task ETL graph shared across the Airflow JSON, Argo, Graphviz and Mermaid fixtures.

File
PY · Airflow
Use case
Graph dataData engineering+1· Conversion set
Preview of Airflow TaskFlow API DAG
py
1.1 KB
Actual file preview for Airflow TaskFlow API DAG

Airflow TaskFlow API DAG

A decorator-based Airflow TaskFlow DAG where dependencies are implied by function calls rather than >> operators — the shape static DAG extractors most often get wrong. Every task returns a literal, so nothing performs I/O.

File
PY · Airflow
Preview of Airflow-Shaped Serialized DAG (JSON)
json
2.5 KB
Actual file preview for Airflow-Shaped Serialized DAG (JSON)

Airflow-Shaped Serialized DAG (JSON)

The serialized-DAG shape Airflow stores in its metadata database, as standalone JSON: per-task metadata with explicit downstream_task_ids. Carries the same six-task topology as the Python, Argo, Graphviz and Mermaid fixtures.

File
JSON · Airflow
Use case
Graph dataData engineering+1· Conversion set
Preview of Pipeline DAG Topology (JSON, with Expected Answers)
json
1.6 KB
Actual file preview for Pipeline DAG Topology (JSON, with Expected Answers)

Pipeline DAG Topology (JSON, with Expected Answers)

The shared six-task topology as a plain node/edge JSON document that also publishes the expected answers — roots, leaves, longest path, and topological order — so a graph library or DAG visualiser can be scored without a hand-written oracle.

File
JSON · Airflow
Use case
Graph dataData engineering+1· Conversion set
Preview of Pipeline DAG with a Cycle (JSON), Intentionally Invalid
json
1.4 KB
Actual file preview for Pipeline DAG with a Cycle (JSON), Intentionally Invalid

Pipeline DAG with a Cycle (JSON), Intentionally Invalid

The shared topology plus one back edge, making it intentionally invalid as a DAG. The document publishes the cycle it contains, so a scheduler or graph validator can be tested on both detecting the cycle and naming it.

File
JSON · Airflow

Argo Tekton

Preview of Argo CD Application with Sync Policy
yaml
875 B
Actual file preview for Argo CD Application with Sync Policy

Argo CD Application with Sync Policy

An Argo CD Application with automated sync, prune and self-heal, retry backoff, sync options, and an ignoreDifferences rule that exempts replica counts from drift detection. All Git and cluster endpoints are example.invalid.

File
YAML · Argo Tekton
Preview of Argo CronWorkflow Schedule
yaml
481 B
Actual file preview for Argo CronWorkflow Schedule

Argo CronWorkflow Schedule

An Argo CronWorkflow wrapping an inline workflowSpec: a cron schedule with an explicit timezone, Replace concurrency, history limits, and a suspend flag. Nested-spec shape that flat schedule extractors miss.

File
YAML · Argo Tekton
Preview of Argo Workflow DAG Template
yaml
1.8 KB
Actual file preview for Argo Workflow DAG Template

Argo Workflow DAG Template

An Argo Workflows DAG template carrying the same six-task ETL topology as the Airflow, Graphviz and Mermaid fixtures in this category, so a converter or visualiser can be scored against one known answer across four formats.

File
YAML · Argo Tekton
Preview of Argo Workflow Steps Template
yaml
1.1 KB
Actual file preview for Argo Workflow Steps Template

Argo Workflow Steps Template

Argo's steps template, whose double-nested list is a genuine parser trap: the outer list is sequential and the inner list is parallel, so a reader that flattens it reports four sequential steps instead of three groups.

File
YAML · Argo Tekton
Preview of Tekton Pipeline with when and finally
yaml
850 B
Actual file preview for Tekton Pipeline with when and finally

Tekton Pipeline with when and finally

A Tekton Pipeline chaining three tasks with runAfter, a when expression that consumes a prior task's result, and a finally task that runs regardless of outcome. The finally block is a common omission in Tekton graph extractors.

File
YAML · Argo Tekton
Preview of Tekton PipelineRun (Run Request)
yaml
755 B
Actual file preview for Tekton PipelineRun (Run Request)

Tekton PipelineRun (Run Request)

A Tekton PipelineRun as a run request: a pipelineRef, params, timeouts and a workspace binding, with no status block. A completed run's status is a record of what happened and belongs with test-report fixtures, not with pipeline definitions.

File
YAML · Argo Tekton
Preview of Tekton Task with Params, Workspaces, and Results
yaml
838 B
Actual file preview for Tekton Task with Params, Workspaces, and Results

Tekton Task with Params, Workspaces, and Results

A Tekton Task declaring string and array params, a workspace, a result, and two steps that use Tekton's $(params.x) and $(workspaces.x.path) variable syntax, including the $(params.flags[*]) array expansion form.

File
YAML · Argo Tekton

Azure Pipelines

Preview of Azure Pipelines Matrix Strategy
yml
721 B
Actual file preview for Azure Pipelines Matrix Strategy

Azure Pipelines Matrix Strategy

Azure's named-leg matrix form, where each leg is a mapping of variables rather than an axis product: three Python legs, a maxParallel cap, a job timeout, and a JUnit results publish step that runs on failure too.

File
YML · Azure Pipelines
Preview of Azure Pipelines Stages and Deployment Job
yml
904 B
Actual file preview for Azure Pipelines Stages and Deployment Job

Azure Pipelines Stages and Deployment Job

A three-stage Azure Pipelines definition with a build-number format expression, a variable group reference, stage conditions built from the expression functions, and a deployment job using the runOnce strategy against a named environment.

File
YML · Azure Pipelines
Preview of Azure Pipelines Steps and Triggers
yml
574 B
Actual file preview for Azure Pipelines Steps and Triggers

Azure Pipelines Steps and Triggers

The simplest Azure Pipelines shape: no stages or jobs, just a trigger with branch and path filters, a PR trigger, variables, and a flat step list mixing task and script steps. Baseline for the stage-based fixtures.

File
YML · Azure Pipelines
Preview of Azure Pipelines Template Expressions and Parameters
yml
866 B
Actual file preview for Azure Pipelines Template Expressions and Parameters

Azure Pipelines Template Expressions and Parameters

Compile-time template expressions: an `${{ each }}` loop over an object parameter, an `${{ if }}` conditional insertion, an `extends` template, and a step template with arguments. These resolve before runtime, which template-aware linters must model.

File
YML · Azure Pipelines
Preview of Azure Pipelines, Intentionally Invalid
yml
624 B
Actual file preview for Azure Pipelines, Intentionally Invalid

Azure Pipelines, Intentionally Invalid

An intentionally invalid Azure Pipelines file: valid YAML that mixes top-level steps with a stages block, depends on an undeclared stage, and gives `pool` a bare string. For testing that a validator rejects it and reports all three faults.

File
YML · Azure Pipelines

Build

Preview of Gradle Build Script (Groovy DSL)
gradle
1.2 KB
Actual file preview for Gradle Build Script (Groovy DSL)

Gradle Build Script (Groovy DSL)

A Gradle Groovy DSL build script with a plugins block, a Java toolchain, five dependency configurations, task configuration via named() and a registered task. Every coordinate and repository is fictional, so nothing resolves.

File
GRADLE · Build
Preview of Gradle Settings Script with Version Catalog
gradle
980 B
Actual file preview for Gradle Settings Script with Version Catalog

Gradle Settings Script with Version Catalog

A Gradle settings script — the file that actually defines a multi-project build — with pluginManagement, a repositories mode, a version catalog declaring libraries, a bundle and a plugin, and one project remapped to a custom directory.

File
GRADLE · Build
Preview of gradle.properties with Escapes and Continuations
properties
943 B
Actual file preview for gradle.properties with Escapes and Continuations

gradle.properties with Escapes and Continuations

A gradle.properties exercising the .properties grammar rather than Gradle: a \uXXXX escape, a backslash line continuation, all three key/value separator forms, and a key containing escaped separator characters.

File
PROPERTIES · Build
Preview of Java Properties Parser Edge Cases
properties
684 B
Actual file preview for Java Properties Parser Edge Cases

Java Properties Parser Edge Cases

The .properties edge cases collected in one file: both comment markers, empty values, a value whose trailing spaces are significant, unescaped = and : inside values, a # that is not a comment, escape sequences, an escaped space in a key, and a duplicate key.

File
PROPERTIES · Build
Preview of Makefile Pattern Rules and Conditionals
mk
608 B
Actual file preview for Makefile Pattern Rules and Conditionals

Makefile Pattern Rules and Conditionals

Pattern rules with the automatic variables $@, $<, $^ and $*, ifeq/ifdef conditional directives, a vpath search path, and a define block invoked through $(call). All recipe lines are TAB-indented and echo-only.

File
MK · Build
Preview of Makefile Targets and TAB Indentation
mk
932 B
Actual file preview for Makefile Targets and TAB Indentation

Makefile Targets and TAB Indentation

A Makefile whose recipe lines are indented with real TAB characters, as make requires. Covers simple, conditional, appended and substitution-reference variables, .PHONY, and .DEFAULT_GOAL. Every recipe is echo-only, so running it does nothing.

File
MK · Build
Preview of Makefile with Space Indentation, Intentionally Invalid
mk
491 B
Actual file preview for Makefile with Space Indentation, Intentionally Invalid

Makefile with Space Indentation, Intentionally Invalid

An intentionally invalid Makefile whose recipe lines are indented with four spaces instead of the required TAB. This is the most common Makefile defect there is, and it is invisible in most editors — which is exactly why it belongs in a fixture set.

File
MK · Build
Preview of TOML Build Configuration with Array of Tables
toml
1.1 KB
Actual file preview for TOML Build Configuration with Array of Tables

TOML Build Configuration with Array of Tables

A build-tool configuration in TOML, chosen for the constructs YAML has no direct equivalent for: three [[build.step]] array-of-tables entries carrying an ordered pipeline, a quoted glob key, and all three TOML date-time flavours.

File
TOML · Build

Circleci

Preview of CircleCI Config with Cache and Workspace
yml
925 B
Actual file preview for CircleCI Config with Cache and Workspace

CircleCI Config with Cache and Workspace

A CircleCI 2.1 config with a two-job workflow, a fallback cache-key list, workspace persistence between jobs, and a test-results store. The baseline the other CircleCI fixtures vary from.

File
YML · Circleci
Preview of CircleCI Config, Intentionally Invalid
yml
560 B
Actual file preview for CircleCI Config, Intentionally Invalid

CircleCI Config, Intentionally Invalid

An intentionally invalid CircleCI config: an unquoted `version: 2.10` that YAML loads as the float 2.1, a workflow referencing an undefined job, and a job with no execution environment. For testing that a validator rejects it and explains each fault.

File
YML · Circleci
Preview of CircleCI Orbs and Named Executors
yml
716 B
Actual file preview for CircleCI Orbs and Named Executors

CircleCI Orbs and Named Executors

CircleCI orbs and reusable named executors: two orb imports, two executors at different resource classes, an orb-provided step, and a branch filter combining an exact name with a regex.

File
YML · Circleci
Preview of CircleCI Reusable Commands and Parameters
yml
1 KB
Actual file preview for CircleCI Reusable Commands and Parameters

CircleCI Reusable Commands and Parameters

A reusable CircleCI command with string and boolean parameters, a conditional `when` step, and a job parameterised by an enum expanded through a workflow matrix. Exercises CircleCI's << >> template syntax, which is not YAML and not Jinja.

File
YML · Circleci
Preview of CircleCI Workflow Matrix with Exclude
yml
613 B
Actual file preview for CircleCI Workflow Matrix with Exclude

CircleCI Workflow Matrix with Exclude

A CircleCI workflow matrix across three operating systems and two Go versions with one exclusion, plus a tag filter regex. Six combinations minus one is five jobs, documented so an expansion can be scored exactly.

File
YML · Circleci

Cwl

Preview of CWL CommandLineTool Definition
cwl
965 B
Actual file preview for CWL CommandLineTool Definition

CWL CommandLineTool Definition

A CWL v1.2 CommandLineTool with typed inputs, positional and prefixed bindings, a JavaScript outputEval expression, resource requirements, a Docker hint, and an IANA $namespaces block. Inert: it describes an invocation and runs nothing.

File
CWL · Cwl
Preview of CWL Scatter and Cross-Product
cwl
808 B
Actual file preview for CWL Scatter and Cross-Product

CWL Scatter and Cross-Product

CWL scatter in both forms: a single-parameter scatter over an array input, and a two-parameter scatter with scatterMethod flat_crossproduct. The scatter dimensionality is what distinguishes correct CWL engines from approximate ones.

File
CWL · Cwl
Preview of CWL Workflow (Six-Step Topology)
cwl
1.3 KB
Actual file preview for CWL Workflow (Six-Step Topology)

CWL Workflow (Six-Step Topology)

A CWL Workflow carrying the same six-step ETL topology as the Airflow and Argo fixtures, with dependencies expressed as step output references and a multi-source input resolved by pickValue. For cross-format DAG conversion tests.

File
CWL · Cwl
Preview of CWL Workflow, Intentionally Invalid
cwl
598 B
Actual file preview for CWL Workflow, Intentionally Invalid

CWL Workflow, Intentionally Invalid

An intentionally invalid CWL document: a nonexistent cwlVersion, an unknown class, a step consuming an output no step produces, and outputs given as a bare string. Four documented faults for a CWL validator to report.

File
CWL · Cwl

Dag Graphs

Preview of Graphviz Pipeline DAG
dot
1016 B
Actual file preview for Graphviz Pipeline DAG

Graphviz Pipeline DAG

The shared six-task ETL topology as a Graphviz digraph, with node and edge defaults, per-node attribute overrides, a same-rank constraint and C-style comments. Carries the identical graph to the Airflow, Argo, CWL and Mermaid fixtures.

File
DOT · Dag Graphs
Preview of Graphviz Pipeline Graph with a Cycle
dot
718 B
Actual file preview for Graphviz Pipeline Graph with a Cycle

Graphviz Pipeline Graph with a Cycle

The same topology plus one back edge, so the graph is deliberately not a DAG. A renderer must still draw it and a scheduler must reject it, which is why this is a reference fixture rather than a corrupt file.

File
DOT · Dag Graphs
Preview of Mermaid Deployment State Diagram
mmd
621 B
Actual file preview for Mermaid Deployment State Diagram

Mermaid Deployment State Diagram

A Mermaid stateDiagram-v2 describing environment promotion with canary and rollback transitions, start and end pseudostates, and a note block. A second Mermaid diagram type, so a renderer is not only tested on flowcharts.

File
MMD · Dag Graphs
Preview of Mermaid Pipeline Flowchart
mmd
714 B
Actual file preview for Mermaid Pipeline Flowchart

Mermaid Pipeline Flowchart

The shared six-task ETL topology as a Mermaid flowchart, with mixed node shapes, a subgraph, a classDef and %% comments. The Mermaid twin of the Graphviz fixture, for scoring diagram-format converters against one known answer.

File
MMD · Dag Graphs

Docker

Preview of Docker Compose Anchors and x- Extension Fields
yaml
1.1 KB
Actual file preview for Docker Compose Anchors and x- Extension Fields

Docker Compose Anchors and x- Extension Fields

Compose with three x- extension fields carrying YAML anchors that are merged into services. The trap is ordering: a tool that strips x- keys before parsing the YAML destroys the anchors and the file stops resolving.

File
YAML · Docker
Preview of Docker Compose File, Intentionally Invalid
yaml
608 B
Actual file preview for Docker Compose File, Intentionally Invalid

Docker Compose File, Intentionally Invalid

An intentionally invalid Compose file: services as a list, a service with both image and an empty build, an unquoted 8080:8080 port that YAML 1.1 reads as a base-60 integer, and a depends_on naming an undefined service.

File
YAML · Docker
Preview of Docker Compose Profiles
yaml
601 B
Actual file preview for Docker Compose Profiles

Docker Compose Profiles

Five Compose services across three profiles, one of which belongs to two profiles at once. Services with no profiles key always start; the rest are opt-in, which is the selection logic this fixture exists to test.

File
YAML · Docker
Preview of Docker Compose Specification (No version Key)
yaml
1.3 KB
Actual file preview for Docker Compose Specification (No version Key)

Docker Compose Specification (No version Key)

A Compose Specification file with no top-level version key, condition-based depends_on, healthchecks, and a deploy resource limit. Parsers written against the older schema often require the version key, which is exactly what this fixture separates.

File
YAML · Docker
Preview of Dockerfile, Multi-Stage Build Definition
dockerfile
1.2 KB
Actual file preview for Dockerfile, Multi-Stage Build Definition

Dockerfile, Multi-Stage Build Definition

A three-stage Dockerfile with a syntax directive, build args interpolated into FROM lines, a heredoc COPY, multi-line LABEL and ENV continuations, a non-root USER, and HEALTHCHECK in exec form. Inert: every base image is a fictional example.invalid reference.

File
DOCKERFILE · Docker

Github Actions

Preview of GitHub Actions Composite Action Definition
yml
671 B
Actual file preview for GitHub Actions Composite Action Definition

GitHub Actions Composite Action Definition

An action.yml-shaped composite action definition with typed inputs, a declared output bound to a step output, and a branding block. Distinct from a workflow file, and a common blind spot in workflow linters that only understand .github/workflows.

File
YML · Github Actions
Preview of GitHub Actions Concurrency and Environment
yml
581 B
Actual file preview for GitHub Actions Concurrency and Environment

GitHub Actions Concurrency and Environment

A deployment workflow exercising the blocks that governance tools care about: a concurrency group with cancel-in-progress, paths-ignore filters, a named environment with a URL, and a job timeout. All hosts are example.invalid.

File
YML · Github Actions
Preview of GitHub Actions Deprecated Workflow Commands
yml
772 B
Actual file preview for GitHub Actions Deprecated Workflow Commands

GitHub Actions Deprecated Workflow Commands

A deprecated-syntax workflow: ::set-output, ::set-env and ::add-path markers, a retired runner label, and v2 action pins. Every construct here was removed from the runner, so an upgrade migrator can be scored on whether it rewrites all of them.

File
YML · Github Actions
Preview of GitHub Actions Expression and Function Coverage
yml
1 KB
Actual file preview for GitHub Actions Expression and Function Coverage

GitHub Actions Expression and Function Coverage

An expression-dense workflow: fromJSON-generated matrix axes, hashFiles cache keys, format and join calls, a folded multi-line if condition, and the && / || coalescing idiom that stands in for a ternary. For testing template resolvers before any schema check.

File
YML · Github Actions
Preview of GitHub Actions Matrix Include and Exclude
yml
768 B
Actual file preview for GitHub Actions Matrix Include and Exclude

GitHub Actions Matrix Include and Exclude

The matrix case that expanders get wrong: a 3x3 base grid, two exclude rules, and one include entry that adds a combination and an extra key. Nine minus two plus one is eight jobs, documented in the specs so an expansion can be scored exactly.

File
YML · Github Actions
Preview of GitHub Actions Node Matrix Workflow
yml
668 B
Actual file preview for GitHub Actions Node Matrix Workflow

GitHub Actions Node Matrix Workflow

A GitHub Actions CI workflow with a two-axis build matrix (three Node versions across two runners), an npm cache, and a conditional artifact upload. Six matrix combinations, so a workflow linter or matrix expander has a documented answer to check against.

File
YML · Github Actions
Preview of GitHub Actions on: Key YAML Boolean Trap
yml
720 B
Actual file preview for GitHub Actions on: Key YAML Boolean Trap

GitHub Actions on: Key YAML Boolean Trap

The workflow file that exposes the YAML 1.1 boolean resolver: a bare `on` key becomes True in PyYAML, SnakeYAML and Psych, so a round-trip through those loaders loses the trigger block. The env values repeat the trap with NO, yes and off alongside a quoted control.

File
YML · Github Actions
Preview of GitHub Actions Over-Permissive Token (Policy Target)
yml
568 B
Actual file preview for GitHub Actions Over-Permissive Token (Policy Target)

GitHub Actions Over-Permissive Token (Policy Target)

A schema-valid workflow that should still be rejected on review: permissions: write-all at the workflow level plus three unused write scopes on the job. Nothing here is an exploit; it is the least-privilege finding a policy engine is supposed to raise.

File
YML · Github Actions
Preview of GitHub Actions Reusable Workflow (workflow_call)
yml
830 B
Actual file preview for GitHub Actions Reusable Workflow (workflow_call)

GitHub Actions Reusable Workflow (workflow_call)

The called half of a reusable-workflow pair: a workflow_call trigger with typed inputs, a default value, and a declared output wired to a job output. Pair it with the caller fixture to test cross-workflow input and output resolution.

File
YML · Github Actions
Preview of GitHub Actions Reusable Workflow Caller
yml
698 B
Actual file preview for GitHub Actions Reusable Workflow Caller

GitHub Actions Reusable Workflow Caller

The calling half of a reusable-workflow pair: a workflow_dispatch trigger with a choice input, two jobs that call the same reusable workflow with different arguments, and a third that consumes their outputs through needs.

File
YML · Github Actions
Preview of GitHub Actions Scheduled Workflow with Dispatch Inputs
yml
577 B
Actual file preview for GitHub Actions Scheduled Workflow with Dispatch Inputs

GitHub Actions Scheduled Workflow with Dispatch Inputs

A scheduled workflow with two cron entries plus a manual workflow_dispatch trigger carrying a boolean and a choice input. For testing cron parsers, trigger extraction, and input-type handling in workflow tooling.

File
YML · Github Actions
Preview of GitHub Actions Workflow, Intentionally Invalid
yml
542 B
Actual file preview for GitHub Actions Workflow, Intentionally Invalid

GitHub Actions Workflow, Intentionally Invalid

An intentionally invalid GitHub Actions workflow: well-formed YAML that breaks the workflow schema in four documented ways — no jobs mapping, a scalar `on`, a mapping `runs-on`, and a step carrying both uses and run. For testing that a validator rejects, and reports why.

File
YML · Github Actions

Gitlab Ci

Preview of GitLab CI !reference Custom YAML Tag
yml
732 B
Actual file preview for GitLab CI !reference Custom YAML Tag

GitLab CI !reference Custom YAML Tag

GitLab's `!reference` custom YAML tag used three ways: inside a script list, as a whole after_script value, and as a whole rules value. A stock YAML 1.2 loader has no constructor for it and raises; GitLab's loader resolves each key path.

File
YML · Gitlab Ci
Preview of GitLab CI Anchors and Extends
yml
814 B
Actual file preview for GitLab CI Anchors and Extends

GitLab CI Anchors and Extends

The two GitLab inheritance mechanisms in one file: YAML anchors with merge keys, which the loader resolves before GitLab sees the document, and `extends`, which GitLab resolves afterwards with a deep merge. Hidden .job keys carry both.

File
YML · Gitlab Ci
Preview of GitLab CI Child and Downstream Triggers
yml
529 B
Actual file preview for GitLab CI Child and Downstream Triggers

GitLab CI Child and Downstream Triggers

Dynamic child pipelines and a cross-project downstream trigger: one job generates a pipeline file as an artifact and a trigger job includes it, while a second trigger job starts a downstream project's pipeline with strategy: depend.

File
YML · Gitlab Ci
Preview of GitLab CI Config, Intentionally Invalid
yml
551 B
Actual file preview for GitLab CI Config, Intentionally Invalid

GitLab CI Config, Intentionally Invalid

An intentionally invalid GitLab CI config: valid YAML with a misspelled `stagess` key, a job naming an undeclared stage, a job with no script, and an `only:` given a bare scalar. For testing that a linter rejects it and names each fault.

File
YML · Gitlab Ci
Preview of GitLab CI Deprecated only/except Syntax
yml
492 B
Actual file preview for GitLab CI Deprecated only/except Syntax

GitLab CI Deprecated only/except Syntax

A deprecated-syntax GitLab CI file using `only`/`except` in both the array and keyed forms, plus the long-retired `type:` keyword. For scoring a migrator that must rewrite all of it to `rules` and `stage`.

File
YML · Gitlab Ci
Preview of GitLab CI Include Resolution
yml
614 B
Actual file preview for GitLab CI Include Resolution

GitLab CI Include Resolution

Five include entries across the four include kinds — local path, local glob, another project at a pinned ref, a remote URL, and a bundled template. For testing include resolvers and dependency graphing without any file actually being fetched.

File
YML · Gitlab Ci
Preview of GitLab CI Parallel Matrix Expansion
yml
448 B
Actual file preview for GitLab CI Parallel Matrix Expansion

GitLab CI Parallel Matrix Expansion

Both GitLab parallelisation forms in one file: a plain `parallel: 4` shard split and a `parallel: matrix` block whose two entries expand to seven combinations. Eleven jobs in total, documented so an expander can be checked exactly.

File
YML · Gitlab Ci
Preview of GitLab CI Rules and Workflow Conditions
yml
643 B
Actual file preview for GitLab CI Rules and Workflow Conditions

GitLab CI Rules and Workflow Conditions

Rule-driven GitLab CI: a workflow block with four ordered conditions ending in `when: never`, plus job rules combining changes patterns, regex tag matching, a null-branch comparison, and a manual allow-failure fallback.

File
YML · Gitlab Ci
Preview of GitLab CI Stages, Needs, and Artifacts
yml
632 B
Actual file preview for GitLab CI Stages, Needs, and Artifacts

GitLab CI Stages, Needs, and Artifacts

A three-stage GitLab CI pipeline with a default block, global variables, artifact expiry, a needs-based DAG, and a coverage-extraction regex. The baseline the other GitLab fixtures vary from.

File
YML · Gitlab Ci

Hcl

Preview of HCL2 Document, Intentionally Invalid
hcl
462 B
Actual file preview for HCL2 Document, Intentionally Invalid

HCL2 Document, Intentionally Invalid

An intentionally invalid HCL2 document: an unclosed block, a colon assignment, a half-quoted block label, and a heredoc whose terminator is misspelled so it swallows the remainder of the file. Four documented faults, each a distinct recovery test.

File
HCL · Hcl
Preview of HCL2 Image Build Definition
hcl
1.2 KB
Actual file preview for HCL2 Image Build Definition

HCL2 Image Build Definition

A generic HCL2 image-build definition exercising the grammar rather than any vendor schema: labelled blocks, a list variable, locals, an indent-stripping heredoc with an interpolation inside it, and a for expression producing a list.

File
HCL · Hcl
Preview of HCL2 Orchestrator Job Definition
hcl
1.2 KB
Actual file preview for HCL2 Orchestrator Job Definition

HCL2 Orchestrator Job Definition

A deeply nested HCL2 job definition — job, group, task, service, check — with duration strings, a port mapping, and restart and update policies. Four levels of block nesting, which is where hand-rolled HCL readers usually break.

File
HCL · Hcl
Preview of HCL2 Policy Document
hcl
1.2 KB
Actual file preview for HCL2 Policy Document

HCL2 Policy Document

A generic HCL2 policy document with three severity-graded rules, condition blocks using all_of / none_of / one_of, and a dated exemption. Grants nothing to anything; it exists so policy tooling has a realistic document to read.

File
HCL · Hcl

Helm

Preview of Helm Chart.yaml with Dependencies
yaml
712 B
Actual file preview for Helm Chart.yaml with Dependencies

Helm Chart.yaml with Dependencies

A Helm v2 Chart.yaml with two conditional subchart dependencies, semver range constraints, a kubeVersion constraint, maintainers and annotations. Every repository and URL is example.invalid, so nothing resolves anywhere real.

File
YAML · Helm
Use case
Config testingConfig parsing+1· Conversion set
Preview of Helm Default values.yaml
yaml
837 B
Actual file preview for Helm Default values.yaml

Helm Default values.yaml

The defaults half of a Helm values pair: nested maps, an empty map and an empty list, a list of env entries, and quoted booleans that must survive as strings. Pairs with the production overrides fixture for deep-merge testing.

File
YAML · Helm
Use case
Config testingConfig parsing+1· Conversion set
Preview of Helm Production values Overrides
yaml
632 B
Actual file preview for Helm Production values Overrides

Helm Production values Overrides

The overrides half of a Helm values pair, built to exercise all three merge behaviours at once: maps merge key by key, the env list replaces the defaults wholesale, and an explicit null deletes the inherited podAnnotations map.

File
YAML · Helm
Use case
Config testingConfig parsing+1· Conversion set
Preview of Helm values.schema.json
json
3 KB
Actual file preview for Helm values.schema.json

Helm values.schema.json

The values.schema.json that validates the paired Helm values files: a 2020-12 JSON Schema with $defs, $ref, enums, quantity patterns, and additionalProperties: false on nested objects. Validates the defaults and rejects a values file with an unknown image key.

File
JSON · Helm
Use case
Schema validationJSON parsing+1· Conversion set

Jenkins

Preview of Jenkinsfile Matrix with Excludes
jenkinsfile
1.1 KB
Actual file preview for Jenkinsfile Matrix with Excludes

Jenkinsfile Matrix with Excludes

A declarative Jenkins matrix over two axes with a nested excludes block: six platform/arch combinations minus the windows arm64 pair leaves five cells, documented in the specs so an expansion can be scored exactly.

File
JENKINSFILE · Jenkins
Preview of Jenkinsfile with Shared Library
jenkinsfile
898 B
Actual file preview for Jenkinsfile with Shared Library

Jenkinsfile with Shared Library

A Jenkinsfile importing a pinned shared library and calling three custom steps that no static parser can resolve locally. For testing how tooling reports unknown steps and whether it records the library dependency and its version pin.

File
JENKINSFILE · Jenkins
Preview of Jenkinsfile, Declarative Pipeline
jenkinsfile
1.5 KB
Actual file preview for Jenkinsfile, Declarative Pipeline

Jenkinsfile, Declarative Pipeline

A declarative Jenkinsfile with a docker agent, options, environment and parameters blocks, a parallel test stage gated by a when expression, and post conditions. The dialect most Jenkins linters target.

File
JENKINSFILE · Jenkins
Preview of Jenkinsfile, Intentionally Invalid
jenkinsfile
616 B
Actual file preview for Jenkinsfile, Intentionally Invalid

Jenkinsfile, Intentionally Invalid

An intentionally invalid Jenkinsfile: an unclosed stage block so braces never balance, a steps block outside any stage, and a bare identifier where the agent directive needs any, none, or a block. For testing parser error recovery and reporting.

File
JENKINSFILE · Jenkins
Preview of Jenkinsfile, Scripted Pipeline
jenkinsfile
833 B
Actual file preview for Jenkinsfile, Scripted Pipeline

Jenkinsfile, Scripted Pipeline

The scripted Jenkinsfile dialect: an imperative node block with Groovy variables, a for loop that builds a parallel branch map at runtime, and try/catch error collection. Structurally unlike the declarative form, and a common parser gap.

File
JENKINSFILE · Jenkins

Kubernetes

Preview of Kubernetes CronJob Schedule and History Limits
yaml
733 B
Actual file preview for Kubernetes CronJob Schedule and History Limits

Kubernetes CronJob Schedule and History Limits

A CronJob with an explicit timeZone, Forbid concurrency, a starting deadline, and history limits on both success and failure. For testing cron parsing and the scheduling fields policy engines most often check.

File
YAML · Kubernetes
Preview of Kubernetes CustomResourceDefinition with OpenAPI Schema
yaml
1.5 KB
Actual file preview for Kubernetes CustomResourceDefinition with OpenAPI Schema

Kubernetes CustomResourceDefinition with OpenAPI Schema

A CustomResourceDefinition carrying a deep structural OpenAPI v3 schema with a regex pattern, an enum, a default, and array minItems. Useful both as a CRD fixture and as a nested JSON-Schema-in-YAML validation target.

File
YAML · Kubernetes
Preview of Kubernetes HorizontalPodAutoscaler (autoscaling/v2)
yaml
843 B
Actual file preview for Kubernetes HorizontalPodAutoscaler (autoscaling/v2)

Kubernetes HorizontalPodAutoscaler (autoscaling/v2)

An autoscaling/v2 HPA with both a Resource and a Pods metric, plus scaleUp and scaleDown behaviour policies. The v2 metric shape differs sharply from v1 and v2beta, which is what makes it a useful conversion fixture.

File
YAML · Kubernetes
Preview of Kubernetes Kustomization Overlay
yaml
718 B
Actual file preview for Kubernetes Kustomization Overlay

Kubernetes Kustomization Overlay

A Kustomize overlay with a name prefix and suffix, common labels, an image tag override, a configMapGenerator merge, and a JSON-6902 patch embedded as a block scalar — YAML inside YAML, which naive rewriters mangle.

File
YAML · Kubernetes
Preview of Kubernetes Manifest, Intentionally Invalid
yaml
691 B
Actual file preview for Kubernetes Manifest, Intentionally Invalid

Kubernetes Manifest, Intentionally Invalid

An intentionally invalid Kubernetes manifest: a removed apiVersion, a quoted string where replicas needs an integer, a selector that does not match the pod template, and containers as a mapping instead of a list. Four documented faults for a validator to report.

File
YAML · Kubernetes
Preview of Kubernetes Multi-Document Manifest Bundle
yaml
1.6 KB
Actual file preview for Kubernetes Multi-Document Manifest Bundle

Kubernetes Multi-Document Manifest Bundle

Three Kubernetes objects in one YAML stream, the shape kubectl apply consumes. A loader that calls the single-document API returns only the first object and silently drops the other two, which is exactly the failure this fixture is for.

File
YAML · Kubernetes
Preview of Kubernetes Namespace, ResourceQuota, and LimitRange
yaml
665 B
Actual file preview for Kubernetes Namespace, ResourceQuota, and LimitRange

Kubernetes Namespace, ResourceQuota, and LimitRange

A three-document governance bundle. Its real edge case is quantity handling: values like "8", 16Gi and 250m are Kubernetes quantity strings, and a parser that coerces the quoted ones to numbers or normalises the suffixed ones changes their meaning.

File
YAML · Kubernetes
Preview of Kubernetes NetworkPolicy with Ingress and Egress
yaml
798 B
Actual file preview for Kubernetes NetworkPolicy with Ingress and Egress

Kubernetes NetworkPolicy with Ingress and Egress

A NetworkPolicy with both policy types: an ingress rule combining namespace and pod selectors, and two egress rules, one of which uses an ipBlock with an except range. For testing policy engines that reason about allowed traffic.

File
YAML · Kubernetes
Preview of Kubernetes StatefulSet with Volume Claim Templates
yaml
1 KB
Actual file preview for Kubernetes StatefulSet with Volume Claim Templates

Kubernetes StatefulSet with Volume Claim Templates

A StatefulSet with volumeClaimTemplates, an ordered pod-management policy, a partitioned rolling update, and a non-root pod security context. For testing manifest linters and admission policies that reason about storage and identity.

File
YAML · Kubernetes

Terraform

Preview of Terraform Configuration, Intentionally Invalid
tf
554 B
Actual file preview for Terraform Configuration, Intentionally Invalid

Terraform Configuration, Intentionally Invalid

An intentionally invalid Terraform configuration: an unclosed resource block, a colon where HCL needs an equals sign, a reference to an undeclared resource, and a resource block missing its second label. Four documented faults for a parser to report.

File
TF · Terraform
Preview of Terraform Default terraform.tfvars
tfvars
405 B
Actual file preview for Terraform Default terraform.tfvars

Terraform Default terraform.tfvars

A terraform.tfvars assigning the staging defaults, including a nested map-of-objects value. Pairs with the production overrides file, which replaces that map wholesale rather than merging into it.

File
TFVARS · Terraform
Preview of Terraform Locals, for Expressions, and dynamic Blocks
tf
1.1 KB
Actual file preview for Terraform Locals, for Expressions, and dynamic Blocks

Terraform Locals, for Expressions, and dynamic Blocks

The expression-heavy half of the stack: for expressions producing both a map and a filtered list, conditional expressions selecting whole objects, and a dynamic block that generates two firewall rules from a local list.

File
TF · Terraform
Preview of Terraform Module Calls with Meta-Arguments
tf
629 B
Actual file preview for Terraform Module Calls with Meta-Arguments

Terraform Module Calls with Meta-Arguments

Three module calls covering the shapes a dependency grapher has to handle: a local path with explicit provider passing, a versioned registry source under for_each, and a count-gated conditional module.

File
TF · Terraform
Preview of Terraform Outputs and Splat Expressions
tf
734 B
Actual file preview for Terraform Outputs and Splat Expressions

Terraform Outputs and Splat Expressions

Five Terraform outputs exercising a splat expression over a counted resource, a for expression over a for_each module, and a sensitive output that must stay redacted when propagated from a sensitive input.

File
TF · Terraform
Preview of Terraform Plan JSON
json
4.3 KB
Actual file preview for Terraform Plan JSON

Terraform Plan JSON

A Terraform plan JSON document with create, update and delete changes, after_unknown markers, sensitivity annotations, and a configuration section. This is the artifact policy engines read before anything runs, which is why it sits with pipeline definitions rather than with run reports.

File
JSON · Terraform
Preview of Terraform Production tfvars Overrides
tfvars
506 B
Actual file preview for Terraform Production tfvars Overrides

Terraform Production tfvars Overrides

The production tfvars overrides. Its point is a semantic that surprises people: a complex-typed variable is replaced whole, not deep-merged, so the staging app-b subnet does not survive the override.

File
TFVARS · Terraform
Preview of Terraform Required Providers and Backend
tf
665 B
Actual file preview for Terraform Required Providers and Backend

Terraform Required Providers and Backend

The terraform settings block: a version constraint range, two pinned providers, a local backend, default tags, and a second aliased provider configuration. The fictional examplecloud provider means nothing resolves to a real service.

File
TF · Terraform
Preview of Terraform Resources with count and for_each
tf
1.1 KB
Actual file preview for Terraform Resources with count and for_each

Terraform Resources with count and for_each

The resource graph: a network, a for_each subnet set, a counted instance resource, a data source, and a bucket on an aliased provider. Both repetition meta-arguments appear, plus lifecycle and an explicit depends_on edge.

File
TF · Terraform
Preview of Terraform Variables with Validation Blocks
tf
1.4 KB
Actual file preview for Terraform Variables with Validation Blocks

Terraform Variables with Validation Blocks

Seven Terraform variables covering string, number, map and a map(object) with an optional attribute and a default, plus two validation blocks with error messages. The sensitive variable's default is explicitly a SAMPLE note, not a credential.

File
TF · Terraform

YAML Edge Cases

Preview of YAML Anchors and Aliases
yaml
749 B
Actual file preview for YAML Anchors and Aliases

YAML Anchors and Aliases

Anchors and aliases across mapping, sequence and scalar nodes, including an anchor nested inside another anchored node. The point most tooling misses: an alias is a reference to the same node, so a shallow-loading parser can share mutable state between jobs.

File
YAML · YAML Edge Cases
Preview of YAML Block Scalars and Chomping Indicators
yaml
1.1 KB
Actual file preview for YAML Block Scalars and Chomping Indicators

YAML Block Scalars and Chomping Indicators

Every block-scalar variation in one file: literal and folded styles, all three chomping indicators, an explicit indentation indicator, a folded block with a paragraph break, and an embedded shell-shaped script whose own indentation must survive.

File
YAML · YAML Edge Cases
Preview of YAML Bounded Anchor Reuse
yaml
648 B
Actual file preview for YAML Bounded Anchor Reuse

YAML Bounded Anchor Reuse

Nested anchor reuse kept deliberately small: two anchors, six references, thirty-one expanded nodes. It is here to test alias resolution and expansion accounting on a safe input, and is explicitly not a billion-laughs expansion bomb.

File
YAML · YAML Edge Cases
Preview of YAML Directives and Comments
yaml
658 B
Actual file preview for YAML Directives and Comments

YAML Directives and Comments

A two-document stream where each document declares its own %YAML directive and the second adds a %TAG handle used by a local tag. Comments appear in every position they are legal, and every one of them is lost by a non-round-tripping loader.

File
YAML · YAML Edge Cases
Preview of YAML Duplicate Keys
yaml
708 B
Actual file preview for YAML Duplicate Keys

YAML Duplicate Keys

Duplicate keys at three nesting levels, including a duplicated top-level sequence. The spec forbids them; most loaders keep the last silently, a few keep the first, and strict linters reject the document. The file publishes the last-wins answer.

File
YAML · YAML Edge Cases
Preview of YAML Explicit and Local Tags
yaml
778 B
Actual file preview for YAML Explicit and Local Tags

YAML Explicit and Local Tags

Explicit tags across the standard set — !!str, !!float, !!int, !!bool, !!null, !!binary, !!timestamp, !!omap, !!set — alongside two application-local ! tags. CI dialects use local tags in the wild, so a pipeline parser has to decide whether to reject, ignore, or resolve them.

File
YAML · YAML Edge Cases
Preview of YAML Flow and Block Styles
yaml
750 B
Actual file preview for YAML Flow and Block Styles

YAML Flow and Block Styles

Flow (JSON-like) and block collections expressing the same structures, nested inside one another in both directions, plus a flow mapping wrapped across lines and a line of strict JSON — which is valid YAML, and a useful check on a parser's JSON-subset claim.

File
YAML · YAML Edge Cases
Preview of YAML Implicit Typing Traps
yaml
1 KB
Actual file preview for YAML Implicit Typing Traps

YAML Implicit Typing Traps

Twenty-two unquoted values whose type depends entirely on the resolver. The worst is the leading zero: 0755 is 493 under YAML 1.1 and 755 under YAML 1.2, so both resolvers return a number and they return different ones. Also covers base-60 times, a version that loses its trailing zero, an integer past IEEE-754 precision, dates, and .inf / .nan.

File
YAML · YAML Edge Cases
Preview of YAML Indentation Variants
yaml
640 B
Actual file preview for YAML Indentation Variants

YAML Indentation Variants

The indentation styles that all parse identically and that formatters fight over: sequences flush with their key versus indented under it, two-space against four-space maps, and deliberately irregular but legal nesting. For testing formatters and idempotency.

File
YAML · YAML Edge Cases
Preview of YAML Merge Keys and Precedence
yaml
915 B
Actual file preview for YAML Merge Keys and Precedence

YAML Merge Keys and Precedence

Merge keys with their full precedence rules: local keys beat merged ones, and in a merge sequence the earlier alias wins. The file publishes the expected merged values, and a strict YAML 1.2 loader produces none of them because 1.2 dropped << from the core schema.

File
YAML · YAML Edge Cases
Preview of YAML Multi-Document Stream
yaml
587 B
Actual file preview for YAML Multi-Document Stream

YAML Multi-Document Stream

A five-document stream with explicit end markers, a comment-only document that loads as null, and a bare sequence as a whole document. The single-document API returns only the first, which is how multi-object manifests silently lose objects.

File
YAML · YAML Edge Cases
Preview of YAML Non-ASCII Keys and Values
yaml
719 B
Actual file preview for YAML Non-ASCII Keys and Values

YAML Non-ASCII Keys and Values

Non-ASCII keys and values across Latin, Cyrillic, Arabic, CJK and emoji, plus a key containing a zero-width space and a value distinguishing a combining acute from the precomposed character. Written as UTF-8 with no BOM.

File
YAML · YAML Edge Cases · UTF-8, no BOM
Preview of YAML Norway Problem (Boolean Coercion)
yaml
916 B
Actual file preview for YAML Norway Problem (Boolean Coercion)

YAML Norway Problem (Boolean Coercion)

The Norway problem in full: eleven bare words that a YAML 1.1 resolver turns into booleans, a matching quoted control group that survives, and a country-code list where position two silently becomes false. The definitive fixture for resolver-version behaviour.

File
YAML · YAML Edge Cases
Preview of YAML Null and Empty Values
yaml
564 B
Actual file preview for YAML Null and Empty Values

YAML Null and Empty Values

Five spellings of null against the things routinely confused with it: empty strings, empty collections, and a key written with no value at all. Includes a sequence containing a hole, an empty string and two nulls in a row.

File
YAML · YAML Edge Cases
Preview of YAML Quoting Styles and Escapes
yaml
1.1 KB
Actual file preview for YAML Quoting Styles and Escapes

YAML Quoting Styles and Escapes

All three scalar quoting styles side by side: plain scalars and what they cannot contain, single quotes where backslashes stay literal and '' means one quote, and double quotes as the only style that processes \t, \n and \uXXXX escapes.

File
YAML · YAML Edge Cases
Preview of YAML Unclosed Flow Collection, Intentionally Invalid
yaml
543 B
Actual file preview for YAML Unclosed Flow Collection, Intentionally Invalid

YAML Unclosed Flow Collection, Intentionally Invalid

An intentionally invalid YAML file whose flow sequence is opened and never closed, so the parser consumes the rest of the document and fails at end of stream. A good error message names the opening bracket, not the last line, which is what this fixture measures.

File
YAML · YAML Edge Cases
Preview of YAML with a UTF-8 Byte Order Mark
yaml
370 B
Actual file preview for YAML with a UTF-8 Byte Order Mark

YAML with a UTF-8 Byte Order Mark

A YAML file beginning with a UTF-8 byte order mark, which the spec permits at the start of a stream. A parser that does not strip it reads the first key as \ufeffname, so the lookup misses and the document appears to be missing its name field.

File
YAML · YAML Edge Cases · UTF-8 with BOM
Preview of YAML with CRLF Line Endings
yaml
651 B
Actual file preview for YAML with CRLF Line Endings

YAML with CRLF Line Endings

A YAML file written with CRLF line endings, which the spec accepts as a line break. A parser that splits on \n alone leaves a stray carriage return at the end of every plain scalar, so "build" becomes "build\r" and equality checks quietly fail.

File
YAML · YAML Edge Cases · UTF-8, no BOM
Preview of YAML with TAB Indentation, Intentionally Invalid
yaml
447 B
Actual file preview for YAML with TAB Indentation, Intentionally Invalid

YAML with TAB Indentation, Intentionally Invalid

An intentionally invalid YAML file indented with real TAB characters, which the spec forbids for indentation. The final key shows the legal case — a tab inside a quoted scalar — so a parser can be checked for rejecting one without rejecting the other.

File
YAML · YAML Edge Cases

Frequently asked questions

Which CI systems are represented?

GitHub Actions, GitLab CI, CircleCI, Azure Pipelines, Tekton and Argo manifests, Jenkinsfiles, Makefiles, and Gradle builds — plus Terraform, HCL, and Kubernetes manifests for infrastructure-as-code.

Will anything happen if I run these?

They are inert configuration fixtures for linters, migrators, and policy engines. Steps reference fictional images and scripts, and nothing here is an executable.

Are there invalid or deprecated-syntax variants?

Yes — deprecated-syntax and intentionally invalid workflow fixtures are labelled in both title and description so schema validators can be tested on the failing case.