From 6b7ff8226066f22d93b8f39e48b2bb653eb2bd17 Mon Sep 17 00:00:00 2001 From: Varsha GS Date: Fri, 4 Oct 2024 10:23:21 +0530 Subject: [PATCH 1/2] fix(ci): fix syntax error - `/workspace/python-sensor/.tekton/run_unittests.sh: line 50: syntax error near unexpected token ')'` Signed-off-by: Varsha GS --- .tekton/run_unittests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tekton/run_unittests.sh b/.tekton/run_unittests.sh index 7229fcf3..d85c70d8 100755 --- a/.tekton/run_unittests.sh +++ b/.tekton/run_unittests.sh @@ -46,7 +46,7 @@ googlecloud) export GOOGLE_CLOUD_TEST='true' ;; aws) export REQUIREMENTS='requirements-312.txt' - export TESTS=('tests_aws') + export TESTS=('tests_aws') ;; *) echo "ERROR \$TEST_CONFIGURATION='${TEST_CONFIGURATION}' is unsupported " \ "not in (default|cassandra|couchbase|gevent_starlette|googlecloud)" >&2 From 272b41900ad2d1bba0bdeee9bf9eeebbf06ab05c Mon Sep 17 00:00:00 2001 From: Varsha GS Date: Fri, 4 Oct 2024 10:51:01 +0530 Subject: [PATCH 2/2] ci(tekton): skip gevent-starlette task Signed-off-by: Varsha GS --- .tekton/pipeline.yaml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.tekton/pipeline.yaml b/.tekton/pipeline.yaml index 1f99421e..53492d8a 100644 --- a/.tekton/pipeline.yaml +++ b/.tekton/pipeline.yaml @@ -70,20 +70,21 @@ spec: workspaces: - name: task-pvc workspace: python-tracer-ci-pipeline-pvc - - name: unittest-gevent-starlette - runAfter: - - clone - matrix: - params: - - name: imageDigest - value: - # 3.9.20-bookworm - - "sha256:dbb0be5b67aa84b9e3e4f325c7844ab439f40a5cca717c5b24e671cfb41dbb46" - taskRef: - name: python-tracer-unittest-gevent-starlette-task - workspaces: - - name: task-pvc - workspace: python-tracer-ci-pipeline-pvc + # TODO: uncomment after gevent instrumentation is complete + # - name: unittest-gevent-starlette + # runAfter: + # - clone + # matrix: + # params: + # - name: imageDigest + # value: + # # 3.9.20-bookworm + # - "sha256:dbb0be5b67aa84b9e3e4f325c7844ab439f40a5cca717c5b24e671cfb41dbb46" + # taskRef: + # name: python-tracer-unittest-gevent-starlette-task + # workspaces: + # - name: task-pvc + # workspace: python-tracer-ci-pipeline-pvc - name: unittest-googlecloud runAfter: - clone