Pin specific python3.10 image for dependency_scanning job in gitlab-ci.yml
Change-Id: I52198e781c97e65b4f37d828ea6bbb430ea57bf6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb9750e..9726961 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,18 @@
# 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