aboutsummaryrefslogtreecommitdiff
path: root/tests/templates/kolla-build.conf.j2
AgeCommit message (Collapse)AuthorFilesLines
2020-09-16[CI] Support building source images with in-review changesMark Goddard1-18/+0
Following this change it is possible to add 'Depends-On' lines to a kolla commit message that point to reviews in other projects. For example, this could be used to test building and deploying container images containing a change to the nova project that is currently in review. It also allows to introduce jobs testing against Kolla in other projects. The kolla-build-config Ansible role can also be used by other projects, such as kolla-ansible, to generate the necessary configuration. This takes us closer to the Kolla Builder - Next Generation concept [1]. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014255.html Change-Id: Ia2efa6b5d7278b75ab8dec23207f92d6bd7c58f0 Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2020-04-03CI: Avoid toxRadosław Piliszek1-0/+5
We don't need tox nor tell our users to use it when doing kolla builds. Tox is going away from base infra images (it is already gone from aarch64 ones). Depends-on: https://review.opendev.org/713134 Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: Ib1d97a783951ac42740ebf91bcc6ecaf2bf70853
2020-03-19CI: publish AArch64 Debian/source imagesMarcin Juszkiewicz1-1/+2
We want to test upgrades on aarch64. For this we need to publish images. AArch64 images will get "-aarch64" added to tag to not collide with x86-64 ones. Change-Id: Ibae2578b4bc18c0ab7fcc1840c39bb86659ab920
2020-03-17CentOS 8: Switch default base image, tag as masterMark Goddard1-3/+1
Changes the default base tag and distro for CentOS images from 7 to 8. Also changes the tag used by the publisher jobs for CentOS 8 images from 'master-centos8' to 'master'. Change-Id: I5498141ade23219d63f34debc2b8e1330dec2e68 Partially-Implements: blueprint centos-rhel-8
2020-03-13CI: Use network mode = hostRadosław Piliszek1-0/+3
This avoids issues with IPv6 not enabled in docker. Change-Id: Iff80392357ef5e2dd3f2e24dbf4df299660805b9
2020-02-05CentOS 8: Fix CentOS 7 publisher tagMark Goddard1-1/+1
Currently we use CentOS 8 nodepool images for all CI build jobs. This means we can't use the ansible_distribution_major_version fact to detect whether we are building CentOS 7 or 8 images. Due to this, all CentOS images (including CentOS 7) are currently published with a 'master-centos8' tag. This change fixes the issue by using the base_tag variable which is defined for CentOS 8 build jobs. Change-Id: I29b7b8ee742120107a11bd419ac58ab5c09b0b75 Partially-Implements: blueprint centos-rhel-8
2020-01-30CI: Fix tag suffix logic for CentOS 8Mark Goddard1-1/+1
On CentOS, ansible_distribution is 'CentOS' rather than 'centos'. Our logic when setting the image tag for publisher jobs is incorrect, meaning that the centos8 publisher publishes images as 'master' rather than 'master-centos8'. Since this job only has two images it is likely to complete before the CentOS 7 publisher, so hopefully images will not be broken for long. This change fixes the issue by using a case-insensitive comparison. Change-Id: I66c93e07fe5c6c143e9cf65c6451e573bbfc51d8 Partially-Implements: blueprint centos-rhel-8
2020-01-20Revert "Debian/source: do not force tag in build jobs"Radosław Piliszek1-1/+0
This reverts commit ca4da16836e4b3ef1d84059a63378c3f5bb2517e. This is adapted to revert only the missed part of aarch64 publisher which now blocks publishing for debian. Change-Id: I02932857454bdb09b72f539038d394760457109d
2020-01-14Debian/source: do not force tag in build jobsMarcin Juszkiewicz1-0/+1
Multiarch publisher uses 'branch-arch' so set it in kolla-build.conf file. Change-Id: I1af17edc9671237d270c5c6fe70e4420199bdb02
2020-01-13CentOS 8: Don't force tag in build jobsMark Goddard1-1/+3
We should allow the tag set in kolla-build.conf to be used for the image tags, since our deploy jobs need to set it to change_XXXXXXX when images are built for the job. Change-Id: I705514ee0249ff1d309e280001d653271e3686af Partially-Implements: blueprint centos-rhel-8
2019-06-20Clean up test processRadosław Piliszek1-1/+1
If stestr failed, then no node info was logged. Logging node info is now handled in pre and post stages of Zuul. Additionally Zuul v3 migration recommendations were applied and some unused code removed improving general readability. Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2018-12-18Use infra mirrors for ODL and percona reposEduardo Gonzalez1-3/+0
Change-Id: I212a53b235f2785d93d474660c87a8521f3cc8b2
2018-03-21Support push kolla tag image to hub.docker.com siteJeffrey Zhang1-1/+1
Change-Id: I8a21f60a37ba038e46c29d0bcff9ffbd2457a257
2017-12-04Change more repo url to infra mirrorJeffrey Zhang1-0/+3
Change-Id: I7e9fd2760ae3202f3a84833bb65edfdcffa67fe4
2017-11-28Improve gate post jobsJeffrey Zhang1-4/+1
- Reuse build jobs to publish images - Add binary jobs in periodic pipeline - Push all image to dockerhub - Use branch name for image tag Change-Id: Ifefb96bcbcc9c6840cf865f7786b43a43fae4c17
2017-11-06Dockerhub publisher jobMichal (inc0) Jastrzebski1-0/+12
This patchset includes pushing mechanism for daily periodic jobs. Change-Id: Ic4179ffd3a6e640abfb181dbd000bc75cc64b750