projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correcting osm-nglcm charm configuration file name.
[osm/devops.git]
/
installers
/
charm
/
keystone
/
tox.ini
diff --git
a/installers/charm/keystone/tox.ini
b/installers/charm/keystone/tox.ini
index
d0d2570
..
88fd16a
100644
(file)
--- a/
installers/charm/keystone/tox.ini
+++ b/
installers/charm/keystone/tox.ini
@@
-69,7
+69,7
@@
commands =
[testenv:pylint]
deps = {[testenv]deps}
-r{toxinidir}/requirements-test.txt
[testenv:pylint]
deps = {[testenv]deps}
-r{toxinidir}/requirements-test.txt
- pylint
+ pylint
==2.10.2
commands =
pylint -E src/ tests/
commands =
pylint -E src/ tests/
@@
-95,19
+95,22
@@
commands = yamllint .
#######################################################################################
[testenv:build]
passenv=HTTP_PROXY HTTPS_PROXY NO_PROXY
#######################################################################################
[testenv:build]
passenv=HTTP_PROXY HTTPS_PROXY NO_PROXY
-deps = charmcraft
whitelist_externals =
charmcraft
whitelist_externals =
charmcraft
- cp
+ sh
commands =
commands =
- charmcraft build
- cp -r build release
+ charmcraft pack
+ sh -c 'ubuntu_version=20.04; \
+ architectures="amd64-aarch64-arm64"; \
+ charm_name=`cat metadata.yaml | grep -E "^name: " | cut -f 2 -d " "`; \
+ mv $charm_name"_ubuntu-"$ubuntu_version-$architectures.charm $charm_name.charm'
#######################################################################################
[flake8]
ignore =
W291,
W293,
#######################################################################################
[flake8]
ignore =
W291,
W293,
+ W503,
E123,
E125,
E226,
E123,
E125,
E226,