DeAI Research
Source · elib (German Aerospace Center)

yaml2script (version 0.1.5)

2025Daniel Mohr

cid 48f48a03f4342292ad6009da1e8d8544594488c21e1ec43f679a52bbf5993d66 · original · via openalex

Title: yaml2script (version 0.1.5)
Authors: Daniel Mohr
Venue: elib (German Aerospace Center)
Year: 2025
Canonical: openalex:https://openalex.org/W7209828584
URL: https://openalex.org/W7209828584
Collector: openalex
OA: false

ABSTRACT
yaml2script is a Python script that extracts shell scripts from a GitLab CI/CD configuration file and allows users to test/analyze them with tools like shellcheck. It handles YAML anchors and GitLab CI's 'extends' functionality, enabling seamless extraction of scripts from complex configuration files. This tool is useful for automated testing, security audits, code quality improvement, and integration with CI/CD pipelines. It can be installed via pipx and supports various optional dependencies for checking code quality. The tool has several sub-commands, including `extract`, `check`, and `all`, and can be integrated with pre-commit for automated testing and analysis.