Skip to content

chore : add a devfile for using project from Cloud Develpment Environments #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rohanKanojia
Copy link

What does this PR do?

In order to make GitHub action for building and pushing tooling container image, we need to add these Secrets to GitHub Actions configuration:

  • PUSH_PASSWORD : password for pusing to quay.io/wto

It adds a Devfile (plus the tooling container Dockerfile and the GH to build it) that has a couple of commands to:

  1. Build and push WTO controller image
  2. Register CatalogSource and install the operator
  3. Register CatalogSource only
  4. Unregister CatalogSource
  5. Uninstall the Web Terminal Operator

I was facing some issues with make uninstall target, I have made some modifications in Makefile :

  • I couldn't find any CustomResourceDefinition named workspaceroutings.controller.devfile.io , Probably it was renamed but we forgot to update it's reference. I've renamed it to devworkspaceroutings.controller.devfile.io
  • I couldn't find any CustomResourceDefinition named components.controller.devfile.io, I removed step for uninstalling it
  • I couldn't find any ConfigMap devworkspace-controller in openshift-operators namespace, I removed step for uninstalling it
  • I couldn't find any Makefile target named uninstall_v1_2 , I've removed it from README

What issues does this PR fix or reference?

It's a part of #173

Is it tested? How?

Go to Eclipse Che Dashboard and open this project https://github.com/rohankanojia-forks/web-terminal-operator

Once project is loaded, click on Run Task > select task: devfile , you would see these options:
Screenshot_20250620_160149

Copy link

openshift-ci bot commented Jun 20, 2025

Hi @rohanKanojia. Thanks for your PR.

I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant