Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Check-Json template

Objective

This template is for check json validity, with jq lib.

How to use it

Add the following in your .gitlab-ci.yml file.

include:
    -   component: $CI_SERVER_FQDN/architecture-innovation-security/cicd/templates/check_json/check_json@0.1.0

Inputs

You can customize the job by overriding specific inputs.

include:
    -   component: $CI_SERVER_FQDN/architecture-innovation-security/cicd/templates/check_json/check_json@0.1.0
        inputs:
            project_path: "path/project/to/check"

Components inputs:

Name Description Default
project_path The path to the project root directory. "."
stage The stage of the job. test