Skip to content
Snippets Groups Projects

TMSS-3170: Fix python scan

1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
+ 7
7
@@ -8,8 +8,6 @@ default:
stages:
- prepare
- lint
# check if this needs to be a separate step
# - build_extensions
- test
- package
- images
@@ -19,6 +17,7 @@ stages:
# Caching of dependencies to speed up builds
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
SECURE_LOG_LEVEL: debug
include:
- template: Security/SAST.gitlab-ci.yml
@@ -50,17 +49,18 @@ run_pylint:
- tox -e pylint
allow_failure: true
# build_extensions:
# stage: build_extensions
# script:
# - echo "build fortran/c/cpp extension source code"
sast:
variables:
SAST_EXCLUDED_ANALYZERS: brakeman, flawfinder, kubesec, nodejs-scan, phpcs-security-audit,
pmd-apex, security-code-scan, sobelow, spotbugs
stage: test
gemnasium-python-dependency_scanning:
variables:
PIP_EXTRA_INDEX_URL: https://git:astron:nl/api/v4/projects/744/packages/pypi/simple
before_script:
- apt-get -qqy update && apt-get install -qqy libpq-dev
# Basic setup for all Python versions for which we don't have a base image
.run_unit_test_version_base:
services:
Loading