Code Monkey home page Code Monkey logo

files-gitpod's Introduction

Hi there ๐Ÿ‘‹

Social

Twitter LinkedIn StackOverFlow Slack

Techs

R Python C C++ Java Rust Scala Perl Keras TensorFlow Pandas NumPy Jupyter Markdown Shell Script LaTeX Postgres MySQL MongoDB SQLite Flask GitHub GitHub Actions TravisCI AWS Docker Kubernetes Vagrant Rancher Raspberry Pi

Misc

Shell VS Code

files-gitpod's People

Contributors

andrewcstewart avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

files-gitpod's Issues

Optimize gitpod workspace image for Meltano

Background

The workspace setup by the plugin's gitpod configuration is a bit convoluted at the moment. Part of the workspace is defined in the installed .gitpod/Dockerfile, and part in the installed .gitpod.yml. The latter contains the following, for example:

  - name: meltano setup
    env:
      PIP_USER: false
    init: |
      export PIP_USER=false
      cd meltano
      python3 -m venv .venv
      source .venv/bin/activate
      mkdir .meltano
      pip install meltano
      meltano install

This state is largely a historical remnant from multiple rounds of troubleshooting due to changes in the underlying gitpod workspace image (ie gitpod/workspace-full, etc) or in some cases dependency breakages.

Another reason this is overly complicated is because gitpod's default python environment in its official workspace images is opinionated towards pyenv. So there are some workarounds in this plugin's configuration.

Meltano has had some conflicts with other Python dependency manager systems (see https://gitlab.com/meltano/meltano/-/issues/141), so it might be worth consulting with folks on the Meltano team to figure out what kind of workspace image is going to place nicely with Meltano.

Problem

It would be great to formulate a new gitpod configuration (some combination of .gitpod.yml and Dockerfile) that is more native-Meltano-friendly.

  • Q: Why not just use the official Meltano docker image?
  • A: We could, but the Gitpod provided workspace images to include some additional tools that are handy for development, like docker(-in-docker), etc.

Related information...

Relevant feature request I left over at gitpod: gitpod-io/workspace-images#870

Current list of gitpod provided workspace images: https://github.com/gitpod-io/workspace-images

Example of a Dockerfile that might serve as good example: https://github.com/ElectronicBabylonianLiterature/ebl-api/blob/master/.gitpod.Dockerfile

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.