Files
fission-src/test/run_test.sh
T
Erwin van EykandSoam Vasani 70a93a7302 Add Container object to environment build and runtime specs (#413)
Environment Specs so far had only an image URL to specify a container image.

This was fine for public images but fell short in a few of cases:
(a) Using private image registries
(b) Specifying environment variables (this is needed for workflows helm install)
(c) Setting a SecurityContext for the container

This change adds the Container object to both build and runtime Environments. 

Compatibility is preserved -- the existing ImageURL field is still used.  See the comments in types.go for the overriding rules in the case that both Container and ImageURL are specified.
2018-03-22 00:13:02 -07:00

11 lines
129 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
. $(dirname $0)/test_utils.sh
FILE=$(pwd)/$1
FAILURES=0
run_test ${FILE}
exit $FAILURES