From 1bbcd16dc193ffa141a0090f4dbdb33aa110f40f Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 25 Dec 2024 11:24:11 +0100
Subject: [PATCH] TMSS-3170: Fix python scan

---
 .gitlab-ci.yml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59511ee..a8f80b2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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:
-- 
GitLab