feat(server): Reimplement creation & uploading of layers
The new build process can now call out to Nix to create layers and upload them to the bucket if necessary. The layer cache is populated, but not yet used.
This commit is contained in:
parent
61269175c0
commit
87e196757b
3 changed files with 258 additions and 95 deletions
|
|
@ -60,7 +60,7 @@ func getConfig(key, desc, def string) string {
|
|||
return value
|
||||
}
|
||||
|
||||
// config holds the Nixery configuration options.
|
||||
// Config holds the Nixery configuration options.
|
||||
type Config struct {
|
||||
Bucket string // GCS bucket to cache & serve layers
|
||||
Signing *storage.SignedURLOptions // Signing options to use for GCS URLs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue