Previously docker-py had upper cap, but new version is released and this
restriction is removed, see: Ie233d54d42f09fc22983fe5627d111f0db8d6252 .
Also there is patch, which changes upper-constraint file was merged
recently: I9c24b0398f3472718d5f67f8f03a165c7583f073 .
This patch is necessary to fix fuel-ccp gate jobs (python-27 and *-37).
They failed due to attempt installing requirements for test environment
from upper-constraints in upstream (docker-py==1.10.6), which resulted
to error, whcih cliff tried to find entrypoints and met requirements where
docker-py < 1.8.0.
Change-Id: Ifa9815251d7b3b30fae06a804eed76b81a3101a3
Remove cap on requests as it has been resolved in openstack/requirements
by https://review.openstack.org/381780
Change-Id: I26892f32920751b8849b449941923a3dd75ae435
Added all commands and basic app for cliff, removed all
legacy/compatibility stuff around CLI.
Config file CLI argument and logging will be fixed in separate commit.
Change-Id: Ib52b4c139c2ac9ea5afa073febcd764edced1464
This change replaces oslo.config CLI parsing with dumb parser with
arguments that will be supplorted by cliff and doesn't provide
alternative for oslo.log, so logging will be broken until next change
with cliff lands. Add dumb logging.basicConfig until then.
Depends-On: Ibafdaf073bf973f05a721f8422e48e1f581dc4a4
Change-Id: I82169d36021201964a48d7e35161c51e10f30f4a
execute "fuel-ccp validate {type,}" to validate specified types
for component repositories. If type list is not specified - validation
of all available types will be performed.
This patch supports only validation for "service-def" type.
Also service validation is added before each deploy action.
Change-Id: Icf34c722ba441537b213671f93f9d322d3a8325a
After we switch to cliff we'll loose all config validation otherwise.
All options without defaults are allowed to be null since that's what
their default will be.
Change-Id: I6ceb67d1906089a22df7c641d7ac767067ec2068
Consists of two parts:
1) OS cleanup:
Instances, subnets and networks from all OS
projects will be removed.
2) K8s objects cleanup
Usage:
ccp cleanup --auth-url <auth_url> --skip-os-cleanup
--auth-url parameter is optional, by default
it takes internal keystone url, whick is not
appropriate in some cases.
--skip-os-cleanup is optional
Note: do not use default namespace for deployment
because it could not be cleaned up by cleanup command
Change-Id: I53f59d9ca8de09ac33e37c90dacf821dda72afec
This patch adds 2 configuration options:
1) keep_image_tree_consistency (rebuild all descendant images
to keep consistent state of image tree,
2) build_base_image_if_not_exists (make sure that all base
images required for target image building are ready and
prebuild them if they are not)
Also small thread worker's refactoring done - implemented with
Executor pattern
Change-Id: Ie3bd6ce74ef64c06b75be6792befc24e7354215e
Images builder which takes the dockerfiles (both raw and jinja2
templated), generated the dependency tree between them and
the builds them in appropriate sequence.
Change-Id: Iedcb32c91d2d779d8dcc6cc4b777da932086dcbd
Add the fetching mechanism which is looking for git repositories
in place specified in config and (optionally) clones them if
they're not present.
Change-Id: I16d388476ee4b95b8cde28c5a20f79548cd74138