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
centos based images have wrong label info,
these changes fix own image's name and build-date.
Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
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
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
Starting with 2.2.0 upstream started publishing binaries for non-x86
architectures.
Change-Id: I9701e6394ecf6eebcaa16f6796f1cfaec5d71337
Partially-Implements: blueprint multiarch-and-arm64-containers
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
There are multiple ENV calls which create multiple unnecessary
layers, this patch merges them into a single layer.
Change-Id: Icf40033b03a61abbcdcbf72fe8f8137d1a12d2b5
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
This PS adds helm-repository image which will be used to serve helm
packages from the centralized location to helm clients.
Change-Id: Id41b1275a3e2413a0a017fe0fcd8cc76622ec726