feat(tvix/build-go): init
This adds the generated golang bindings for tvix-build. Change-Id: I2eb0d1cc38bc2fa34afd7c904eea05c5ee192cce Reviewed-on: https://cl.tvl.fyi/c/depot/+/10242 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz>
This commit is contained in:
parent
fd27d8ddc3
commit
a1b2dc8aaf
9 changed files with 881 additions and 2 deletions
|
|
@ -20,6 +20,10 @@
|
|||
alias ${depot.tvix.docs.svg}/component-flow.svg;
|
||||
}
|
||||
|
||||
location = /go-get/tvix/build-go {
|
||||
alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/build-go git https://code.tvl.fyi/depot.git:/tvix/build-go.git"></html>''};
|
||||
}
|
||||
|
||||
location = /go-get/tvix/castore-go {
|
||||
alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/castore-go git https://code.tvl.fyi/depot.git:/tvix/castore-go.git"></html>''};
|
||||
}
|
||||
|
|
@ -32,9 +36,9 @@
|
|||
alias ${pkgs.writeText "go-import-metadata.html" ''<html><meta name="go-import" content="code.tvl.fyi/tvix/nar-bridge git https://code.tvl.fyi/depot.git:/tvix/nar-bridge.git"></html>''};
|
||||
}
|
||||
|
||||
location = /tvix/nar-bridge {
|
||||
location = /tvix/build-go {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/nar-bridge;
|
||||
return 302 /go-get/tvix/build-go;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -50,6 +54,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
location = /tvix/nar-bridge {
|
||||
if ($args ~* "/?go-get=1") {
|
||||
return 302 /go-get/tvix/nar-bridge;
|
||||
}
|
||||
}
|
||||
|
||||
# Git operations on depot.git hit josh
|
||||
location /depot.git {
|
||||
proxy_pass http://127.0.0.1:${toString config.services.depot.josh.port};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue