Coder Social home page Coder Social logo

mmistretta / codeready-workspaces Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-developer/devspaces

0.0 1.0 0.0 4.66 MB

Repository for the codeready workspaces Che assembly

License: Eclipse Public License 2.0

Dockerfile 0.69% CSS 1.39% Shell 44.03% Java 37.08% Groovy 16.81%

codeready-workspaces's Introduction

What’s inside?

Note
the so-called master branch is deprecated and is no longer kept up to date.

For the latest release, see the crw-2.y-rhel-8 branch with the largest y value.


This repository hosts CodeReady Workspaces assembly that mainly inherits Eclipse Che artifacts and repackages some of them:

Differences as compared to upstream:

  • Customized Dashboard (pics, icons, titles, loaders, links)

  • Samples and Stacks modules

  • Bayesian Language Server and agent

  • Product Info plugin (IDE customizations: pics, titles links)

  • Custom Dockerfile based on official RH OpenJDK image from RHCC

Note
Dockerfiles in this repo are NOT the ones used to build RHCC container images in OSBS.

How to Build

Pre-reqs

JDK 11 Maven 3.5+

Build Assembly

Run the following command in the root of a repository:

mvn clean install

The build artifact used in the container image will be in assembly/codeready-worksapces-assembly-main/target

How to Build Container Image Locally

First, build the CRW assembly in this repo:

mvn clean install

Then just use the Dockerfile in this repo to build:

podman build --force-rm -t registry.redhat.io/codeready-workspaces/server-rhel8:2.5 . && \
podman images | grep registry.redhat.io/codeready-workspaces/server-rhel8:2.5

You can then reference this image in your deployment (set image pull policy to Always to make sure it’s pulled instead of the default one).

For more info on how to test locally built changes in a local OKD 3.11 (Minishift 1.34) cluster, see Build CodeReady Workspaces server container locally and deploy using Minishift.

Note

Once published, images will be in locations like these:

  • registry.redhat.io/codeready-workspaces/configbump-rhel8

  • registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator

  • registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata

  • registry.redhat.io/codeready-workspaces/devfileregistry-rhel8

  • registry.redhat.io/codeready-workspaces/imagepuller-rhel8

  • registry.redhat.io/codeready-workspaces/jwtproxy-rhel8

  • registry.redhat.io/codeready-workspaces/machineexec-rhel8

  • registry.redhat.io/codeready-workspaces/pluginbroker-artifacts-rhel8

  • registry.redhat.io/codeready-workspaces/pluginbroker-metadata-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-java11-openj9-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-java11-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-java8-openj9-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-java8-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-kubernetes-rhel8

  • registry.redhat.io/codeready-workspaces/plugin-openshift-rhel8

  • registry.redhat.io/codeready-workspaces/pluginregistry-rhel8

  • registry.redhat.io/codeready-workspaces/server-rhel8

  • registry.redhat.io/codeready-workspaces/stacks-cpp-rhel8

  • registry.redhat.io/codeready-workspaces/stacks-dotnet-rhel8

  • registry.redhat.io/codeready-workspaces/stacks-golang-rhel8

  • registry.redhat.io/codeready-workspaces/stacks-php-rhel8

  • registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8

  • registry.redhat.io/codeready-workspaces/theia-rhel8

  • registry.redhat.io/codeready-workspaces/traefik-rhel8

How to Build Container Using Jenkins and OSBS/Brew (REQUIRES VPN)

If you have access to Red Hat VPN, clone the pkgs.devel repo, then run the get-sources-jenkins.sh script to pull the latest dependency tarball into the local project, and trigger a Brew build.

kinit
git clone ssh://[email protected]/containers/codeready-workspaces
cd codeready-workspaces
./get-sources-jenkins.sh

See also:

See this document for more on how to use those build systems, in order to publish a container image to Red Hat Container Catalog:

Keeping in sync with upstream

The Dockerfile and entrypoint.sh scripts in this repo are copied from upstream repo into this one using a Jenkins job which adjusts it so it will work locally.

Therefore any changes to files in this repo which also exist in upstream will be overwritten. Instead, push your changes into the pkgs.devel repo, and run the job to merge them into this one.

Branding

To reskin this assembly, you need to edit the following files:

See also SVG assets in product/branding/ folder.

Note
When saving files in Inkscape, make sure you export as Plain SVG, then edit the resulting .svg file to remove any <metadata>…​</metadata> tags and all their contents. You can also remove the xmlns:rdf definition. This will ensure they compile correctly.

codeready-workspaces's People

Contributors

akurinnoy avatar amisevsk avatar andrienkoaleksandr avatar apupier avatar artaleks9 avatar devstudio-release avatar dipika21 avatar dmytro-ndp avatar ericwill avatar ghatwala avatar jpinkney avatar kcrane avatar l0rd avatar mkuznyetsov avatar musienko-maxim avatar nickboldt avatar ohrimenko1988 avatar olexii4 avatar rhopp avatar skabashnyuk avatar skoriksergey avatar sleshchenko avatar sunix avatar svor avatar tolusha avatar tsmaeder avatar vitaliy-guliy avatar vparfonov avatar vrubezhny avatar vzhukovs 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.