Mohr, Daniel P. (2025) yaml2script (version 0.2.0). [Other]
Full text not available from this repository.
Official URL: https://gitlab.com/projects/67499090
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.
| Item URL in elib: | https://elib.dlr.de/213443/ | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Document Type: | Other | ||||||||
| Title: | yaml2script (version 0.2.0) | ||||||||
| Authors: |
| ||||||||
| Date: | 27 March 2025 | ||||||||
| Refereed publication: | No | ||||||||
| Open Access: | No | ||||||||
| DOI: | 10.5281/zenodo.15097283 | ||||||||
| Status: | Published | ||||||||
| Keywords: | yaml, script, python, linter, pre-commit, pre-commit-hook, developer-tools | ||||||||
| HGF - Research field: | other | ||||||||
| HGF - Program: | other | ||||||||
| HGF - Program Themes: | other | ||||||||
| DLR - Research area: | Digitalisation | ||||||||
| DLR - Program: | D - no assignment | ||||||||
| DLR - Research theme (Project): | D - no assignment | ||||||||
| Location: | Oberpfaffenhofen | ||||||||
| Institutes and Institutions: | Institute of Atmospheric Physics > Zentrale Aufgaben PA | ||||||||
| Deposited By: | Mohr, Dr. Daniel P. | ||||||||
| Deposited On: | 01 Apr 2025 08:15 | ||||||||
| Last Modified: | 01 Apr 2025 08:15 |
Repository Staff Only: item control page