Speed up image build
* Ignore FIO output file when building docker * Removes PBR and removes .git from docker context Change-Id: I58d4fa7e9d538035c52b1826d1488f72e74beea8
This commit is contained in:
parent
01d0b17d8e
commit
38ac4bff79
|
@ -8,6 +8,8 @@ charts/*/requirements.lock
|
||||||
|
|
||||||
# Build & test artifacts
|
# Build & test artifacts
|
||||||
.eggs
|
.eggs
|
||||||
|
.fiotest
|
||||||
|
.git
|
||||||
.helm-pid
|
.helm-pid
|
||||||
.tox
|
.tox
|
||||||
AUTHORS
|
AUTHORS
|
||||||
|
|
39
setup.cfg
39
setup.cfg
|
@ -1,39 +0,0 @@
|
||||||
# Copyright 2017 The Promenade Authors.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
[metadata]
|
|
||||||
name = promenade
|
|
||||||
|
|
||||||
[pbr]
|
|
||||||
use-egg = false
|
|
||||||
|
|
||||||
[files]
|
|
||||||
packages =
|
|
||||||
promenade
|
|
||||||
package-data =
|
|
||||||
templates = templates/*
|
|
||||||
schemas = schemas/*
|
|
||||||
|
|
||||||
[entry_points]
|
|
||||||
console_scripts =
|
|
||||||
promenade = promenade.cli:promenade
|
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
source-dir = docs/source
|
|
||||||
build-dir = docs/build
|
|
||||||
all_files = 1
|
|
||||||
warning-is-error = 1
|
|
||||||
|
|
||||||
[upload_sphinx]
|
|
||||||
upload-dir = docs/build/html
|
|
13
setup.py
13
setup.py
|
@ -17,6 +17,15 @@
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
setup_requires=['pbr>=1.9', 'setuptools>=17.1'],
|
setup_requires=['setuptools>=17.1'],
|
||||||
pbr=True,
|
name='promenade',
|
||||||
|
version='0.8.0',
|
||||||
|
packages=['promenade'],
|
||||||
|
package_data={
|
||||||
|
'schemas': 'schemas/*',
|
||||||
|
'templates': 'templates/*',
|
||||||
|
},
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': 'promenade=promenade.cli:promenade',
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -26,7 +26,7 @@ deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf docs/build
|
rm -rf docs/build
|
||||||
python setup.py build_sphinx {posargs}
|
sphinx-build -b html docs/source docs/build
|
||||||
|
|
||||||
[testenv:fmt]
|
[testenv:fmt]
|
||||||
deps = yapf==0.20.0
|
deps = yapf==0.20.0
|
||||||
|
|
Loading…
Reference in New Issue