che icon indicating copy to clipboard operation
che copied to clipboard

Automate workspace startup verification against the airgap Openshift cluster

Open ibuziuk opened this issue 2 years ago • 3 comments

Is your task related to a problem? Please describe

A periodic nightly job that:

  • creates the 4.10 airgap cluster
  • installs the nightly version of Eclipse Che
  • starts the workspace
  • wait till the workspace is in the running state
  • execute the build command

Describe the solution you'd like

probably we should start the automation with the che-code based workspaces

Describe alternatives you've considered

No response

Additional context

No response

ibuziuk avatar Jun 08 '22 08:06 ibuziuk

Outdated Jenkins job https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Che/job/e2e/job/ocp/job/complex/job/disconnected/job/disconnected-deploy/

Related CRW issue https://issues.redhat.com/browse/CRW-2496

tolusha avatar Jul 06 '22 12:07 tolusha

Old pipeline scripts to fix:

  • https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/4c24a7e0eb866bf2c50bb74ea8b84c96ec8939bf/jobs/Che/e2e/ocp/complex/disconnected/disconnected-deploy.groovy
  • https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/4c24a7e0eb866bf2c50bb74ea8b84c96ec8939bf/jobs/Che/e2e/ocp/complex/disconnected/disconnected-deploy.jenkinsfile

In order to respect our resources limitations, please, use dedicated AWS account, or dedicated Single Node airgap OCP on CRW AWS account, just for Eclispe Che testing.

Install script could be found in https://www.eclipse.org/che/docs/stable/administration-guide/installing-che-in-a-restricted-environment/

dmytro-ndp avatar Jul 07 '22 13:07 dmytro-ndp

@tolusha , @ibuziuk : about

  • starts the workspace
  • wait till the workspace is in the running state

@artaleks9 and @SkorikSergey has already been working on start of workspace using kubernetes API following instructions from https://github.com/eclipse/che/issues/20671#issuecomment-993051102 CRW Jenkins has a problem with yq / jq commands, so they have to be replaced with sed.

dmytro-ndp avatar Jul 07 '22 13:07 dmytro-ndp

https://github.com/openshift/release/pull/33476

tolusha avatar Oct 26 '22 16:10 tolusha

@tolusha is the issue still relevant?

ibuziuk avatar Feb 15 '23 13:02 ibuziuk

It is blocked by https://github.com/eclipse/che/issues/21994

tolusha avatar Feb 15 '23 14:02 tolusha

#21994 should be resolved now.

amisevsk avatar Jun 15 '23 22:06 amisevsk

https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/merge_requests/1658

tolusha avatar Aug 16 '23 08:08 tolusha