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
33 lines
569 B
Bash
Executable File
33 lines
569 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
if [ ! -f ${HOME}/.kube/config ]
|
|
then
|
|
echo "Skipping end to end tests, no cluster credentials"
|
|
exit 0
|
|
fi
|
|
|
|
source $(dirname $0)/test_utils.sh
|
|
|
|
REPO=gcr.io/fission-ci
|
|
IMAGE=$REPO/fission-bundle
|
|
FETCHER_IMAGE=$REPO/fetcher
|
|
TAG=test
|
|
|
|
build_and_push_fission_bundle $IMAGE:$TAG
|
|
|
|
build_and_push_fetcher $FETCHER_IMAGE:$TAG
|
|
|
|
build_builder
|
|
|
|
ENV='python3'
|
|
|
|
build_and_push_env_runtime $ENV $REPO/$ENV-env:$TAG
|
|
|
|
build_and_push_env_builder $ENV $REPO/$ENV-env-builder:$TAG
|
|
|
|
build_fission_cli
|
|
|
|
install_and_test $IMAGE $TAG $FETCHER_IMAGE $TAG
|