build: Add local Ubuntu mirror to target image 41/24441/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 16 Nov 2016 19:32:06 +0000 (20:32 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 16 Nov 2016 19:37:38 +0000 (20:37 +0100)
When deploying via Jenkins CI, the repos used for target image
building are overridden to use the local Ubuntu mirror on Fuel
Master instead of fetching packages from internet.

However, when deploying manually, only bootstrap image building
benefits from the local Ubuntu mirror.

While keeping the internet mirrors, add the local Ubuntu mirror
to target image build repo list.

JIRA: ARMBAND-35

Change-Id: Ibd58067703ce6370781a6b54fd01ce52e29686ac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/fuel-web/0001-nailgun-Add-AArch64-Openstack-Mitaka-release-s.patch

index 6dee64d..54652af 100644 (file)
@@ -17,7 +17,7 @@ diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/
 index d08a4fc..65646d4 100644
 --- a/nailgun/nailgun/fixtures/openstack.yaml
 +++ b/nailgun/nailgun/fixtures/openstack.yaml
-@@ -2314,3 +2314,290 @@
+@@ -2314,3 +2314,302 @@
              weight: 61
              type: "checkbox"
              value: true
@@ -50,6 +50,12 @@ index d08a4fc..65646d4 100644
 +              For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
 +            value:
 +              - type: "deb"
++                name: "ubuntu-local"
++                uri: "http://{settings.MASTER_IP}:8080/ubuntu/x86_64"
++                suite: "trusty"
++                section: "main"
++                priority: null
++              - type: "deb"
 +                name: "ubuntu"
 +                uri: "http://ports.ubuntu.com/"
 +                suite: "trusty"
@@ -227,6 +233,12 @@ index d08a4fc..65646d4 100644
 +              For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-9.0/operations.html#external-ubuntu-ops).
 +            value:
 +              - type: "deb"
++                name: "ubuntu-local"
++                uri: "http://{settings.MASTER_IP}:8080/ubuntu/x86_64"
++                suite: "trusty"
++                section: "main"
++                priority: null
++              - type: "deb"
 +                name: "ubuntu"
 +                uri: "http://ports.ubuntu.com/"
 +                suite: "trusty"