From 15a52ef729814f55df3dae0a383f00478b7604c9 Mon Sep 17 00:00:00 2001
From: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date: Thu, 8 Apr 2021 10:59:49 +0200
Subject: [PATCH] Update .gitlab-ci.yaml to install IM and osmclient
 requirements

With the standardization of pip in all modules, the dependencies
of IM and osmclient are stored in requirements.txt and must be
installed from that file.

Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f04368e..4fb6b276 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,8 +10,10 @@ publish-repository:
     - git submodule update
     - python3 -m pip install wheel pyang pyangbind
     - git clone https://osm.etsi.org/gerrit/osm/IM.git
+    - pip3 install -r IM/requirements.txt
     - pip3 install IM/
     - git clone https://osm.etsi.org/gerrit/osm/osmclient.git
+    - pip3 install -r osmclient/requirements.txt
     - pip3 install osmclient/
     - rm -rf osmclient/ IM/
     - mv magma/* .
@@ -38,8 +40,10 @@ build-local-repository:
     - git submodule update
     - python3 -m pip install wheel pyang pyangbind
     - git clone https://osm.etsi.org/gerrit/osm/IM.git
+    - pip3 install -r IM/requirements.txt
     - pip3 install IM/
     - git clone https://osm.etsi.org/gerrit/osm/osmclient.git
+    - pip3 install -r osmclient/requirements.txt
     - pip3 install osmclient/
     - rm -rf osmclient/ IM/
     - mv magma/* .
-- 
GitLab