* 'ccp action status' show all statuses
* 'ccp action status action_names' show statuses
for actions with these names
* if action with name was not found, exception is raised
Change-Id: Ia7bdb9d8b2d9d15b9881362daaa4c74007b4c155
User can define parameters in action in the following format:
action:
parameters:
- key: some_param
default_value: value
These parameters can be override using --parameter option. For example:
ccp action run tempest --parameter tests-set=full
Parameters can be used in config files using the following template:
{{ action_parameters.some_key }}
Change-Id: I433624acd210ade57fa4d506e988fb6521cc738d
There's no additional information provided with -l param,
so it can be removed. Also "no cluster" message changed to
"not deployed".
Change-Id: Id0f3cf4b873eb3d5d9e59ed5f7d6fd6fec947887
ccp status -s will show short status of provided components only
(instead of the whole cluster status)
Change-Id: Ib464c4a2eaaf2ab08c19b5e5add4cb79879794cf
For all ccp commands that uses components we do fetch before launching.
This patch adds fetch for all `ccp action ...` commands.
Change-Id: I9e3964f7c2198714072f8d7fa0e4c3a8e27eb550
This patch adds support of actions on existing ccp deployment.
For example actions can run tempest, rotation fernet tokens and so on.
Documentation will be added in another patchset.
Change-Id: If45f1bfb823f2182b0e79ca269c6b0e95066d053
* service version validation added. It will be executed before
deployment and as part of validate command for service
definitions.
* dsl_version field now is required field
* initial dsl_version = "0.1.0" added
* doc describing dsl versioning added
Depends-On: I0abe9781300c794d690b0822fc2a857db3ca8ea5
Depends-On: Ib755efe784a1c4bc04fb49827baa268513dd27e1
Depends-On: I62520035507ca7c5ac97a0e34062fa9eac26e2f6
Depends-On: I9afb7143dc876b839297c5bf5c03b156e0daa8c2
Depends-On: I5a05d2538a3315ce2e652219a6cd5aead9c7d617
Depends-On: I4a0c00b40b2af4f213daf7e43419dd46951fc4bc
Depends-On: Id988118f78fcdfe0599abe27959590f56f3617d3
Depends-On: I965814b147179435ef2cf94abc362df866495f8f
Depends-On: Ic9e4e79e848ab944e5910b57cc5cd524f1f97ae0
Depends-On: Ic8d9c334ac57a13066db38562423523bd23b671f
Depends-On: I581b587d36e03d60c5fb04e7dbf0c184c992b526
Depends-On: I4d4b9f363138b85198222ac2e770930ce7bd6ab5
Depends-On: I1728ee34eef02668cb54b1f54291a66d609dd6c4
Depends-On: I4d4b9f363138b85198222ac2e770930ce7bd6ab5
Change-Id: I220d99e76220c124d782c97de51112869c727148
This command will print list of Ingress domains
that need to be resolved in order to make Ingress work
Change-Id: Ie7599d2833fb34facdc66f008fe615a03abd2f33
Replace them with storing data from components centrally in global CONF
and using it all over the place.
This allows to centrally control how configs are handled, i.e. if we
decide to not use defaults anymore, we can just remove
load_component_defaults from cli module.
Change-Id: Id58bb43a7a9cbb367719ba59484bf3121ec68379
This turns of implicit conversion of 'ccp <cmd> --help' to 'ccp help <cmd>'
to provide user with help on specific command instead of list of common
arguments.
Change-Id: Id8278b908d6e4c61fde71772a2c6e2c65104560b
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
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
We're importing all modules from CLI anyway, so we always import all
config modules, spreading this across all modules provides no benefit.
This is another step towards YAML config.
Change-Id: I38e2e8ae7596829311388498df68a048ab1cd981
Also move config initialization to fuel_ccp.config.
This is the first step to replacing oslo.config with YAML-based config.
Change-Id: If1b1faf006b40df95a661ecd00cb744e9fd0aafa
We don't need to pass args, they will be taken automatically, but we should
pass the CLI name, so, it'll do some implicit magic, for example, it'll read
by default config file from /etc/ccp/ccp.conf
Change-Id: I7cf4468eb90cb007f98a1c4008a5a57e519d6530
Usage:
ccp --config-file=<path_to_config> show-dep <component_name>
show-dep command will show dependencies for specified component
Change-Id: I51e968a225b21d17986e6cd1796e567184b7ff09
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