Commit Graph

24 Commits

Author SHA1 Message Date
Radosław Piliszek a20fa84e29 Remove deprecated images
Change-Id: I2fe57f7cd79724fa8a36bd702d75b013a68ecd1b
2019-11-13 09:17:34 +01:00
Marcin Juszkiewicz d436001b43 Debian/Ubuntu: move to Python 3 for source images
Commit 43b74ccc15 enabled use of Python 3
based packages but not switched to use Python 3.

Some of images still contain Python 2. There are two reasons:

- Ceph (ceph-common depends on Py2)
- python3-ldappool on Ubuntu 18.04

In Ceph situation Py3 packages were added. For second one we can not do
anything - Py2 dependency got dropped in Ubuntu 18.10 version.

Removed neutron-server-plugin-networking-infoblox due to being not
maintained. Once https://review.opendev.org/#/c/657578/ get merged
someone may revert that part.

Implements: blueprint debian-ubuntu-python3

Depends-on: Ie2a1077f7def0743f1403341985e2109aa490026

Change-Id: Ibfe0c2b8be98db56c61f74fb0247488ab3749ef4
2019-06-06 11:59:03 +01:00
Zuul c25f67e9d9 Merge "helm-repository: drop unused os_client_config variable" 2019-03-15 18:06:44 +00:00
Marcin Juszkiewicz ef83ff13fe Introduce 'get_pip' macro
We have code for it in four places so it is a good candidate for macro.

Change-Id: Icadcbbe5b386bdf688fd67e8160b40974f047377
2019-03-11 16:52:09 +01:00
Marcin Juszkiewicz 13d930701c helm-repository: drop unused os_client_config variable
Change-Id: I3694ba72733cb5cb391af62b609272cb4461431f
2019-03-11 15:08:53 +01:00
Marcin Juszkiewicz ab679adcbf debian/ubuntu: introduce 'debian_arch' variable
Many images have 'if x86_64 then amd64 elif aarch64 then arm64' check to
comply with Debian like architecture names in several projects.

This patch creates 'debian_arch' variable which can be used in all
Docker files (similar to 'base_arch' one).

All required images got converted to use it.

Change-Id: I9c5e6f13d6c9b24fe323408512bd5aef290111ad
2019-02-19 11:24:45 +00:00
Alex Schultz ae1322ec10 Use base_package_type
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.

Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2019-01-17 08:23:41 -07:00
Martin André 27bab79096 Download binaries more securely
Obtain binaries from encrypted source when we're unable to check for
their signatures. This should provide better security than downloading
the files over HTTP but does not replace signature verification or file
integrity check.

Related-Bug: #1791674
Change-Id: I7d6eed9ab14ceb130ea4f5f03d893ddaaa0a7acd
2018-09-10 19:19:16 +02:00
Martin André 5951977eab Stop using deprecated rpm package names
These packages produce a warning during the installation, we should
switch to their new names, usually to be specific about their use of
python2.

Change-Id: I0a80e822f64222d9a32aabd1fd834bcf794d6320
2018-07-10 16:32:18 +02:00
Martin André 3364720f34 Validate Dockerfile indentation in pep8
Delegate code style validation to computers, they're better than human
at it :)

This commit adds a new `tools/validate-indentation.sh` script that
errors when it finds an indented Dockerfile instruction, and enables
the validation in the pep8 check.

Also adjust the logic of `tools/validate-all-dockerfiles.sh` so that it
doesn't stop on first errors but instead shows all of them.

Fixes the remaining indentations in Dockerfiles.

Change-Id: I53c0d38304cb4f6d64a5dfab67f70d69b3eae587
2017-12-05 10:53:49 +01:00
Jawon Choo 31259fa595 Override image's meta info.
centos based images have wrong label info,
these changes fix own image's name and build-date.

Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
2017-05-03 11:08:17 +09:00
Jenkins 6a9681ba9b Merge "helm-repository: make it work on non-x86" 2017-04-21 15:37:41 +00:00
Jenkins 9f78dc4e84 Merge "helm-repository: update to v2.3.0" 2017-04-21 15:34:51 +00:00
Chen 8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00
Marcin Juszkiewicz 360c868758 helm-repository: make it work on non-x86
With 2.3.0 we can use upstream binaries on other architectures than
x86-64.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: I5e13fea4a152079d0fbe72d8c39e0fe068562fc2
2017-04-19 11:52:38 +02:00
Marcin Juszkiewicz e5551cc734 helm-repository: update to v2.3.0
Starting with 2.2.0 upstream started publishing binaries for non-x86
architectures.

Change-Id: I9701e6394ecf6eebcaa16f6796f1cfaec5d71337
Partially-Implements: blueprint multiarch-and-arm64-containers
2017-04-19 11:32:24 +02:00
Marcin Juszkiewicz 69fef5cd59 debian: enable all images enabled for Ubuntu
Debian support is not maintained in Kolla so it got a bit behind Ubuntu
one. This changeset enables Debian for all images. Jessie (even with
backports) may be too old for some images though.

Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order
like it is done for RPM distributions.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-04-04 22:48:18 +02:00
Mohammed Naser e7774b70d3 Merged multiple ENV into a single layer
There are multiple ENV calls which create multiple unnecessary
layers, this patch merges them into a single layer.

Change-Id: Icf40033b03a61abbcdcbf72fe8f8137d1a12d2b5
2017-03-24 10:14:02 -04:00
Jenkins 7450c32cd2 Merge "Add helm_repository_install_kubernetes_helm block for helm Dockerfile.j2" 2017-02-21 18:40:21 +00:00
Jenkins 213a585ee6 Merge "Use install-pip macro in most source images" 2017-02-20 18:22:41 +00:00
James McCarthy 16366bb571 Add helm_repository_install_kubernetes_helm block for helm Dockerfile.j2
Allow overriding of kubernetes-helm to facilitate an alternate location.

Change-Id: I630d1e1368ddbbbc795048a73ecc182952da751d
2017-02-20 16:21:54 +00:00
James McCarthy 4d2cffbd89 Add helm_repository_source_install_python_pip block to helm-repository Dockerfile
Allow overriding the pip installation so that it can
be easily customised if needed.

Change-Id: Ib60e2e26841d011aef7fdf1fab936bcdc79eb336
2017-02-17 15:47:16 +00:00
Chao Guo 961224c6cf Use install-pip macro in most source images
1. Enable customization of pip packages in source
branch of most images
2. All pip packages install uniformly through
install-pip macro, user can easily customize his
own pip command (For example using a mirror)

Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2017-02-17 08:49:32 -03:00
Serguei Bezverkhi f3130455bc Add helm-repository image
This PS adds helm-repository image which will be used to serve helm
packages from the centralized location to helm clients.

Change-Id: Id41b1275a3e2413a0a017fe0fcd8cc76622ec726
2017-01-08 09:38:10 -05:00