Builder manager bugfixes (#367)
This contains a few different builder manager fixes: * Update the zip file structure to avoid an extra subdirectory * Annotate packages with what functions are using them * Only trigger builds when there is no deployment archive * Python environment loadpath bugfixes * Other bugfixes
This commit is contained in:
committed by
Soam Vasani
parent
380b7d1bcd
commit
a63b8b372f
@@ -55,7 +55,6 @@ func envCreate(c *cli.Context) error {
|
||||
// Environment API interface version is not specified and
|
||||
// builder image is empty, set default interface version
|
||||
if envVersion == 0 {
|
||||
fmt.Println("Use default environment v1 API interface")
|
||||
envVersion = 1
|
||||
}
|
||||
|
||||
@@ -132,7 +131,7 @@ func envUpdate(c *cli.Context) error {
|
||||
}
|
||||
|
||||
if env.Spec.Version == 1 && (len(envBuilderImg) > 0 || len(envBuildCmd) > 0) {
|
||||
fatal("Environment v1 API interface doesn't supported environment builder.")
|
||||
fatal("Version 1 Environments do not support builders. Must specify --version=2.")
|
||||
}
|
||||
|
||||
if len(envBuilderImg) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user