Commit Graph

8396 Commits (e8ab082be15172ce5cfd26e0ec9dd696741c00a8)

Author SHA1 Message Date
Oleksii Orel e8ab082be1
Fix workspaces for UD (#15784)
* fix workspace list

Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-01-23 15:10:07 +02:00
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
Max Shaposhnik dc2f3b5ea9
Set current GitHub repository URL and branch into devfile projects if they're missing or didn't match 2020-01-22 19:41:46 +02:00
Valeriy Svydenko 3ccf91192b
Fix the URL to devfile doc (#15774)
Signed-off-by: svor <vsvydenk@redhat.com>
2020-01-22 16:57:20 +02:00
Oleksii Kurinnyi a5f510162c
[UD] view and change target kubernetes namespace when creating a new workspace (#15704)
* Added API service to fetch kubernetes namespaces

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Added `kubernetes-namespace-selector` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Updated `ready-to-go-stacks` component

Added directive `kubernetes-namespace-selector` which  provides ability to choose an infrastructure namespace

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Updated `create-workspace` component

The component now takes into account the infrastructure namespace when creating a new workspace.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Updated `import-custom-stack` component

The component now takes into account the infrastructure namespace when preparing a new workspace devfile.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Updated `workspace-details-overview` component

Show the infrastructure namespace of current workspace

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2020-01-22 09:51:04 +02:00
Sergii Kabashniuk d98602c371
Replace hardcoded prometheus datasource with template (#15767)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-22 08:16:28 +01:00
Angel Misevski b714a6b31c Update CentOS dockerfile
The CentOS dockerfile is out of date and results in a non-runnable Che
container.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2020-01-21 10:08:59 -05:00
Igor Ohrimenko cbe8122d0b
[TS_SELENIUM] Create a method for expanding project tree according to the provided path (#15754)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-21 11:03:30 +02:00
Lukas Krejci 17d88e4e90
Fix the update validation error while stopping an idling workspace. (#15689)
Rework the namespace validation based on the suggestion by @sleshche. We now don't do full validation of update using the `validate` method but rather rely on `validateUpdate` to do the equivalent job.

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2020-01-17 10:04:45 +01:00
Lukas Krejci 19b197562e
Don't fail in `deleteIfManaged` when the namespace/project is not managed (#15688)
Don't fail in `deleteIfManaged` when the namespace/project is not managed.
Instead, ignore the request silently.

That seems to be the original intention based on the usage of the method
everywhere else but the test suite 8-|

Signed-off-by: Lukas Krejci <lkrejci@redhat.com>
2020-01-17 09:55:40 +01:00
Kateřina Foniok c2d65b4580
Extracting common test methods (#15619)
* Extracting common test methods and LS tests to separate files.

* Fix runtime error caused by imports. Add 'sort' to generateIndex.sh - the order should be the same from now.

* Separate test methods to files, fix comments from PR.

* Applying changes from comments.

* Changes regarding comments.
2020-01-17 08:21:34 +01:00
Igor Ohrimenko 4926bf318c
The "PreviewWidget.waitUrl" method has locator not applicable for all stacks (#15725)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-16 17:20:44 +02:00
Oleksandr Andriienko d13f9d3ecb
Add ability to set up Che workspace and postgress pvc class names using helm. (#15677)
*  Add ability to set up Che workspace and postgress pvc names using helm.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* improve helm value chePostgresPVCStorageClassName location

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>

* Fix indent in the yaml.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2020-01-16 12:30:21 +02:00
Oleksii Orel 0df8423c74 fix icon links for UD
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-01-16 11:08:50 +02:00
Igor Ohrimenko 201d5adf92
[Happy Path] Add checking of the deployed application readiness in the "Happy Path" scenario (#15692)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-14 17:48:11 +02:00
Radim Hopp 78e60e6ced Extract & edit `waitForDebuggerToConnect` according to Ihor's review.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-14 13:54:44 +01:00
Radim Hopp 520be8907c Fix Happy Path
https://github.com/eclipse/che/issues/15613

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-14 13:54:44 +01:00
Oleksii Orel b52a2efdce
Implemented the 'Get Started' page for UD (#15642)
* Implemented the 'Get Started' page for UD

Signed-off-by: Oleksii Orel <oorel@redhat.com>

* fix locator for Search field

* remove checkSearchField method from UNDER_REPAIR group in WorkspacesListTest

Co-authored-by: Sergey Skorik <sskoryk@redhat.com>
2020-01-14 13:26:48 +02:00
Masaki Muranaka 9d6cb68aa8
Merge pull request #15227 from kellyhyomin/che-15168
Update prometheus and grafana version in requirement.yaml file to be compatible with k8s v1.16
2020-01-14 09:33:24 +09:00
Max Shaposhnik 481ca8863f
Remove outdated class 2020-01-13 19:09:04 +02:00
Kye Maloy 9372118d51 Fixed readme, added signoff footer
Signed-off-by: Kye Maloy <kye.maloy@ibm.com>
2020-01-13 17:41:18 +01:00
Max Shaposhnik 5ced53ef23
Align configuration files format to simplify automated docs generating 2020-01-13 15:27:10 +02:00
Vitalii Parfonov dc3a427731
Remove not used properties from pom.xml (#15671)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-13 14:47:41 +02:00
Aleksandr Shmaraiev 6bf6ed1b24
Test E2E: Modify 'InstallCheByOperatorHub' to use it for update application (#15590)
* Modify 'InstallCheByOperatorHub' to use it for update application
* Create e2e 'SubscribeCheByOperatorHub' test
* Create 'mocha-che-subscribe-operator' file
* Add new test suite to 'package.json' file
* Update 'mocha-che-operatorhub' file
* Remove unused variable from 'TestConstants'
* Change timeout in 'SubscribeCheByOperatorHub' e2e test
2020-01-12 18:08:09 +02:00
Vitalii Parfonov c07e261ee3
Move to the quay.io (#15569)
* Move to the quay.io: change image id to use quay.io

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-11 16:11:34 +02:00
Vitalii Parfonov ff9de4bf79
Fix release command: use profile (#15657)
* Fix release command: use profile

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-10 19:46:49 +02:00
Max Shaposhnik 0cf3db9543
Allow to override attibutes in devfile by factory URL parameters 2020-01-10 14:01:07 +02:00
Radim Hopp 58972c02dd Fix mount target in e2e docker image for test report.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-10 11:28:22 +01:00
Angel Misevski 21c7288bad Refactor plugin brokering process
Refactor the plugin brokering process to accomodate changes in plugin
brokers (splitting brokers into a metadata and artifacts broker)

Co-authored-by: Sergii Leshchenko <sleshche@redhat.com>

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
2020-01-09 13:26:34 -05:00
Vitalii Parfonov 83f910128b
If tag set as nightly don't need to checkout instead just build master (#15640)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-09 16:41:07 +02:00
Vitalii Parfonov dcf2e1ee5f
RELEASE: Set next development version (#15632) 2020-01-09 13:51:20 +02:00
Sergii Kabashniuk 2e38478b4c
Disable CORS by default in helm (#15637)
* Disable CORS by default in helm. Align helm and che-operator configuration
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-09 09:54:52 +01:00
Michal Vala 0719bae7de
move previewurl to stable (#15618)
Signed-off-by: Michal Vala <mvala@redhat.com>
2020-01-09 09:37:53 +01:00
Radim Hopp 59e7aae2a0 Fix Happy Path
https://github.com/eclipse/che/issues/15613

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-08 14:49:12 +01:00
Vitalii Parfonov 3bdd67a5d1
Fix nigtly builds (#15617)
Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2020-01-08 13:02:15 +02:00
Sergii Kabashniuk ca86fcb97d
Reformat exception to better understand the source of the problem (#15597)
* Reformat exception to better understand the source of the problem

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-06 10:30:28 +02:00
Oleksii Orel 9173c5d288 fix creation of a new workspace from the custom devfile
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2020-01-03 15:09:13 +02:00
Sergii Kabashniuk ccc956b51e
Make PodEvents thread safe again (#15598)
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
2020-01-03 10:15:20 +02:00
Oleksii Kurinnyi a0addef5a3 Code cleanup (#15559)
* [UD] remove `usage-chart` directive

* [UD] remove `che-workspace-config-import` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `che-machine-selector` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `list-agents` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `list-env-variables` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `list-servers` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `workspace-machine-config` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `workspace-environments` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `list-commands` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `che-env-variables` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `che-machine-servers` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `che-machine-volumes` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `workspace-machines` component

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove `city-name-validator` directive

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove lists of countries and specialities

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [e2e] remove outdated tests

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove environment managers

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove workspace agent related code

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] remove workspace config related code

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* [UD] rename methods

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2020-01-02 18:40:12 +02:00
Igor Ohrimenko dfdc304120
[TS_SELENIUM] Update methods for waiting application readiness inside of workspace (#15596)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-02 14:10:53 +02:00
Igor Ohrimenko a5dcbfbb70
[TS_SELENIUM] Resolve a problem with lose focus during invoking suggestion container inside of the editor (#15580)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2019-12-27 16:10:45 +02:00
Aleksandr Shmaraiev df30053bc3
Tests E2E: Update e2e test 'InstallCheByOperatorHub' (#15575)
* Update e2e test  'InstallCheByOperatorHub'
* Correct imports in the test
2019-12-27 13:14:41 +02:00
Vitalii Parfonov 42e796f067
Fix scripts for release and nightly builds on ci.centos.org (#15573)
* Fix CI release job

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

* Add image tag setting script

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
2019-12-27 11:09:34 +02:00
Oleksii Orel e5cfda1c58 fixup! fix devfile editor in dashboard 2019-12-21 15:46:36 +02:00
Oleksii Orel 44fc533725 fix devfile editor in dashboard
Signed-off-by: Oleksii Orel <oorel@redhat.com>
2019-12-21 15:46:36 +02:00
Oleksii Kurinnyi c6ca8b44f2
Fix restarting a workspace from iframe in single-user mode (#15549)
* Fix restarting a workspace from iframe

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* Check keycloak presence before updating keycloak token

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
2019-12-21 12:02:10 +02:00
Kateřina Foniok 688115587b
Add Java Maven test (#15545)
* Add Java Maven test.

* Update Jenkinsfile.
2019-12-20 14:18:07 +01:00
Aleksandr Shmaraiev 0f19cec1f6
Update variables in 'TestConstant' file (#15550)
* Modify parameters and methods related to Chrome to launch e2e tests in docker
* Update variables in the 'TestConstants' file
2019-12-20 13:14:28 +02:00
Igor Ohrimenko 05dc11a9e2
[Happy Path] Check application readiness before opening the link by the "DialogWindow.waitDialogAndOpenLink" method (#15553)
* Check application readiness before opening the link by the "DialogWindow.waitDialogAndOpenLink" method

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2019-12-20 12:17:21 +02:00
Dmytro Nochevnov d749c88176
Fix pre-release Jenkinsfile to be compatible with 7.6.0 (#15544)
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
2019-12-20 09:09:00 +02:00