1. : we have `images-bootstrap` file inside the base image (with variable named BOOTSTRAP_IMAGE_*) . For example BOOTSTRAP_IMAGE_ALPINE and BOOTSTRAP_IMAGE_CHEIP
2. : `images` file (with variable named IMAGE_*) (we have this file currently)
3. : `images-utilities` file (with variable named UTILITY_IMAGE_*) inside the base image For example UTILITY_IMAGE_CHEDIR
then we can apply the required policies
1. all images of images-bootstrap are loaded when we bootstrap cli
2. all images of images are loaded after bootstrap
3. all utilities images are pulled when one of them is asked
- removes all previous calls to the get_image_manifest as it’s performed by cli once. (In the past it was in another docker image but now it’s a local file parsing)
- update offline and rmi commands
* Update log (turn into log when it’s not needed for user)
Linked to #3666 and #3667
Change-Id: I83fc64c019f3d6deef3118e75a83693bb3d82175
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Fix#3655 : Check docker-compose file validity, result of docker-compose up command and also check each container of docker-compose services if they’re running or not
Change-Id: Ie7ef9cc301c2605ec40db70f00d06f1fca694e4c
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* fixup! Fix#3655 : Check docker-compose file validity, result of docker-compose up command and also check each container of docker-compose services if they’re running or not
Change-Id: I91f0298aaaa3c547925989f964a8d2c38f6393d3
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Also, use of directory mode for manifests file instead of specifying a given pp file. It allows to add more pp files
Change-Id: Ib9ad459b5a24e59eefc5c41a163534abcab7a9ae
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
For now 5.0.0 was handled as being < 5.0.0-M9 for example.
Change-Id: I417415e520a3b447d621521fb52b368d7216a46d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Use of Chefile in new cli : new 'dir' command
Change-Id: Iec4f40cfb503fe60c51d81ef06e07043e102db6a
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
* Add documentation for che dir in cli
(also update ssh, action and test)
Change-Id: I56198634cb99d301e4f49d69f1eb357787b55af6
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
For action, test and che-dir, improve log output to match the new cli output
Change-Id: I2f7da27f9a9658e2fbc49f3a766593203b172f4d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
Change two lines to a single line
Instead of "local is older", display that "a newer version is available"
exact message is : "WARN: There is a newer eclipse/che-cli:nightly image on DockerHub."
Fix CODENVY-1235
Change-Id: I80bb2f8c48995b5dd06ecd3cff84009b76fceee7
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
use the coreutils date binary for that (add coreutils as part of the Dockerfile) which support iso 8601 dates (while busybox default implementation of date is not)
Change-Id: Ifa0d3ff1c88e275d2188a823cb74b449bfefdbd9
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>