-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This command line tool overhauls the initial setup for Kubernetes deployments. The new tool gives us more information when something doesn't work out as intended and brings the the cluster setup considerably closer to what one would expect in a production grade system. The nativelink image and worker containers are now fully built in the cluster via Tekton Pipelines. Rebuilds may be triggered with curl requests instead of the old `nix run .#xxx.copyTo` workflow. This makes the setup more generic and provides clearer pointers on how to bring the system into continuously updating production workflows. The `native` tool is technically fully self-contained. The examples still make use of some local paths, but it's now possible to set up the cluster and deploy NativeLink in it without cloning the nativelink repository. This requires slightly modified `01_operations.sh` scripts which we'll add as a new example.
- Loading branch information
1 parent
4082759
commit 4107fec
Showing
33 changed files
with
2,305 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ rebase | |
remoteable | ||
Chromium | ||
namespace | ||
Pulumi | ||
Tekton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ result | |
.bazelrc.user | ||
MODULE.bazel.lock | ||
trivy-results.sarif | ||
Pulumi.dev.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
linters: | ||
enable-all: true | ||
disable: | ||
# Deprecated. | ||
- nosnakecase | ||
- interfacer | ||
- exhaustivestruct | ||
- ifshort | ||
- deadcode | ||
- varcheck | ||
- golint | ||
- maligned | ||
- scopelint | ||
- structcheck | ||
|
||
# Allow all packages for now. | ||
- depguard | ||
|
||
# TODO(aaronmondal): Fix these at some point. | ||
- exhaustruct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: nativelink | ||
org: TraceMachina | ||
runtime: go | ||
description: The development cluster for NativeLink. | ||
organization: | ||
pulumi:tags: | ||
company: "Trace Machina, Inc." | ||
backend: | ||
# Only intended to run locally. | ||
url: file://~ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.