Mohr, Daniel P. (2026) yaml2script (version 0.2.4). [sonstige Veröffentlichung]
|
PDF
202kB |
Offizielle URL: https://gitlab.com/projects/67499090
Kurzfassung
yaml2script is a Python tool that extracts shell scripts from a GitLab CI/CD configuration file (.gitlab-ci.yml) and enables their testing, analysis, and validation with any command-line tool of your choice, such as shellcheck, pycodestyle, or pylint. It correctly handles YAML anchors, GitLab CI's 'extends' functionality, and complex script structures, enabling seamless extraction of scripts from complex configuration files. Support for the custom '!reference' YAML tag is limited to references within the same file. The tool is particularly useful for automating code quality checks, security audits, and workflow validation in DevOps environments. It integrates with pre-commit hooks and CI/CD pipelines, and its 'all' sub-command supports checking multiple configuration files in a single invocation.
| elib-URL des Eintrags: | https://elib.dlr.de/228547/ | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Dokumentart: | sonstige Veröffentlichung | ||||||||
| Titel: | yaml2script (version 0.2.4) | ||||||||
| Autoren: |
| ||||||||
| Datum: | 6 Oktober 2026 | ||||||||
| Referierte Publikation: | Nein | ||||||||
| Open Access: | Ja | ||||||||
| DOI: | 10.5281/zenodo.23196493 | ||||||||
| Status: | veröffentlicht | ||||||||
| Stichwörter: | yaml, script, python, linter, pre-commit, pre-commit-hook, developer-tools, GitLab, CI/CD, shellcheck, static analysis, linter | ||||||||
| HGF - Forschungsbereich: | keine Zuordnung | ||||||||
| HGF - Programm: | keine Zuordnung | ||||||||
| HGF - Programmthema: | keine Zuordnung | ||||||||
| DLR - Schwerpunkt: | Digitalisierung | ||||||||
| DLR - Forschungsgebiet: | D - keine Zuordnung | ||||||||
| DLR - Teilgebiet (Projekt, Vorhaben): | D - keine Zuordnung | ||||||||
| Standort: | Oberpfaffenhofen | ||||||||
| Institute & Einrichtungen: | Institut für Physik der Atmosphäre > Zentrale Aufgaben PA | ||||||||
| Hinterlegt von: | Mohr, Dr. Daniel P. | ||||||||
| Hinterlegt am: | 29 Okt 2026 07:42 | ||||||||
| Letzte Änderung: | 29 Okt 2026 07:42 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags