15 Commits

Author SHA1 Message Date
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