Update Dockerfile Airflow image and values.yaml to definitive 81/12681/35
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 11 Nov 2022 09:24:51 +0000 (10:24 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 25 Nov 2022 12:07:03 +0000 (13:07 +0100)
Change-Id: I2be745edd4dd292cbb29bde58655c47bb52d5a32
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
docker/Airflow/Dockerfile
docker/mk/Makefile.include
installers/helm/values/airflow-values.yaml
jenkins/ci-pipelines/ci_stage_3.groovy

index b350a09..73591cd 100644 (file)
@@ -27,11 +27,11 @@ ARG PYTHON3_OSM_COMMON_URL
 ARG PYTHON3_OSM_NGSA_URL
 RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
 RUN dpkg -i ./osm_common.deb
-RUN curl $PYTHON3_OSM_NGSA_URL -o osm_ngsa.deb
-RUN dpkg -i ./osm_ngsa.deb
+RUN curl $PYTHON3_OSM_NGSA_URL -o osm_ngsa.deb
+RUN dpkg -i ./osm_ngsa.deb
 
 RUN pip3 install \
-    -r /usr/lib/python3/dist-packages/osm_common/requirements.txt
-#    -r /usr/lib/python3/dist-packages/osm_ngsa/requirements.txt
+    -r /usr/lib/python3/dist-packages/osm_common/requirements.txt \
+    -r /usr/lib/python3/dist-packages/osm_ngsa/requirements.txt
 
 USER airflow
index af53ff0..1fd6dcd 100644 (file)
@@ -73,8 +73,8 @@ build: $(MKBUILD) $(DEPS_TARGETS)
                    --build-arg PLA_VERSION==$(shell cat $(MKBUILD)/.dep_PLA) \
                    --build-arg DEVOPS_VERSION==$(shell cat $(MKBUILD)/.dep_devops) \
                    --build-arg N2VC_VERSION==$(shell cat $(MKBUILD)/.dep_N2VC) \
-                   --build-arg LWUI_VERSION==$(shell cat $(MKBUILD)/.dep_lightui) \
                    --build-arg NGUI_VERSION==$(shell cat $(MKBUILD)/.dep_ngui) \
+                   --build-arg NGSA_VERSION==$(shell cat $(MKBUILD)/.dep_ngsa) \
                    --build-arg TESTS_VERSION==$(shell cat $(MKBUILD)/.dep_tests) \
                    --build-arg CACHE_DATE==$(shell date -uI) \
                    $(DOCKER_ARGS) .
index 0a37097..fd7eb63 100644 (file)
@@ -15,8 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 ---
-defaultAirflowRepository: gerardogarcia/airflow
-defaultAirflowTag: "0.3"
+defaultAirflowRepository: opensourcemano/airflow
+defaultAirflowTag: "13"
 webserverSecretKeySecretName: airflow-webserver-secret
 webserver:
   service:
@@ -28,4 +28,7 @@ webserver:
 extraEnvFrom: |
   - secretRef:
       name: ngsa-secret
+config:
+  core:
+    dags_folder: "/usr/lib/python3/dist-packages/osm_ngsa"
 
index a861283..ec11671 100644 (file)
@@ -258,7 +258,7 @@ node("${params.NODE}") {
 
                     parallelSteps = [:]
                     list = ['RO', 'osmclient', 'IM', 'devops', 'MON', 'N2VC', 'NBI',
-                            'common', 'LCM', 'POL', 'NG-UI', 'PLA', 'tests']
+                            'common', 'LCM', 'POL', 'NG-UI', 'NG-SA', 'PLA', 'tests']
                     if (upstreamComponent.length() > 0) {
                         println("Skipping upstream fetch of ${upstreamComponent}")
                         list.remove(upstreamComponent)