Fix docker context for images being built. 43/5043/1
authorAlex Stancu <alexandru.stancu@highstreet-technologies.com>
Wed, 11 Nov 2020 18:05:13 +0000 (20:05 +0200)
committerAlex Stancu <alexandru.stancu@highstreet-technologies.com>
Wed, 11 Nov 2020 18:05:27 +0000 (20:05 +0200)
Issue-ID: SIM-38
Change-Id: Ia818d915932a1caf5b3d41afd8004a70d35f8a9e
Signed-off-by: Alex Stancu <alexandru.stancu@highstreet-technologies.com>
jjb/sim-o1-interface/sim-o1-interface.yaml

index 41fb199..42bc3bf 100644 (file)
@@ -25,7 +25,6 @@
     # source of docker tag
     container-tag-method: yaml-file
     # if no container-tag-yaml-dir is defined, container-tag.yml is taken from the docker-root
-    docker-root: ntsimulator
     build-node: ubuntu1804-docker-4c-4g
     jobs:
       - '{project-name}-gerrit-docker-jobs'
@@ -44,6 +43,7 @@
     docker-build-args: '--network=host -f deploy/base/ubuntu.Dockerfile'
     # tag file latest, since it is base for others
     container-tag-method: latest
+    docker-root: ntsimulator
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
         pattern: 'ntsimulator/ntsim-ng/.*'
@@ -58,7 +58,8 @@
     # image name
     docker-name: 'o-ran-sc/ntsim-ng-manager'
     # dockerfile is in subdir
-    docker-build-args: '--network=host -f deploy/nts-manager/ubuntu.Dockerfile'
+    docker-build-args: '--network=host -f ubuntu.Dockerfile'
+    docker-root: ntsimulator/deploy/nts-manager
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
         pattern: 'ntsimulator/deploy/nts-manager/.*'
@@ -71,7 +72,8 @@
     # image name
     docker-name: ' o-ran-sc/nts-ng-o-ran-fh'
     # dockerfile is in subdir
-    docker-build-args: '--network=host -f deploy/o-ran/ubuntu.Dockerfile'
+    docker-build-args: '--network=host -f ubuntu.Dockerfile'
+    docker-root: ntsimulator/deploy/o-ran
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
         pattern: 'ntsimulator/deploy/o-ran/.*'
@@ -84,7 +86,8 @@
     # image name
     docker-name: 'o-ran-sc/nts-ng-x-ran'
     # dockerfile is in subdir
-    docker-build-args: '--network=host -f deploy/x-ran/ubuntu.Dockerfile'
+    docker-build-args: '--network=host -f ubuntu.Dockerfile'
+    docker-root: ntsimulator/deploy/x-ran
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
         pattern: 'ntsimulator/deploy/x-ran/.*'