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 4377a45a authored by Dorian Turba's avatar Dorian Turba
Browse files

use reference instead of extends

parent 2524dc21
No related branches found
No related tags found
No related merge requests found
Pipeline #22057 failed
...@@ -5,13 +5,14 @@ include: ...@@ -5,13 +5,14 @@ include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@latest.yaml' - remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@latest.yaml'
flake8: flake8:
extends: python_install image: python:${IMAGE_TAG}
stage: code_quality stage: code_quality
variables: variables:
IMAGE_TAG: !reference [.python_install, variables, IMAGE_TAG]
PROJECT_PATH: "." PROJECT_PATH: "."
PYTHON_SETUP: "pip install ${PROJECT_PATH}[CODE_QUALITY]" PYTHON_SETUP: "pip install ${PROJECT_PATH}[CODE_QUALITY]"
script: script:
python_install - !reference [.python_install, script]
- flake8 ${PROJECT_PATH} -v - flake8 ${PROJECT_PATH} -v
only: only:
changes: changes:
......
.python_install: .python_install:
image: python:${IMAGE_TAG}
variables: variables:
IMAGE_TAG: "latest" IMAGE_TAG: "latest"
PROJECT_PATH: "." PROJECT_PATH: "."
......
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