Commit Graph

10 Commits (f052d14bac5a470a2e32996d5c042cbb754875c4)

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 26e4cefdba Add search algorithm for host ip with fedora enp* network interfaces #4020
Change-Id: I6b65eba02eaab76260d33ffb323fe7413d5ee162
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-23 09:28:49 +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
Roman Iuvshin 812edb56f4 remove pretty output in tests because it fails on CI (#3983)
* remove pretty output in tests because it fails on CI
2017-02-01 13:10:07 +02:00
Florent BENOIT 61894e5f78 [cli] rewrite of che-ip utility (#3952)
* Fix #3941 by rewriting che-ip utility
 - Rewrite che-ip with more helper functions
 - introduce bats unit tests for each function
 - For each “supported OS”, we have an output of “ip a show” command and then run against each of this file the tool to check if it performs as expected

./build.sh : build image + run tests (option to skip tests = —skip-tests)
./run.sh   : run image
./test.sh   : run the unit tests (no need to build the image first)

Change-Id: Ic92825d2b427139d52db69f0131bee21d16d3c0f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-01-31 18:56:09 +01:00
Roman Iuvshin f8bbeed4f7 fix che-ip (#3690)
on some OS che-ip does not work because output is different.
here I've added reg-ex `.*` which assume that scope can be differ from `global` and some extra words could appear like `dynamic`.
2017-01-12 15:13:32 +02:00
Mario Loriedo 39416e19a0 Minor dockerfiles build fixes
Signed-off-by: Mario Loriedo <mloriedo@redhat.com>
2017-01-04 10:13:51 +01:00
Tyler Jewell 915f32f7b7 Exclude IP addresses from aliased interfaces (#3582) 2017-01-02 14:17:32 -08:00
Florent BENOIT 940b0bc7bd [dockerfiles] Fix scripts to be compliant with sh (and not only bash) (#3397) 2016-12-15 03:21:12 -07:00
Florent BENOIT 56ddd58481 Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder
Change-Id: I4c258775a4a67a87cba3b3dbfbc1af2cc2f8416f
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2016-12-01 06:10:34 -07:00