GithubHelp home page GithubHelp logo

d1no / evaluation-devcontainer-tilt Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 45 KB

Evaluation of DevContainers with Tilt and Kubernetes

Dockerfile 3.52% Shell 74.19% Starlark 6.82% Python 3.48% HTML 0.53% CSS 2.38% JavaScript 9.08%

evaluation-devcontainer-tilt's Introduction

Evaluating DevContainer for Service & Product Engineering

Goal:

  • Easy engineering onboarding with one command
  • By using VS Code or Github CodeSpaces to open a mono repo in a container
  • Than just run tilt up
  • Have the whole system running with live updates on code changes

Problem:

  • Remote containers have many bugs between architectures. I.e. things that run in codespace run or don't build on apple silicon etc. Even though the container is created by the vs code gui โ€” no manual dockerfiles.
  • Build not reliable. I.e. postCreateCommand of the devcontainer.json not executing reliably.
  • Even when run, visual test runners like cypress require a gui shell to be interactive. Though there are a few approaches enabling VNC browser views.

original readme below


Tilt Avatars - Getting Started Sample Project

Build Status

Tilt Avatars is a small sample project used by the Tilt Getting Started guide.

It consists of a Python web API backend to generate avatars and a Javascript SPA (single page app) frontend. If you are not a Python or Javascript guru, don't panic! The focus of this project is on introducing the Tiltfile and other Tilt concepts: the services are demonstrative to support the guide, but you do not need to understand the code within them to be successful.

We also know that no two projects are alike! This project uses Dockerfiles with Docker as the build engine and kubectl friendly YAML files. These only cover a small subset of Tilt functionality but have been chosen to minimize dependencies.

Even if you're using other technologies (e.g. podman or helm), we recommend starting here to learn the Tilt fundamentals. After you're comfortable with how Tilt works, we've got a more comprehensive guide on authoring your first Tiltfile from scratch that covers much more.

Running

You'll need to first install Tilt and prerequisites (Docker + local Kubernetes cluster).

Once you've installed Tilt, clone this repo and launch Tilt:

git clone https://github.com/tilt-dev/tilt-avatars.git
cd tilt-avatars
tilt up

Need Help?

Join us on the Kubernetes Slack in #tilt!

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.