Change container base image to cgr.dev/chainguard/static (#2881)
* Change container base image to cgr.dev/chainguard/static * Lint fixes * fix test failure * Add router deployment wait * add check command in upgrade script --------- Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -112,7 +112,7 @@ func StartServices(ctx context.Context, f *framework.Framework, mgr manager.Inte
|
||||
os.Setenv("ROUTER_UNTAP_SERVICE_TIMEOUT", "3600s")
|
||||
os.Setenv("USE_ENCODED_PATH", "false")
|
||||
os.Setenv("DISPLAY_ACCESS_LOG", "true")
|
||||
//os.Setenv("DEBUG_ENV", "false")
|
||||
// os.Setenv("DEBUG_ENV", "false")
|
||||
routerPort, err := utils.FindFreePort()
|
||||
if err != nil {
|
||||
return fmt.Errorf("error finding unused port: %v", err)
|
||||
|
||||
@@ -37,8 +37,6 @@ create_archive
|
||||
uploadResp=$(fission ar upload --name "$tmp_dir"/test-deploy-pkg.zip)
|
||||
filename=$(echo "$uploadResp" | cut -d':' -f2 | tr -d ' ')
|
||||
|
||||
kubectl exec -i "$podname" -n fission -- /bin/sh -c "ls $filename"
|
||||
|
||||
# Test for list
|
||||
listResp=$(fission ar list)
|
||||
|
||||
|
||||
@@ -63,8 +63,9 @@ create_fission_objects() {
|
||||
}
|
||||
|
||||
test_fission_objects() {
|
||||
fission env list
|
||||
fission function list
|
||||
doit fission env list
|
||||
doit fission function list
|
||||
doit fission check -v 2
|
||||
echo "-----------------###############################--------------------"
|
||||
echo " Running fission object tests"
|
||||
echo "-----------------###############################--------------------"
|
||||
@@ -111,6 +112,7 @@ install_current_release() {
|
||||
doit helm dependency update "$ROOT"/charts/fission-all
|
||||
doit make update-crds
|
||||
doit helm upgrade --debug --wait --namespace $ns --set $HELM_VARS_LATEST_RELEASE fission "$ROOT"/charts/fission-all
|
||||
doit kubectl rollout status deployment/router -n $ns --watch --timeout 2m
|
||||
}
|
||||
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user