From fb36b701c1b5e82b76d33b8fb7757a63bf924af0 Mon Sep 17 00:00:00 2001 From: Md Soharab Ansari Date: Tue, 18 Jun 2024 12:54:12 +0530 Subject: [PATCH 1/2] Enable router port-forwarding for Go environment. Signed-off-by: Md Soharab Ansari --- .github/workflows/environment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/environment.yaml b/.github/workflows/environment.yaml index 34ab9dc6..50f3d627 100644 --- a/.github/workflows/environment.yaml +++ b/.github/workflows/environment.yaml @@ -91,6 +91,7 @@ jobs: run: | SKAFFOLD_PROFILE=go make skaffold-run make go-test-images + make router-port-forward - name: go-tests run: ./test_utils/run_test.sh ./go/tests/test_go_env.sh - name: Collect Fission Dump From 5f66f2ae4b682aafb86b09d527ef37130a7a114d Mon Sep 17 00:00:00 2001 From: Md Soharab Ansari Date: Tue, 18 Jun 2024 13:02:42 +0530 Subject: [PATCH 2/2] Update the comment Signed-off-by: Md Soharab Ansari --- go/tests/test_go_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/tests/test_go_env.sh b/go/tests/test_go_env.sh index f5979318..a509c6c8 100755 --- a/go/tests/test_go_env.sh +++ b/go/tests/test_go_env.sh @@ -46,7 +46,7 @@ log "Creating pool manager & new deployment function for Golang" fission fn create --name $fn_poolmgr --env $env --pkg $pkgName --entrypoint Handler fission fn create --name $fn_nd --env $env --pkg $pkgName --entrypoint Handler --executortype newdeploy -log "Creating route for new deployment function" +log "Creating routes for pool manager & new deployment function" fission route create --name $fn_poolmgr --function $fn_poolmgr --url /$fn_poolmgr --method GET fission route create --name $fn_nd --function $fn_nd --url /$fn_nd --method GET