55
Eclipse Con France 2016 - June 8 Stevan Le Meur (@stevanLM) - Codenvy Florent Benoit (@florentbenoit) - Codenvy #eclipseche Code in the cloud with Eclipse Che and Docker

Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Embed Size (px)

Citation preview

Page 1: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Eclipse Con France 2016 - June 8

Stevan Le Meur (@stevanLM) - CodenvyFlorent Benoit (@florentbenoit) - Codenvy

#eclipseche

Code in the cloud with Eclipse Che and Docker

Page 2: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Agenda

Introduction to Eclipse Che

Live Demo

Workspace Portability - A Workspace when you Need It!

Page 3: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

The Developer Environment Configuration Problem

Page 4: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Working on multiple projects, technologies

Page 5: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Working in teams with style...

All differents - but all goods

Page 6: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Documentation, Scripts ?

READ THE SOURCE LUKE !!

Page 7: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Manual, Error Prone and - in hours, days, weeks?

Page 8: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Or not?

Page 9: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Embarrassed.Ashamed.Defeated.

Page 10: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Why can’t it just &%$@# work??

Page 11: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Anyone, anytime can contribute to a project without installing software.

Page 12: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Open source <> community

Page 13: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Agile development feels more natural

Page 14: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Iterate in-the-moment with users

Page 15: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

What is needed to make a contribution?

IDE Project Files Runtime

Page 16: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Configuration

Workspaces include projects and config

IDE RuntimeProject Files

Workspace

Page 17: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

config server

JetBrains Oomph

config + install peer-2-peer

Flux

How to share your workspace...

IDE IDE + Projects Projects

Page 18: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

How do you sync the runtime?

RuntimeRuntime

Page 19: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

sharing controlling scaling

Localhost runtime has constraints

Page 20: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Redefine the workspace

IDE RuntimeProject Files

Page 21: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

A universal workspace leads to universal contributions.

No credit card is more acceptedWorkspace

Page 22: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Eclipse Che is an open source project to make workspaces universal.

Page 23: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 24: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces bring their own runtimes

Machine runtime defined by Dockerfile

Page 25: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Projects are mounted into the runtime

Projects rely on workspace runtime

Page 26: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces define commands

mvn clean install

start mysql

deploy project

Commands are executed as processes in workspace runtime

Page 27: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces serve their own browser IDE

Page 28: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Desktop IDEs can connect over SSH

Page 29: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces are hosted in Che’s server

Page 30: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Eclipse Che bring its own browser IDEto provide new developer experience

Page 31: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 32: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces are shareable

Page 33: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Workspaces are portable

Page 34: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Live Demo: Introduction to Eclipse Che

1. Terminal2. Editor3. Java intellisense4. Commands5. Debug6. Save to the cloud

Page 35: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Demo recap

Creation of a workspace and project

Editor Overview

Interacting with Stacks - Commands

Debugger

Page 36: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 37: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Swagger!

Page 38: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 39: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

What happens if your workspace contains runtimes identical to those in production?

Development

Production

Page 40: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 41: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Growing the base of plug-ins...

Page 42: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

The browser IDE

Page 43: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

The dashboard

Page 44: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Runtime InsideCollaborativeProgrammableVersionableExtensible

Universal workspace

Page 45: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016
Page 46: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Load or create new workspace

Securely onboard developer

http://someurl/factory?id=a_project

Page 47: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

The dream realized

Developer Workspace

Page 48: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Open source project Badging

Developer Workspace

Page 49: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Codenvy open source

4 GB Workspaces

Page 50: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

JIRA integration

Page 51: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Jenkins integration

Page 52: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Get started with Eclipse Che

Sources github.com/eclipse/che

Dev List [email protected]

IRC #eclipseche

Gittergitter.im/eclipse/che

Page 53: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

And of course...BETA

eclipse.org/che Getting started guides Downloads Documentations Contribution guide

Page 54: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Questions ?

Page 55: Code in the cloud with Eclipse Che and Docker - EclipseCon France 2016

Thank you