mega-linter-runner
Version:
Local runner for MegaLinter
28 lines (21 loc) • 790 B
YAML
# MegaLinter GitLab CI job configuration file
# More info at https://megalinter.io
mega-linter:
stage: test
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/latest/flavors/
image: <%= DOCKER_IMAGE_NAME %>:<%= DOCKER_IMAGE_VERSION %>
# if script: ["true"] does not work, you may try this instead:
# script: [ "/bin/bash /entrypoint.sh" ]
script: ["true"]
variables:
# All available variables are described in documentation
# https://megalinter.io/latest/config-file/
DEFAULT_WORKSPACE: $CI_PROJECT_DIR
# ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml
# AT THE ROOT OF YOUR REPOSITORY
artifacts:
when: always
paths:
- report
expire_in: 1 week