-
Task
-
Resolution: Done
-
Critical
-
None
-
None
-
Quality / Stability / Reliability
-
5
-
False
-
-
False
-
-
-
None
The KAI extension should work in RH Devspaces (VSCode in web environment), this requires additional steps to set everything up.
This new pipeline should:
- Allow to install devspaces on a cluster
- Configure devspaces to pass the following variables to every new workspace (https://docs.redhat.com/en/documentation/red_hat_openshift_dev_spaces/3.24/html/administration_guide/configuring-devspaces#configuring-server-components)
-
OPENAI_API_KEY=The same we use for the linux pipeline
KAI_QE_S3_BUCKET_NAME=kaiqe- AWS env variables
- The extension won't work in an environment with a self-signed certificate by default, so the certifcate needs to be installed locally in the runner.
- Clone the editor-extension repo, install the dependencies under the "test" folder and configure the following env variables:
WEB_ENV="1"
WEB_BASE_URL="https://devspaces.apps.mig08.rhos-psi.cnv-qe.rhood.us" (using the corresponding cluster)
WEB_LOGIN="kubeadmin"
WEB_PASSWORD="kubeadminPasswordForTheCluster"
VSIX_DOWNLOAD_URL="" This should be the latest vsix file from the dev builds https://github.com/konveyor/editor-extensions/releases/tag/development-builds This can be included right away in the .env file by running "node tests/scripts/scripts/set-latest-vsix-env.mjs"
- Run the `e2e/tests/base/fix-one-issue.test.ts` command
- Upload same artifacts as the linux pipeline
- Report failures to the team-mig-ai-qe Slack channel
There are no Sub-Tasks for this issue.