redhat-developer / devspaces-gateway-plugin

https://plugins.jetbrains.com/plugin/24234-openshift-dev-spaces
Eclipse Public License 2.0
3 stars 0 forks source link

OpenShift Dev Spaces Gateway Plugin

Build Version Downloads

Plugin for JetBrains Gateway enables local desktop development experience with the IntelliJ IDEs connected to OpenShift Dev Spaces.

Development

./gradlew runIde
./gradlew runIde --args="jetbrains-gateway://connect#type=devspaces&dwNamespace=john-che&dwName=my-ws"

with replacing your DevWorkspace's namespace and name in dwNamespace and dwName parameters.

Building

  1. Run:
./gradlew clean buildPlugin
  1. Find the built plugin in the build/distributions folder.

Installation

In the Gateway, click the gear button ⚙️, and choose Manage Providers to open the Plugins window.

There're a couple of options to install the plugin:

IntelliJ Plugin Verifier

To check the plugin compatibility against the Gateway versions defined in the gradle.properties file.

./gradlew runPluginVerifier

Release

  1. Find a draft release on the Releases page. The draft is created and updated automatically on each push to the main branch.
  2. Edit the draft and use the Publish release button. The Release Workflow will attach the built plugin artifact to the published release.
  3. Find the Changelog update PR, created automatically by the Release Workflow, and merge it.
  4. Update the pluginVersion in the gradle.properties file.

Plugin based on the IntelliJ Platform Plugin Template.