---
include:
  - local: pipelines/python.yml
  - local: pipelines/container/polyrepo.yml
  - local: pipelines/workflow.yml

variables:
  IMAGE_NAME: ${CI_REGISTRY_IMAGE}/python-pep518
  IMAGE_CONTEXT: ${CI_PROJECT_DIR}/tests/mockup_projects/python/pep518
  IMAGE_CONTAINERFILE: ${CI_PROJECT_DIR}/tests/mockup_projects/python/pep518/Dockerfile

before_script:
  - cd tests/mockup_projects/python/pep518

grype:
  variables:
    GRYPE_FAIL_ON_THRESHOLD: ""
    GRYPE_IMAGE: ${IMAGE_NAME}:${IMAGE_DEV_TAG}
  allow_failure: false
