Giter Site home page Giter Site logo

devspaces-plugin-registry's Introduction

Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) Plugin Registry

This repository holds ready-to-use plugins for different languages and technologies.

Building and Publishing .vsix Files

Any .vsix file used in DS needs to be built from source and have sources published alongside it. This is a non-negotiable requirement, and means that .vsix files hosted on OpenVSX or elsewhere are not fit for use in DS.

Luckily there is an automatic way to build and publish .vsix files and their sources. Please raise a PR against the devspaces-vscode-extensions repository.

Plugin Registry Build Process

The DS plugin registry is a fork of the upstream Che plugin registry. While the build logic to build the actual registry is very similar to upstream, the steps required to actually build + publish the DS plugin registry images is quite different.

Local DS Plugin Registry Build Process

A local build works just like upstream -- use the build.sh script. The only difference in DS is that the resulting meta.yaml files generated by the build process are zipped up into a .tar.gz file and copied into the container. This differs from upstream which just copies the output folder directly.

DS Plugin Registry Build/Publish

All contributions to the DS plugin registry should land in this repository. From there on, the following things happen:

  1. Code in this repository is synchronized from this repo to the plugin registry directory in the devspaces-images repository by a Jenkins job.
  2. The job from step 1. kicks off a subsequent Jenkins job that then runs the bootstrap build, which uses the sync'd code in devspaces-images repository. The boostrap build builds the plugin registry in offline mode, using tagged image references. The resulting binaries and meta.yaml files are placed in a .tar.gz archive and the archive is committed to rhpkg for later usage in Brew.
  3. If step 2. is successful then a Brew build is kicked off. The Brew build copies the generated content in the .tar.gz archive from step 2. into the Dockerfile and completes the last stages of the plugin registry build.

Building and Publishing Third Party Binaries for Plugin Registry Sidecar Containers

Executables and language server dependencies needed in plugin sidecar containers can be built from this repo:

https://github.com/redhat-developer/devspaces-images

Sidecar image sources are then synced from the devspaces-images repo to a dist-git repo at Red Hat, and from built in Brew.

For example, the udi sidecar:

License

Red Hat OpenShift Dev Spaces is open sourced under the Eclipse Public License 2.0.

devspaces-plugin-registry's People

Contributors

gestrem avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.