Pin specific python3.10 image for dependency_scanning job in gitlab-ci.yml 69/15269/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 1 Jul 2025 15:13:25 +0000 (17:13 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 1 Jul 2025 15:13:25 +0000 (17:13 +0200)
Change-Id: I52198e781c97e65b4f37d828ea6bbb430ea57bf6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
.gitlab-ci.yml

index eb9750e..9726961 100644 (file)
 # License for the specific language governing permissions and limitations
 # under the License.
 
+# Global image for the CI/CD pipeline.
+# This image is used for all jobs unless overridden by a specific job.
+# image: python:3.10
+
 include:
   - project: 'devops/cicd'
     file: '/templates/osm-base.yml'
+
+gemnasium-python-dependency_scanning:
+  image: python:3.10
+  # variables:
+  #   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
+  # before_script:
+  #   - python --version
+  #   - pip install -r requirements.txt