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
Commit ff5d7695 authored by Karine Bauch's avatar Karine Bauch
Browse files

local template, with variables

parent 8a7af906
No related branches found
No related tags found
No related merge requests found
include:
- remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.2/templates/release-by-changelog.yml'
- remote: 'https://lab.frogg.it/beebryte/cicd/templates/check_json/-/raw/trunk/templates/check_json.yml'
- project: 'beebryte/cicd/templates/check_json'
ref: '$CI_COMMIT_BRANCH$CI_COMMIT_TAG'
file: 'templates/check_json.yml'
check_json:
variables:
PROJECT_PATH: 'tests/valid_files'
invalid_check_json:
"invalid check_json":
extends: check_json
variables:
PROJECT_PATH: 'tests/invalid_files'
......
---
check_json:
variables:
PROJECT_PATH: .
PROJECT_PATH: '.'
image: ubuntu:latest
stage: test
before_script:
......@@ -12,3 +11,4 @@ check_json:
find $PROJECT_PATH -type f -name '*.json' | while read -r file; do
jq '.' "$file" > /dev/null
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment