Commit Graph

20 Commits (e04bde1dc4e8db69fa792c3a6e7788fd13015239)

Author SHA1 Message Date
Vitalii Parfonov 28b42e335b
Set default organization to 'quay.io/eclipse' instead of 'eclipse' (#15768)
* Set default organization to 'quay.io/eclipse' instead of 'eclipse'

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>

* Fix image name in Happy path tests

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

* Fix che-server image address in tests

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

Co-authored-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-01-22 21:12:08 +02:00
Michal Vala 50811a5a2c replace sed delimiters to be able to use / in docker image buildscript 2019-09-17 13:31:22 +02:00
Ding Fei 3400903f36 Fix docker build status test
Build status is cleared by inserted command;

Signed-off-by: Ding Fei <danix800@gmail.com>
2019-05-22 16:20:02 +02:00
Vitaliy Gulyy 21318aeec8
build.sh become working on Ubuntu / Linux Mint (#12004)
* Use bash instead sh

* Revert .gitignore
2018-11-21 12:37:27 +02:00
Mykhailo Kuznietsov dcb00c53d0
Fix remaining files with licenses (#10746) 2018-08-21 10:25:45 +03:00
Roman Iuvshyn 9fa80210c6
fix build.sh for theia image (#9850)
* fix build.sh for theia image
2018-05-29 15:28:19 +03:00
Roman Iuvshyn 237aaec762
Allow using --build-arg in build.sh scripts (#9111) 2018-03-16 12:14:35 +02:00
Florent BENOIT badd042aa1 Allow to build all Dockerfile that are in a given directory.
for example for che-server, there is a Dockerfile and Dockerfile.centos file
using : ./build.sh will build both files resulting in

Dockerfile ---> eclipse/che-server:nightly
Dockerfile.centos --> eclipse/che-server:nightly-centos

if there is another file named Dockerfile.xyz it will result in a new image named : eclipse/che-server:nightly-xyz

We can specify only one Dockerfile to use by using --dockerfile:Dockerfile.centos argument for example

Change-Id: I0b36e975af5af085e34a72863bdca4f424d7fed4
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-11-15 07:48:49 +01:00
Roman Iuvshyn 79192792b4 fix build.sh for all docker files, fix cli tests (#6513) 2017-09-30 12:28:55 +03:00
Roman Iuvshyn 2f4b2a30b9 fix build all script 2017-09-28 13:29:59 +03:00
Roman Iuvshyn 66d6f9476a fix docker images build (#6372)
* fix docker images build
2017-09-21 11:13:26 +03:00
Roman Iuvshyn 6fe743e321 interrupt build scripts for Dockerfiles on failure (#6363) 2017-09-20 16:02:54 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
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
Tyler Jewell 8287fb66d3 Refactor CLI: Faster boot, add `--help` global option, standardize command lifecycle (#4006)
Signed-off-by: Tyler Jewell <tjewell@codenvy.com>
* multi container fixup
* Update images
* add --help parameter
* move entrypoint
* remove empty
2017-02-06 07:37:08 -08:00
Florent BENOIT 5cf7dad0c8 Rename eclipse/che-cli to eclipse/che but adds previous name with an alias (#3692)
Change-Id: I99bd62739282c0342610012d089fc90b8d1a1caa
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
2017-02-02 10:08:22 +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
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
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