Allow different namespaces in CI for fission-function and fission-builder (#2609)

* Add variables for function/builder namespace in the test
* Allow different namespaces in integration tests

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Shubham Bansal
2022-11-11 18:56:20 +05:30
committed by GitHub
co-authored by Sanket Sudake
parent fa037166e1
commit 57d3a80fc6
5 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ wait_for_builder() {
# wait for tiller ready
set +e
while true; do
kubectl --namespace fission-builder get pod -l envName=$env -o jsonpath="$JSONPATH" | grep "Ready=True"
kubectl --namespace $BUILDER_NAMESPACE get pod -l envName=$env -o jsonpath="$JSONPATH" | grep "Ready=True"
if [[ $? -eq 0 ]]; then
break
fi