aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
AgeCommit message (Collapse)AuthorFilesLines
2016-11-02Revert "Move RDO to Newton branches"Steven Dake1-4/+1
Revert note: Get RDO back on master instead of the newton branch This reverts commit aeb86de6fc644a514d060b4ac869cab364266f03. Change-Id: I765ba60c3bd09fe3978570b7921a084c9b90c7d0
2016-10-19Merge "Consistently set sys path when using local tools"Jenkins1-5/+3
2016-10-14Consistently set sys path when using local toolsMartin André1-5/+3
Consistently set the search path to prefer PROJECT_ROOT as the source of packages to import if we are using local tools instead of pip installed kolla tools. TrivialFix Change-Id: Idd1d98bb82a8f1ddb32d1bdb23f346b461534b9f
2016-10-13Move graphviz dependency to test stageJeffrey Zhang1-1/+5
Graphviz is only helpful and used for developer. It is useless for deployment. So move it to test-requirements.txt file and warning users when he wants to save dependency feature. TrivialFix Change-Id: Id8de76baa6f1455ad032abe4738d9779cf0cc5a6
2016-10-09Merge "Deprecate Fedora based Docker images"Jenkins1-0/+4
2016-10-07Move RDO to Newton branchesSteven Dake1-1/+4
RDO Newton is available. Lets use it and test with it this final week. TrivialFix Change-Id: I2a761366da7c2cf209adaceb73ac7fa9c9aa3cba
2016-10-03Handle the KeyboardInterrunpt properly for build.py scriptJeffrey Zhang1-1/+14
* set the push queue worker daemon * force exit when using twice Ctrl + c in build.py script. Change-Id: Ib3278ee9909f94a5129854c3c6fc9720a91a19f3 Closes-Bug: #1629654
2016-09-29Deprecate Fedora based Docker imagesChristian Berendt1-0/+4
Change-Id: I84f01a93656ed9c9d828b4619753cb1bb806f74f Partial-bug: #1616387
2016-09-27Merge "Fix a docstring typo in build.py"Jenkins1-1/+1
2016-09-27Fix a docstring typo in build.pyKobi Samoray1-1/+1
TrivialFix Change-Id: I556b1563e8abecb14baacd4c84fc72f4bd3cd140
2016-09-26Changed docker_restart_policy to unless-stoppedSajauddin Mohammad1-1/+1
Current implementation has docker_restart_policy "always" and docker_restart_policy_retry:"10" which should be mutually exclusive. "unless-stopped" will restart the containers on any exit state but not start on daemon startup if container was put to stopped state before. Closes-Bug: #1621187 Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129
2016-09-20Remove no-cache option in build.pyJeffrey Zhang1-1/+1
no-cache is marked for removal. we should move to cache parameter instead. Ie6d5ab380a22c32eb6a5cee29ff7912e9f4cfe74 handle this parameter for mistak. TrivialFix Change-Id: I4a6bc3eca07e9930381091fcf735529019523975
2016-09-14Merge "Add iter function to change list into iterator"Jenkins1-1/+1
2016-09-14Call filter_images before save dependenciesgong yong sheng1-0/+1
save_dependency function needs the image status which is set by filter_images. Change-Id: I7aa097c94d59de9389d8a53babe63d8b991a6e23 Closes-bug: 1623291
2016-09-14Add iter function to change list into iteratorgong yong sheng1-1/+1
Change-Id: Ia141a54b1bc0b1742a396b7029ee0b56ead648db Closes-bug: 1623288
2016-09-13Merge "Add extra methods in template when using template override"Jenkins1-0/+1
2016-09-13Build process outputs each line twiceVladislav Belogrudov1-0/+1
Don't propagate logs going to stdout to avoid duplicate messages Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I52da42adc40aa5d468d1c0c1134e65689916a2a8 Closes-Bug: #1620239
2016-09-07Add extra methods in template when using template overrideJeffrey Zhang1-0/+1
Add the Kolla template methods when using --template-override parameter TrivialFix Change-Id: I67ab579817fc5462143e5742d78db4a202debf2e Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-31Install neutron-lbaas-dashboard from source in horizon containerChristian Berendt1-2/+8
Change-Id: I9bc0288dd436eaaa48c8fd27e0907bbb8dadfe2c Partial-bug: #1592446 Co-authored-by: Shaun Smekel <shaun.smekel@theorem.net.au>
2016-08-23Merge "Remove log propagate configuration"Jenkins1-1/+0
2016-08-23py3:Remove six.iterXXXLu lei1-1/+1
1、As mentioned in [1], we should avoid using six.iteritems/keys achieve iterators. We can use dict.items/keys instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2、In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/ 2015-June/066391.html TrivialFix. Change-Id: I0cbe8af3210233a58d25f0df187c3d085405aa2a
2016-08-21Remove log propagate configurationJeffrey Zhang1-1/+0
Disable the log propagate for all logger is bad. TrivialFix Change-Id: I5e9a3356c7a34710ac2c020fa32370b5172411d2
2016-08-18Merge "Skips a debug log during image build"Jenkins1-1/+3
2016-08-16Skips a debug log during image buildSajauddin Mohammad1-1/+3
Added a condition to skip debug message during image build, when the base image is dependent on image of other service Closes-Bug: #1513904. Change-Id: I68d568981cebf442b34c958e125b0f921b883247
2016-08-15enhancements to install_packages macroAbe Music1-0/+13
- Adds debian_package_install method to the jinja environment that will return the necessary set of commands needed to install packages via apt-get and/or URLs to .deb packages - Updates install_packages macro to make use of the method above Change-Id: Ie9318a7def54b5034ba91375fd8fd3b589d18349 Partially-implements: blueprint third-party-plugin-support
2016-07-27Make kolla-build list-dependencies option workSwapnil Kulkarni (coolsvap)1-0/+1
Change-Id: I465cc8a79b12c188569c9537e14763a6bef8dd43 Closes-Bug:#1606450
2016-07-27Fix dict.values() PY3 compatibleqinchunhua1-1/+1
The dict.values()[0] will raise a TypeError in PY3 as dict.values() doesn't return a list any more in PY3 but a view of list. TrivialFix. Change-Id: I01297bb68e45db4d15800d2d42e08560da7346bd
2016-06-29Fix broken save,list images/dependencies optionsJoshua Harlow1-0/+5
It's sorta required to actually build the image list (and strucutre) to make any of these commands do anything. TrivalFix Change-Id: Ib601bd4d2cc84af6d35a8623b77f9b512124d2ad
2016-06-27Be smarter about what to do when making a docker clientJoshua Harlow1-37/+46
Instead of having the program sys.exit when a docker client object can not be created (which kills all the threads and messes up the program and its associated state) have a exception be raised when this (for whatever reason) fails. Also refactor so that there is a docker task that the docker client using tasks can all inherit from. TrivalFix Change-Id: Ie81aff10cfe6f2fc5c65d53402200e3928fb460c
2016-06-27Merge "Stop using a global logger for all the things"Jenkins1-91/+93
2016-06-24Customizations continuedMichal (inc0) Jastrzebski1-0/+12
To correctly customize lists, we need to specify *_append, *_remove or *_override variable in customization file. Change-Id: I18d67ab89089e2696399ff1b99c1047a2f554442 Partially-implements: blueprint third-party-plugin-support
2016-06-24Update urls for Delorean repo filesPaul Bourke1-2/+2
delorean.repo is now redirected from trunk.rdoproject.org to buildlogs.centos.org [0] [0] https://www.redhat.com/archives/rdo-list/2016-June/msg00206.html Closes-Bug: 1595568 Change-Id: I650abc34d9cf0c00f9025bd2c62f1bf03fbd96b7
2016-06-21Stop using a global logger for all the thingsJoshua Harlow1-91/+93
Instead of using the same logger for all the things which makes it incredibly hard to figure out what the images and there builds are doing; instead have it so that each image gets its own logger which is then used by tasks that process that image. Each images logs now will (optionally) go to a logs directory that can be more easily read and looked over and leaves the main logger for informational/task kind of output only. Closes-Bug: #1586478 Change-Id: I939e073a2bc5ed8b5a1e969888fc743d80f468c9
2016-06-15Macro install packagesMichal (inc0) Jastrzebski1-2/+6
Simplification of package installations Change-Id: I78c0a84c55e891dec7c9bd21bc61700dba244526 Partially-implements: blueprint third-party-plugin-support
2016-06-13Fix typos in KollaTuanLAF1-1/+1
TrivialFix Change-Id: Id916352b419a100d1cae463031e3182bd1080776
2016-06-12Merge "Mechanism for Dockerfile customization"Jenkins1-3/+10
2016-06-10Merge "Add non-intrusive ctrl-c handling"Jenkins1-31/+41
2016-06-08Add non-intrusive ctrl-c handlingJoshua Harlow1-31/+41
Instead of trying to use a signal handler to stop when ctrl-c is triggered use technique that cooperates better with the threads that are running and lets them die a happy death vs being forced to die in unpleasant ways. Closes-Bug: #1586476 Change-Id: I7fdb6a77a144bdd02276cca07b616bbb0c2f1957
2016-06-08Use 'image' not 'item'Joshua Harlow1-6/+6
The things in self.images are images, not items so reflect these to use the shared 'image' name vs having a one-off that uses 'item'. TrivalFix Change-Id: I781514d3e116de32b4fe61a7f55455282680fec1
2016-06-07Mechanism for Dockerfile customizationMichal (inc0) Jastrzebski1-3/+10
This patchset enables potentially full customization of Dockerfiles provided by Kolla without having to change main Kolla code. Mechanism is based on jinja2 block mechanism. In our dockerfiles we'll add blocks (mostly empty) with highly standarized naming, then in override file users will be able to fill/override contents of these blocks. Example is shown in this patch. To enable cutomized override file call build.py --template-override=path-to-file Only caveat is that header {% extends .. %} has to stay Change-Id: I5957024e5652f9677c439fb2fcd524e467b951af Partially-implements: blueprint third-party-plugin-support
2016-06-07Make build.py importable libJeffrey Zhang2-0/+924
First step to break it down is to make it importable lib rather than self-contained script. Change-Id: Ibbc924c2849cc79006046f62f31a1909ce959066 Partially-implements: bp build-refactor