Commit Graph

666 Commits

Author SHA1 Message Date
Marcin Juszkiewicz a0b9a9704d CI: do not check for error in binary images
There are no such anymore.

Change-Id: Icf7d1988aa7208cda1b6f70269b9b54cd201b730
2022-12-15 18:59:44 +01:00
Radosław Piliszek 36a1286bba Drop vmtp
Details in the attached reno.

Change-Id: I1a8363da02d98255fce31749f4c9838088443a67
2021-12-20 18:30:24 +00:00
Zuul ea6ceef686 Merge "drop leftovers of RHEL support" 2021-08-04 13:53:41 +00:00
Radosław Piliszek f8824b60d5 Remove patrole from version-check
Patrole was used by tempest which is now removed.

Change-Id: Ie7f26fa016d6fcafc6eee860b827bca868b4c487
2021-07-29 18:42:42 +00:00
Marcin Juszkiewicz bd90b02708 drop leftovers of RHEL support
As a project we never built RHEL based images so support for them
was not tested.

Change-Id: I27dfe34ade088228d71f6857ec4f3ab28ee63915
2021-07-28 16:04:21 +00:00
wu.chunyang 5c369c7fab Remove tempest image
Remove tempest project as planned

Change-Id: I016f7bb17b91769ced21c90d73f693c54a71aef9
2021-06-24 09:21:57 +08:00
wu.chunyang e6cea7b93d Remove rally
Remove rally project as planned

Change-Id: I3560c3a2bee4e391cac841b9bcd8b8d2199f920d
2021-06-20 21:22:10 +08:00
Radosław Piliszek c96a4316b3 [release] Use Wallaby sources by default
Removes 3 Neutron plugins from the default config to build.

Change-Id: Ib32cfe4bacbfb2ccd526b62846b8d89c06506d02
2021-04-19 19:52:44 +00:00
Christian Berendt 0028073ebb Remove zaqar image and related plugins
Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de>
Change-Id: Id3187b2b95e9b9bd3d9233a498f7c45e66c604c7
2021-01-25 16:10:21 +01:00
Christian Berendt 36e5ef2d78 Remove nova-mksproxy image
Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de>
Change-Id: I3d101f171bd1cc6f3c192ddc98cea0d63bccb739
2021-01-15 14:09:23 +01:00
Christian Berendt cc2a97f0f1 Remove novajoin image
Signed-off-by: Christian Berendt <berendt@betacloud-solutions.de>
Change-Id: Ia636747bc2d886f44abb2f4f816fcb621b90a298
2021-01-14 09:05:35 +01:00
Zuul 83aaa9c401 Merge "Finish off removing Congress" 2020-10-19 14:16:59 +00:00
Michal Nasiadka bc1abb3d7b rally: Add rally-openstack
Currently source builds and centos-binary builds do not install
rally-openstack. It results in errors with finding openstack plugin.

Change-Id: I26ad81a7076bad7a659e2d80a1ad0453c13794d1
Closes-Bug: #1803968
2020-10-12 13:44:54 +02:00
Mark Goddard 56ae0cf22c Finish off removing Congress
Change-Id: I0ebd68f0f5bcd989ddd1ffc6a85fed6c8a11ff6d
2020-10-09 16:33:37 +01:00
Marcin Juszkiewicz 2cfc25e53a version-check: handle using of stable branch tarballs
For Ussuri we decided to follow stable branch tarballs instead of using
release ones. This gives us all fixes just as they land in a repository.

Change-Id: Iff600179630484228fb359417687e3d2a1a8b9f9
2020-08-28 15:00:55 +00:00
Marcin Juszkiewicz 0cfd36292c Remove sensu images
They have been deprecated in Ussuri [1].

[1]: https://review.opendev.org/#/c/711636/

Change-Id: I0cfde46c29eedce77c70c1c677220814a801ff3a
2020-07-06 11:50:12 +02:00
mnasiadka 712b258f2d Fix pre-commit-hook
Currently pre-commit-hook is failing due to yaml validations using
unversioned python and using non-existent json validations.

Change-Id: I67dc11efe667e2cc67ea1a731edc5c4a03ebd1e7
Closes-Bug: #1778146
2020-06-02 08:31:33 +00:00
Mark Goddard 7889782113 CentOS 8: Switch last mentions of yum to dnf
Change-Id: I31e9742793cfb1abff9749083c9ce86000dae1af
Partially-Implements: blueprint centos-rhel-8
2020-04-15 14:17:40 +01:00
Zuul 7528397120 Merge "CI: Ansiblify setup of builders" 2020-04-04 16:31:28 +00:00
Radosław Piliszek 2cdcf1821d CI: Ansiblify setup of builders
CI is set up using Ansible playbooks now.
This also drops redundant shell scripts.

Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

Change-Id: I5264746fd04276448f4668c3bb3a218a40e8660b
2020-04-03 15:59:20 +02:00
Andreas Jaeger 1456d8b6f9 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, they are not
needed in installations.

Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
2020-04-01 21:42:41 +02:00
Marcin Juszkiewicz bef55c5c82 do not use unversioned Python binary
We said 'bye' to Python 2 already. So let us use Python 3 for all
scripts.

Unversioned Python binary should be avoided as it may be Python2 or
Python3 (depends on distribution).

Implements: blueprint drop-py2-support

Change-Id: Ifd7912a3debf3ee4ddd8f3e1a4c5870848d4d688
2020-03-16 08:25:51 +00:00
Zuul 16e0fb9b86 Merge "Add note about vmware-nsx to version-check" 2020-01-21 08:18:21 +00:00
Dincer Celik e21a142111 Make tools bash compatible
Change-Id: Iccccc91b0a44f92bcbb2442638a93e7624da112b
2020-01-20 18:14:38 +03:00
Radosław Piliszek d9fa85629a Add note about vmware-nsx to version-check
Change-Id: Ie136940c883b15a082e0f538a1c46134edbb10cc
2020-01-20 11:51:08 +00:00
Marcin Juszkiewicz b66f144c42 Revert "Add AArch64 publisher for Debian/source"
Turned out that linaro-london network pipe is too thin 
to support this job. Pushing images took 3 hours so job
timed out.

Will check it once new nodes arrive.

This reverts commit f2801fabdd.

Change-Id: I8897ede43f11090902fe7c0c096f17f57c1c9c67
2020-01-15 16:33:04 +00:00
Marcin Juszkiewicz f2801fabdd Add AArch64 publisher for Debian/source
This time proper approach involves job dependencies.

First we build and publish x86-64 and aarch64 images with architecture
name in image tag. Then we create multiarch manifests to create 'master'
images.

Change-Id: I6b9505dc326636fc6df8798c62c3a5eb1f728a51
2020-01-10 12:50:34 +01:00
Mark Goddard 6c86915597 CI: Move to CentOS 8 nodepool images
This change modifies the CentOS build CI jobs to use a CentOS 8 host
image.

NOTE: This does not affect the version of CentOS used as the base image
in containers built by kolla.

Partially-Implements: blueprint centos-rhel-8
Partially-Implements: blueprint centos-rhel-python3

Change-Id: Ie25b54a4e6116ed2bcb9c3b5c44eb6edbd2e6b49
2019-11-26 10:22:06 +00:00
Marcin Juszkiewicz 8d1dead890 tox: use Python 3 where possible
Time to say goodbye for Python 2

Depends-On: https://review.opendev.org/693356

Change-Id: I5f23da932df70bf17d09d42420ac408221d0e02f
2019-11-07 15:58:33 +00:00
Radosław Piliszek ff6e229ed4 CI: clean up setup
Removes stuff which does not belong here, along with the docker
daemon systemd service overrides.

Also re-enables IPv6 on CentOS node.

Change-Id: I45238b087647e733544561d333aa560f82e2a07c
2019-10-29 08:20:19 +01:00
Radosław Piliszek 1d0c1e51af CI: Use docker mirror proxy
TODO: Debian build still requires access to original repo.

Change-Id: Ie4bac5334369a63793d36568a9d3a58a0cdc7667
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-09-19 10:31:41 +02:00
Mark Goddard fa8e174be6 Remove support for OracleLinux
We have agreed to remove support for Oracle Linux.

http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html

Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39
Depends-On: https://review.opendev.org/682858
2019-09-18 13:42:47 +01:00
Marcin Juszkiewicz 92e2c4bb6d CI: drop docker systemd MountFlags
https://review.opendev.org/#/c/674587/ dropped using of that flag in
deployments. Time to drop it on CI as Debian CI fails when it is
enabled.

Change-Id: I57fa5206f91abcedcd2d526e71e74cf634b81d2c
2019-08-16 10:00:23 +00:00
Marcin Juszkiewicz 0b796fbf98 cleanup setup of Debian/Ubuntu CI nodes
Change-Id: I3a771793dfbbfc26f6d5716ba7a5b60c2e6154fa
2019-07-15 13:41:30 +02:00
Zuul 0dbcb01d0e Merge "Add script to check for forbidden instructions" 2019-07-15 03:06:12 +00:00
Zuul c4c91e4fe8 Merge "Change port of docker registry" 2019-07-05 09:17:19 +00:00
Radosław Piliszek c7ac0f0de0 Clean up test process
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>
2019-06-20 10:25:41 +02:00
Zuul b8a0ed5dfa Merge "Remove crane image" 2019-06-18 16:03:49 +00:00
pengdake b5c655e787 Change port of docker registry
The port of docker registry is conflict with keystone.
So we need to change port of docker registry.

Change-Id: If15c0caf76b5406f590b05030e43d65ca14c8788
Signed-off-by: pengdake <19921207pq@gmail.com>
2019-06-17 14:01:44 +02:00
Martin André 378a16c357 Add script to check for forbidden instructions
When building images for binary type, it is expected to not install
executables from untrusted sources, and gem, sensu-install, npm or
pip packages for instance should come from the distro itself.

This commit adds a `validate-binary-build.sh` script that checks for
forbidden commands in the rendered Dockerfile templates for the binary
type builds and hooks this script with the pep8 CI job.

The output is just informative for now until we've fixed the culprit
Dockerfiles, then we'll make the script return an error code and with
the ability to fail the pep8 CI check. This should prevent unwanted
commands from entering binary type Dockerfiles.

Change-Id: I66e54bd18f4256cdca6c0c50626de4f975c246b8
2019-06-07 16:32:36 -06:00
Mark Goddard c63f817730 Remove crane image
This image was deprecated in the Stein cycle.

Change-Id: I249b78cd263c97c4a9223523c77f8c325f3e649a
2019-06-07 14:32:08 +01:00
Mark Goddard f528ad8102 Ignore EM releases in version-check.py
We don't want to use Extended Maintenance (EM) tags, since these are
just markers of a point in time and not available as released artifacts.

Change-Id: If552f7ffc22d4b25769c14c083179eecf5a93158
2019-05-20 19:03:05 +01:00
Mark Goddard e9586bd7d5 Version check: update using project name or tarball name
The current code worked only if the project was using the project_name
in kolla/common/config.py, rather than the tarball_base name. This is
only true on master - on stable branches we may switch to use the
tarball_base name, so the regex won't match.

Change-Id: I839649e6ef662ae3ff320edb3106da818956d26d
2019-04-10 17:51:41 +01:00
Mark Goddard 83e8be4f05 Set requirements branch in version-check.py
We use the stable branch of the requirements project.

Also add an exception for the crane project, which is not managed by
OpenStack releases.

Make use of 'tarball_base' field to handle tarball renames.

Change-Id: I05186d9a3e21615e6b49c62cea83bc4bde4702fe
2019-03-28 10:16:56 +00:00
Mark Goddard fdd2fb35cb Remove unused scripts
Removed various scripts which were part of previous CI configurations.

Change-Id: I674c3bb89e049638926fcb2ad6577123117b5d32
2019-03-25 11:44:15 +00:00
Ian Wienand d74df2fc11 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ia4ad8d139eb5b37a9e661a789df13ec300eeee6f
2019-03-24 20:34:01 +00:00
Michal Nasiadka c50df69045 Use overlay2 in tools/setup_Redhat.sh
Currently CentOS gates use btrfs storage driver and
create /docker device backing btrfs.

This patch is to sync the gate run with Ubuntu.
(post-Trusty) does not use btrfs, only overlay2.

Change-Id: Ic5caa8cf0271b21f71f03fd33c35b3c7bc93ccf4
2019-02-21 08:37:02 +01:00
confi-surya 8acba6ff56 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Ia3d1166a2746a46591e4e5a04ea91e03ddc28d93
2018-12-27 12:02:17 +00:00
Victor Morales d8d7281ab4 Fix mkdir instruction of tools/setup_Debian.sh
The mkdir instruction tries to create the
/etc/systemd/system/docker.service.d folder wich in some cases might
not exists. This change includes hte -p argument.

Change-Id: Ia278a2c4dd50a2e57a93b568d0c415e9451fc51f
2018-12-14 14:42:58 -08:00
Mark Goddard 3d4f69f579 Bump storage available to Docker in CI to 25G
Currently CentOS binary jobs are often failing due to running out of
storage while building images.

See
http://logs.openstack.org/87/612887/8/check/kolla-build-centos-binary/b467920/logs/build/000_FAILED_heat-all.txt.gz
for an example, and
http://logs.openstack.org/87/612887/8/check/kolla-build-centos-binary/b467920/logs/df.txt.gz
for the corresponding df output that shows the /var/lib/docker loopback
mount at 97%.

Change-Id: I2f3d04452c517f8643b124550148cc9d8320b937
2018-11-23 10:04:59 +00:00