Commit Graph

5 Commits (0b4d01ea2e8a12d3d2d10bccc30c03e299fe07a4)

Author SHA1 Message Date
Tyler Jewell 2d3e371c45 Customize image names during image build (#4336)
The build scripts have been modified to generate images of the format $ORGANIZATION/$PREFIX-$NAME:$TAG. The default organization is eclipse, the default tag is nightly, and the default prefix is che. You can proivde --organization:<org>, --prefix:<prefix>, or --tag:<tag> on the command line to customize the images that are generated.

There is a new build-che.sh script which builds the minimum set of images to generate a new Che server, the CLI, and unit tests for these custom image names. If you build the CLI image, we overwrite /dockerfiles/cli/version/$TAG/images file to include the customized names that have been provided before this image is built, so the registry within the Docker image is accurate.

Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-03-10 13:41:45 +01:00
Florent BENOIT 5554345aae [cli] Fix cli tests by reworking how integration tests are launched (#3991)
* Fix #3980 by reworking how integration tests are launched
- We used OS path mounted into container path (it makes issues as on Windows we don’t have these paths)
- Now use /dockerfiles path inside the container
- add skip check for nightlies or it was downloading new images while testing the current nightly
- add —rm for cleaning containers at the end of docker run
- introduce of some asserts instead of custom checks
- Fix windows issue (like path with spaces)
- Fix teardown of che start tests

Change-Id: I352d7c475796df641c1e34f461c55a76c897922d
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 09:43:48 +01:00
Florent BENOIT c8e13855a9 install ncurses : allow to use pretty output in bats for terminal mode
Change-Id: I886af024aaca963329c0fd0982f073fa3380a624
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 10:19:26 +01:00
Florent BENOIT f64de5a166 Adds bats-support and bats-assert.
- It allows to use smart helper like assert_equals, assert_output etc.

Change-Id: I0f539d9d087a0ab8ecff5de642ee6d0646e12a3b
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 10:19:26 +01:00
Marián Labuda c32d871f02 New tests for CLI, refactoring of CLI scripts, fix destroy cmd (#3700)
* New tests for CLI, refactoring of CLI scripts, fix destroy cmd

Signed-off-by: mlabuda <mlabuda@redhat.com>
2017-01-20 06:54:36 -08:00