This is an automated email from the ASF dual-hosted git repository.

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit c85c6db515cc14c409259542639c68e3c3f1dff6
Author: sjwiesman <sjwies...@gmail.com>
AuthorDate: Mon Aug 23 12:14:55 2021 -0500

    [FLINK-23927] Fix go.mod file for SDK release
---
 .../src/test/resources/Dockerfile.remote-function                   | 6 +++---
 statefun-sdk-go/run-unit-tests.sh                                   | 4 ++--
 statefun-sdk-go/{ => v3}/go.mod                                     | 2 +-
 statefun-sdk-go/{ => v3}/go.sum                                     | 0
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/statefun-e2e-tests/statefun-smoke-e2e-golang/src/test/resources/Dockerfile.remote-function
 
b/statefun-e2e-tests/statefun-smoke-e2e-golang/src/test/resources/Dockerfile.remote-function
index 41f1cf7..0fdc27d 100644
--- 
a/statefun-e2e-tests/statefun-smoke-e2e-golang/src/test/resources/Dockerfile.remote-function
+++ 
b/statefun-e2e-tests/statefun-smoke-e2e-golang/src/test/resources/Dockerfile.remote-function
@@ -21,8 +21,8 @@ RUN mkdir -p /app/test/smoketest
 WORKDIR /app
 
 ADD source/ /app/
-ADD smoketest/ /app/test/smoketest/
-RUN ls && cd test/smoketest && go build
+ADD smoketest/ /app/v3/test/smoketest/
+RUN ls && cd v3/test/smoketest && go build
 
 EXPOSE 8000
-CMD ./test/smoketest/smoketest
+CMD ./v3/test/smoketest/smoketest
diff --git a/statefun-sdk-go/run-unit-tests.sh 
b/statefun-sdk-go/run-unit-tests.sh
index 1070e9b..87b8abc 100755
--- a/statefun-sdk-go/run-unit-tests.sh
+++ b/statefun-sdk-go/run-unit-tests.sh
@@ -23,9 +23,9 @@ fi
 
 CURR_DIR=`pwd`
 BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
-GO_SDK_DIR="${BASE_DIR}/../statefun-sdk-go/"
+GO_SDK_DIR="${BASE_DIR}/../statefun-sdk-go/v3/"
 
 
 cd ${GO_SDK_DIR}
 go test ./...
-cd ${CURR_DIR}
\ No newline at end of file
+cd ${CURR_DIR}
diff --git a/statefun-sdk-go/go.mod b/statefun-sdk-go/v3/go.mod
similarity index 93%
rename from statefun-sdk-go/go.mod
rename to statefun-sdk-go/v3/go.mod
index a8b54b1..39f5ce4 100644
--- a/statefun-sdk-go/go.mod
+++ b/statefun-sdk-go/v3/go.mod
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-module github.com/apache/flink-statefun/statefun-sdk-go
+module github.com/apache/flink-statefun/statefun-sdk-go/v3
 
 go 1.16
 
diff --git a/statefun-sdk-go/go.sum b/statefun-sdk-go/v3/go.sum
similarity index 100%
rename from statefun-sdk-go/go.sum
rename to statefun-sdk-go/v3/go.sum

Reply via email to