Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/italia/publiccode-parser-gitlab-ci
GitLab CI validation of publiccode.yml files
https://github.com/italia/publiccode-parser-gitlab-ci
Last synced: about 4 hours ago
JSON representation
GitLab CI validation of publiccode.yml files
- Host: GitHub
- URL: https://github.com/italia/publiccode-parser-gitlab-ci
- Owner: italia
- License: mit
- Created: 2021-02-15T16:03:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T13:29:50.000Z (5 months ago)
- Last Synced: 2024-08-03T02:05:13.906Z (3 months ago)
- Size: 6.84 KB
- Stars: 3
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- .github - publiccode-parser-gitlab-ci
README
# GitLab CI validation of publiccode.yml files
[![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/italia/publiccode-parser-gitlab-ci/blob/master/LICENSE)
## Usage
This snippet can be included in GitLab CI to validate
[`publiccode.yml`](https://github.com/italia/publiccode.yml)
files using [publiccode-parser-go](https://github.com/italia/publiccode-parser-go).You can use it in your workflow to check if `publiccode.yml` in your repo is valid.
### Examples
#### Run automatically in the "`test`" stage (simplest configuration)
```yml
# .gitlab-ci.ymlinclude:
- https://raw.githubusercontent.com/italia/publiccode-parser-gitlab-ci/main/publiccode-validation.yml
```#### Run in a custom stage
```yml
# .gitlab-ci.ymlinclude:
- https://raw.githubusercontent.com/italia/publiccode-parser-gitlab-ci/main/publiccode-validation.ymlstages:
- custom_stagepubliccode-parser:
stage: custom_stage
```