Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indigo-dc/jenkins-pipeline-library
Jenkins pipeline library with common functionalities for CI/CD environments, mainly targeted for the implementation of the SQA baseline requirements from https://indigo-dc.github.io/sqa-baseline/
https://github.com/indigo-dc/jenkins-pipeline-library
continuous-delivery continuous-deployment continuous-integration continuous-testing deep-hybrid-datacloud extreme-datacloud indigo-datacloud jenkins-ci jenkins-pipeline jenkinsfile pipeline-as-code
Last synced: about 1 month ago
JSON representation
Jenkins pipeline library with common functionalities for CI/CD environments, mainly targeted for the implementation of the SQA baseline requirements from https://indigo-dc.github.io/sqa-baseline/
- Host: GitHub
- URL: https://github.com/indigo-dc/jenkins-pipeline-library
- Owner: indigo-dc
- License: apache-2.0
- Created: 2018-08-10T11:43:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T22:22:18.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T18:01:31.109Z (about 2 months ago)
- Topics: continuous-delivery, continuous-deployment, continuous-integration, continuous-testing, deep-hybrid-datacloud, extreme-datacloud, indigo-datacloud, jenkins-ci, jenkins-pipeline, jenkinsfile, pipeline-as-code
- Language: Groovy
- Homepage:
- Size: 12 MB
- Stars: 11
- Watchers: 8
- Forks: 6
- Open Issues: 61
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# A library to implement Software Quality Assurance (SQA) checks in Jenkins environments
[![SQAaaS badge shields.io](https://img.shields.io/badge/sqaaas%20software-silver-lightgrey)](https://api.eu.badgr.io/public/assertions/8swrxF-8TpuYmR6EvXnW2w "SQAaaS silver badge achieved")
#### Achievements
[![SQAaaS badge](https://github.com/EOSC-synergy/SQAaaS/raw/master/badges/badges_150x116/badge_software_silver.png)](https://api.eu.badgr.io/public/assertions/8swrxF-8TpuYmR6EvXnW2w "SQAaaS silver badge achieved")## Institutions owning the result
## Motivation
The v2 series of the present library provide a straightforward way for software projects
to be compliant with common SQA practices.In particular, the library provides the functionality to cover as much criteria as
possible from the Software and Service quality baselines below:* [A set of Common Software Quality Assurance Baseline Criteria for Research Projects](https://github.com/indigo-dc/sqa-baseline/), [online](https://indigo-dc.github.io/sqa-baseline/) available.
* [A set of Common Service Quality Assurance Baseline Criteria for Research Projects](https://github.com/eosc-synergy/service-qa-baseline/), [online](https://eosc-synergy.github.io/service-qa-baseline/) available.## Short intro
The SQA requirements are defined through a YAML-based configuration file that hides the
complexity of handling directly the Jenkins [Pipeline as Code's](https://www.jenkins.io/solutions/pipeline/)
features. As a result, the SQA work, as defined in the YAML file `config.yml`, is
organized according to the criteria code names from the aforementioned baselines.As an example, ``qc_style`` setting in the YAML is a direct reference to the
``QC.Sty`` criteria in the previous software quality baseline, which establishes
the good practices that the source code shall follow in terms of style. The following
example runs [flake8](https://pypi.org/project/flake8/) to check style consistency in
a Python project:```
sqa_criteria:
qc_style:
container: python-test-tools
commands:
- flake8
```As it can be seen in the example, the library provides the ``container`` option as a
way to specify the agent where the check will run. In the current version, the
library supports [Docker Compose](https://docs.docker.com/compose/) as the container
orchestration tool to fire up the required set of services. In this example, the
``python-test-tools`` is the identifier of a Docker Compose service._You can check a full working example [here](https://github.com/EOSC-synergy/DEEPaaS)_
__In order to get started with the library, please check our
[documentation](https://indigo-dc.github.io/jenkins-pipeline-library/stable/2.0.0/).__## Contributing
Jenkins CI/CD pipelines are often similar in the type of actions that are
triggered. It then makes sense to have a common library for tackling them,
covering different programming languages and interfaces to software lifecycle
management tools.Contributions are really welcome. Please check our
[contribution](CONTRIBUTING.md) guidelines.## License
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
indigo-dc/jenkins-shared-library is licensed under [Apache 2.0](LICENSE)
## Acknowledgments
The development of the v2 series is taking place under the [EOSC-Synergy's](https://eosc-synergy.eu)
project that has received funding from the European Union’s Horizon 2020 research
and innovation programme under grant agreement number 857647.