YAML

Little Eye detects YAML when you copy them. Human-readable data serialization — Kubernetes, docker-compose, GitHub Actions, and more.

Examples

Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx
  namespace: web
spec:
  replicas: 3
Docker Compose
version: "3.8"
services:
  web:
    image: nginx
  db:
    image: postgres
GitHub Actions
name: CI
on:
  push:
    branches: [main]
  pull_request:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: make test
GitLab CI
stages:
  - build
  - test
build_job:
  stage: build
  script:
    - echo "building"
test_job:
  stage: test
  script:
    - echo "testing"
CircleCI
version: 2.1
jobs:
  build:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
workflows:
  main:
    jobs:
      - build
Bitbucket Pipelines
pipelines:
  default:
    - step:
        name: Build
        script:
          - echo "build"
Helm chart (`Chart.yaml`)
apiVersion: v2
name: my-chart
version: 0.1.0
type: application
appVersion: "1.0"
Ansible playbook
- hosts: webservers
  tasks:
    - name: install nginx
      apt:
        name: nginx
        state: present
OpenAPI
openapi: 3.0.0
info:
  title: My API
  version: 1.0.0
paths:
  /users:
    get:
      summary: list users
Dependabot
version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
Netlify
build:
  command: "npm run build"
  publish: "dist"
plugins:
  - package: "@netlify/plugin-lighthouse"
Terraform (YAML form)
resources:
  aws_s3_bucket:
    my_bucket:
      bucket: example
  aws_iam_role:
    my_role:
      name: example
CloudFormation
AWSTemplateFormatVersion: '2010-09-09'
Resources:
  MyBucket:
    Type: AWS::S3::Bucket
    Properties:
      BucketName: !Ref BucketNameParam

Related detectors

← All Data & Formats detectors