Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringclasses
6 values
platform
stringclasses
5 values
format
stringclasses
2 values
target_file
stringclasses
6 values
category
stringclasses
6 values
description
stringclasses
6 values
use_when
stringclasses
6 values
security_highlights
listlengths
4
4
customize
listlengths
2
3
documents
listlengths
1
4
yaml
stringclasses
5 values
json
stringclasses
1 value
gha-node-ci-01
GitHub Actions
yaml
.github/workflows/ci.yml
Continuous integration
Node.js test workflow across the two supported LTS lines (22 and 24) with npm caching, concurrency cancellation and a read-only token.
You need CI for a Node.js repository on GitHub.
[ "Workflow token limited to contents: read.", "Third-party actions pinned to full commit SHAs (version noted in a comment).", "persist-credentials: false keeps the token out of the checked-out .git folder.", "timeout-minutes stops hung jobs from using runner minutes." ]
[ "Branch names under on:", "Node versions in the matrix", "npm scripts (npm test)" ]
[ { "name": "CI", "on": { "push": { "branches": [ "main" ] }, "pull_request": { "branches": [ "main" ] } }, "permissions": { "contents": "read" }, "concurrency": { "group": "${{ github.workflow }}-${{ githu...
name: CI 'on': push: branches: - main pull_request: branches: - main permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: test: runs-on: ubuntu-latest timeout-minutes: 15 strategy: fail-fast: false mat...
null
gha-docker-ghcr-02
GitHub Actions
yaml
.github/workflows/publish-image.yml
Continuous delivery
Builds a container image with Buildx and pushes it to GitHub Container Registry with branch, semver and SHA tags, build cache, SBOM and provenance attestations.
You publish a Docker image from a GitHub repository.
[ "Workflow default is contents: read; only the publish job gets packages: write.", "Authenticates with the built-in GITHUB_TOKEN, no long-lived registry password.", "Generates an SBOM and max-mode provenance attestation with the image.", "Actions pinned to full commit SHAs." ]
[ "Branch and tag patterns under on:", "Build context and Dockerfile path" ]
[ { "name": "Publish container image", "on": { "push": { "branches": [ "main" ], "tags": [ "v*.*.*" ] } }, "permissions": { "contents": "read" }, "concurrency": { "group": "${{ github.workflow }}-${{ github.ref }}", ...
name: Publish container image 'on': push: branches: - main tags: - v*.*.* permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false jobs: publish: runs-on: ubuntu-latest timeout-minutes: 30 permissions: contents: read ...
null
gitlab-ci-stages-03
GitLab CI/CD
yaml
.gitlab-ci.yml
Continuous integration & delivery
Lint, test, build and deploy pipeline with GitLab SAST, npm caching keyed on the lockfile, JUnit reports, Docker-in-Docker image builds and a manual production deploy.
You build and ship a Node.js service on GitLab.
[ "GitLab SAST template included (runs in the test stage).", "Registry login uses --password-stdin, so the password never appears in the process list.", "Production deploy is manual, limited to the default branch and serialized with resource_group.", "Pipelines run only for merge requests and the default branch...
[ "deploy_production script", "Environment URL", "Docker images and Node version" ]
[ { "include": [ { "template": "Jobs/SAST.gitlab-ci.yml" } ], "stages": [ "lint", "test", "build", "deploy" ], "workflow": { "rules": [ { "if": "$CI_PIPELINE_SOURCE == 'merge_request_event'" }, { "if": "$...
include: - template: Jobs/SAST.gitlab-ci.yml stages: - lint - test - build - deploy workflow: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH default: image: node:24-alpine interruptible: true cache: key: files: - package-lock.json ...
null
compose-3tier-04
Docker Compose
yaml
compose.yaml
Container orchestration
Web API, PostgreSQL 18 and Redis 8 with health-gated startup, Docker secrets, an internal-only backend network and persistent volumes.
You run a small production or staging stack on a single host.
[ "API runs as a non-root user with a read-only root filesystem, all capabilities dropped and no-new-privileges.", "Database password delivered as a Docker secret file, never as a plain environment variable.", "Database and cache sit on an internal network with no outside access.", "API port bound to 127.0.0.1 ...
[ "Image name and tag", "Create ./secrets/db_password.txt before the first start", "Published port" ]
[ { "name": "app", "services": { "web": { "image": "registry.example.com/app:1.2.0", "restart": "unless-stopped", "user": "10001:10001", "read_only": true, "tmpfs": [ "/tmp" ], "security_opt": [ "no-new-privileges:true" ...
name: app services: web: image: registry.example.com/app:1.2.0 restart: unless-stopped user: 10001:10001 read_only: true tmpfs: - /tmp security_opt: - no-new-privileges:true cap_drop: - ALL ports: - 127.0.0.1:8080:8080 environment: NODE_ENV: production D...
null
k8s-zero-downtime-05
Kubernetes
yaml
api.yaml
Cloud orchestration
Deployment, Service, PodDisruptionBudget and HorizontalPodAutoscaler for a stateless HTTP API, meeting the Pod Security Standards restricted profile.
You deploy a stateless web service to Kubernetes 1.33 or newer.
[ "Meets the restricted Pod Security Standard: non-root, no privilege escalation, all capabilities dropped, RuntimeDefault seccomp.", "Read-only root filesystem with a size-limited emptyDir for /tmp.", "Service account token not mounted (the API does not call the Kubernetes API).", "Zero downtime: maxUnavailabl...
[ "Image", "Probe paths (/healthz, /readyz)", "Replica counts and CPU target" ]
[ { "apiVersion": "apps/v1", "kind": "Deployment", "metadata": { "name": "api", "labels": { "app.kubernetes.io/name": "api", "app.kubernetes.io/part-of": "example-app" } }, "spec": { "replicas": 3, "revisionHistoryLimit": 5, "strategy": { ...
apiVersion: apps/v1 kind: Deployment metadata: name: api labels: app.kubernetes.io/name: api app.kubernetes.io/part-of: example-app spec: replicas: 3 revisionHistoryLimit: 5 strategy: type: RollingUpdate rollingUpdate: maxSurge: 25% maxUnavailable: 0 selector: matchLabels: ...
null
ecs-fargate-task-06
AWS ECS Fargate
json
task-definition.json
Serverless containers
Fargate task definition with separate execution and task roles, a single key pulled from AWS Secrets Manager, CloudWatch Logs and a read-only root filesystem.
You run a container service on ECS Fargate.
[ "Execution role (image pull, secrets, logs) separated from the task role used by your code.", "Pulls one JSON key from Secrets Manager instead of the whole secret.", "Runs as a non-root user with a read-only root filesystem and a writable /tmp volume.", "Image pinned to a version tag instead of latest." ]
[ "Account ID, region and role names", "Secret ARN and key", "CPU and memory" ]
[ { "family": "example-api", "networkMode": "awsvpc", "requiresCompatibilities": [ "FARGATE" ], "runtimePlatform": { "operatingSystemFamily": "LINUX", "cpuArchitecture": "X86_64" }, "cpu": "512", "memory": "1024", "executionRoleArn": "arn:aws:iam::123456789012:rol...
null
{ "family": "example-api", "networkMode": "awsvpc", "requiresCompatibilities": [ "FARGATE" ], "runtimePlatform": { "operatingSystemFamily": "LINUX", "cpuArchitecture": "X86_64" }, "cpu": "512", "memory": "1024", "executionRoleArn": "arn:aws:iam::123456789012:role/example-api-execution-role...

CI/CD Pipeline and Deployment Templates

6 secure-by-default templates for GitHub Actions (CI and container publishing), GitLab CI/CD, Docker Compose, Kubernetes and AWS ECS Fargate, each stored as JSON and as paste-ready YAML or JSON.

Starting templates for pipelines and deployments, and test fixtures for tools that parse or lint CI/CD files.

Full guide and live preview: www.aptdot.com/datasets/cicd-pipeline-manifests/

Version 1.0.0 (2026-10-21)
License CC0 1.0 (public domain)
JSON Schema cicd-pipeline-manifests.schema.json (Draft 2020-12)
Source repository github.com/mkchd25/aptdot-datasets
Publisher Aptdot

Files

File What it is
cicd-pipeline-manifests.json The complete dataset, identical to the file on aptdot.com and GitHub
cicd-pipeline-manifests.schema.json Its JSON Schema (Draft 2020-12)
records-*.jsonl The main lists, one record per line, for the viewer and the datasets library

Tables

Table Rows File Fields
manifests 6 records-manifests.jsonl id, platform, format, target_file, category, description, use_when, security_highlights, ...

Load it

from datasets import load_dataset

rows = load_dataset("aptdot/cicd-pipeline-manifests", "manifests", split="train")

Or use the complete JSON file as it is:

import json
from huggingface_hub import hf_hub_download

path = hf_hub_download("aptdot/cicd-pipeline-manifests", "cicd-pipeline-manifests.json", repo_type="dataset")
data = json.load(open(path, encoding="utf-8"))

Check your own data against the schema

Paste your records and cicd-pipeline-manifests.schema.json into the free JSON Schema Validator. It runs in your browser, uploads nothing and explains every problem in plain English with its line number.

Notes

  • The records-*.jsonl files are generated from cicd-pipeline-manifests.json. If they ever disagree, cicd-pipeline-manifests.json is the reference.
  • Versions match aptdot.com and GitHub. Changes are listed in the repository's CHANGELOG.

License

CC0 1.0 Universal: public domain. You can copy, change and use it for any purpose, including commercial use, without asking.

Downloads last month
-