diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-09-20 12:22:40 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2016-09-22 00:24:51 +0800 |
| commit | ae54ae8ef0de840cb0a169536905576a147d1449 (patch) | |
| tree | f879ae5333f906f629abbb3cbb57a53935bf1462 | |
| parent | 186339968644ec834ddaca9cc68aba342443d539 (diff) | |
| download | kolla-ae54ae8ef0de840cb0a169536905576a147d1449.tar.gz kolla-ae54ae8ef0de840cb0a169536905576a147d1449.zip | |
Mark include-footer and include-header deprecated for removal
As we talked in mail list, these two options should be marked for
deprecated and removed in future[0]. Customization footer/header block
are recommended to use.
[0] http://lists.openstack.org/pipermail/openstack-dev/2016-September/102793.html
TrivialFix
Change-Id: I9d0b83b31b3680cf5083eafc2ae491348d3b084b
| -rw-r--r-- | kolla/common/config.py | 6 | ||||
| -rw-r--r-- | releasenotes/notes/deprecated-include-header-and-footer-71f16045920b0100.yaml | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index c6c90e1dd..8112ac6a1 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -76,9 +76,15 @@ _CLI_OPTS = [ cfg.DictOpt('build-args', help='Set docker build time variables'), cfg.StrOpt('include-header', short='i', + deprecated_for_removal=True, + deprecated_reason=('Use a header block within a template' + ' overrides file instead'), help=('Path to custom file to be added at ' 'beginning of base Dockerfile')), cfg.StrOpt('include-footer', short='I', + deprecated_for_removal=True, + deprecated_reason=('Use a footer block within a template' + ' overrides file instead'), help=('Path to custom file to be added at ' 'end of Dockerfiles for final images')), cfg.BoolOpt('keep', default=False, diff --git a/releasenotes/notes/deprecated-include-header-and-footer-71f16045920b0100.yaml b/releasenotes/notes/deprecated-include-header-and-footer-71f16045920b0100.yaml new file mode 100644 index 000000000..bad40a0d1 --- /dev/null +++ b/releasenotes/notes/deprecated-include-header-and-footer-71f16045920b0100.yaml @@ -0,0 +1,5 @@ +--- +features: + - deprecated --include-header and --include-footer parameter +upgrade: + - should move use header and footer block in template overrides file |
