Skip to content
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

Chefile Phase 2 #2266

Closed
28 tasks done
benoitf opened this issue Aug 30, 2016 · 4 comments
Closed
28 tasks done

Chefile Phase 2 #2266

benoitf opened this issue Aug 30, 2016 · 4 comments
Assignees
Labels
kind/enhancement A feature request - must adhere to the feature request template. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.
Milestone

Comments

@benoitf
Copy link
Contributor

benoitf commented Aug 30, 2016

Epic issue about improvements that should be made on Chefile

  • ECLIPSE CHE(dir) ECLIPSE CHE(action): format
  • table output for action list-workspaces / no log prefix on output
  • che dir ssh: if no ssh-agent display "The SSH agent has been disabled for this workspace"
  • Respect the environment variable values passed along from Che CLI
  • SSH improvements for Che
  • Provide Chefile for Che repository
    • --> requires properties allowing several 'volumes mount' for current folder and docker socket (for now che.properties is only allowing one user custom volume) Allow mounting of multiple volumes to mount properties #2264
    • --> requires properties allowing several 'volumes mount' for current folder and docker socket (for now che.properties is only allowing one user custom volume) in new model of environment backport PR2264 into CHE-1818 branch #2288
    • Allow to define custom recipe
    • Allow to set project type other than blank
    • Allow to use macros in commands -- see new macro types
      • => requires server-side macro handling
  • che dir destroy for removing workspace
  • che dir ssh to connect through ssh to remote machine
  • Add other projects than the current dir workspace (use of Project importers) : work in progress
  • Syntax coloring for Chefile editors? PR submitted Adds Chefile mapping so we can have syntax highlighting #2657
  • Chefile Adapter
  • remote Che
    • che dir <tobedefined ?> to connect with local workspace with Docker API (for example ssh is not defined) or as fallback to ssh
    • Define set of files to be opened for clients like IDE for a given workspace
    • => requires IDE enhancement
  • "che action". In the docs, it says it should list all available actions. But it just gives an error - asking you to provide an action.

New syntax

# Runtime to use for this workspace
workspace.runtime.docker.image="codenvy/alpine_jdk8"

workspace.runtime.docker.dockerfile= `
FROM ...
RUN ...
ENV ...
`

workspace.runtime.docker.composefile= `
version: 2
`

workspace.runtime.docker.location= "http://gist...../my-dockerfile"
# Configure project properties
workspace.projects[0].type = "maven"
@benoitf benoitf added the kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. label Aug 30, 2016
@benoitf benoitf self-assigned this Aug 30, 2016
@TylerJewell
Copy link

@benoitf - will you provide a template of all the new chefile syntax that will be introduced for these changes into the epic? Thanks.

@benoitf
Copy link
Contributor Author

benoitf commented Aug 30, 2016

@TylerJewell OK i will

@TylerJewell
Copy link

See the pull request for the new Chefile - #2289

@benoitf benoitf added the status/in-progress This issue has been taken by an engineer and is under active development. label Sep 20, 2016
@benoitf
Copy link
Contributor Author

benoitf commented Sep 21, 2016

Issue related to #2059

benoitf added a commit that referenced this issue Sep 29, 2016
#2266

Change-Id: Id812a92bf51d58cabda4a9840acbb3e7f6cbafe2
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
@bmicklea bmicklea added the kind/enhancement A feature request - must adhere to the feature request template. label Nov 3, 2016
@benoitf benoitf removed the status/in-progress This issue has been taken by an engineer and is under active development. label Dec 1, 2016
@benoitf benoitf added this to the 5.0.0-M8 milestone Dec 1, 2016
@benoitf benoitf closed this as completed Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.
Projects
None yet
Development

No branches or pull requests

3 participants