Replace a composition resource.
codefresh replace composition [name]
codefresh replace com [name]
Option | Alias | Default | Description |
---|---|---|---|
name | Name of composition |
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--skip-trigger-validation | boolean | false | Set to true to skip validation (for pipeline replace) | |
--help | Print help information | |||
--filename | -f | Filename or directory of spec files use to create the resource | ||
--compose-file | -c | Path to docker-compose.yaml file to use to create the resource. required |
||
--variable | -v | array | Variables list | |
--advanced | -a | boolean | false | Advanced composition |
codefresh replace composition -f ./composition-spec.yml
codefresh replace composition NAME --compose-file ./docker-compose.yml -v key1=value1 -v key2=value2