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:
Ta-Ching Chen
2017-11-06 23:01:46 -08:00
committed by Soam Vasani
parent 380b7d1bcd
commit a63b8b372f
13 changed files with 150 additions and 81 deletions
+15 -10
View File
@@ -50,10 +50,17 @@ build_and_push_fetcher() {
popd
}
build_and_push_python_env_runtime() {
image_tag=$1
build_builder() {
pushd $ROOT/builder/cmd
./build.sh
popd
}
pushd $ROOT/environments/python3/
build_and_push_env_runtime() {
env=$1
image_tag=$2
pushd $ROOT/environments/$env/
docker build -t $image_tag .
gcloud_login
@@ -62,13 +69,11 @@ build_and_push_python_env_runtime() {
popd
}
build_and_push_python_env_builder() {
image_tag=$1
build_and_push_env_builder() {
env=$1
image_tag=$2
pushd $ROOT/builder/cmd
./build.sh
popd
pushd $ROOT/environments/python3/builder
pushd $ROOT/environments/$env/builder
builderDir=${GOPATH}/src/github.com/fission/fission/builder/cmd
cp ${builderDir}/builder .
@@ -80,7 +85,6 @@ build_and_push_python_env_builder() {
popd
}
build_fission_cli() {
pushd $ROOT/fission
go build .
@@ -240,6 +244,7 @@ dump_logs() {
dump_fission_logs $ns $fns controller
dump_fission_logs $ns $fns router
dump_fission_logs $ns $fns poolmgr
dump_fission_logs $ns $fns buildermgr
dump_function_pod_logs $ns $fns
dump_fission_crds
}