Skip to content

tilt-dev/tilt-example-bazel

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Don't hard-code path to go_binary output location.

rules_go says that this path is not stable

* Also illustrate how one could live-update a nodejs_image

This doesn't produce a single statically-linked executable so it's harder for users to intuit what to do
d286402

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tilt-example-bazel

Build Status

An example project that demonstrates setting up a Go/Bazel project in Kubernetes.

This repo will be easier to follow if you're already familiar with Bazel and how to set it up for Go projects. If you're not, we recommend these guides:

Step by Step Demo projects

In each project, run tilt up to build and run:

  • 0-base: The simplest way to start
  • 1-measured: Use local_resource to measure your deployment time
  • 2-deps: Use Bazel to generate dependencies, instead of hard-coding them in the Tiltfile.
  • 3-recommended: Live-update compiled binaries into the container.

License

Copyright 2020 tilt.dev

Licensed under the Apache License, Version 2.0

About

Iterative examples of how to set up Bazel with Tilt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •