From bf3a3678bc1df19d1711cd46d576d759f6e45b83 Mon Sep 17 00:00:00 2001 From: Ilya Ozherelyev Date: Tue, 16 Jul 2024 14:07:59 +0200 Subject: [PATCH] add submodule update to the commands --- .buildkite/pipeline.yml | 5 +++++ docker/buildkite/Dockerfile | 1 + 2 files changed, 6 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 490c7249c..61ba22663 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -52,6 +52,7 @@ steps: - <<: *commandContainer command: - |- + git submodule update --init make unit_test .buildkite/scripts/gen_coverage_metadata.sh .build/metadata.txt - docker-compose#v3.0.0: @@ -72,6 +73,7 @@ steps: - <<: *commandContainer command: - |- + git submodule update --init ./scripts/golint.sh - docker-compose#v3.0.0: run: unit-test @@ -92,6 +94,7 @@ steps: - <<: *commandContainer command: - |- + git submodule update --init make integ_test_sticky_off - docker-compose#v3.0.0: run: integ-test @@ -112,6 +115,7 @@ steps: - <<: *commandContainer command: - |- + git submodule update --init make integ_test_sticky_on - docker-compose#v3.0.0: run: integ-test @@ -132,6 +136,7 @@ steps: - <<: *commandContainer command: - |- + git submodule update --init make integ_test_grpc - docker-compose#v3.0.0: run: integ-test-grpc diff --git a/docker/buildkite/Dockerfile b/docker/buildkite/Dockerfile index 86570f243..757c90174 100644 --- a/docker/buildkite/Dockerfile +++ b/docker/buildkite/Dockerfile @@ -7,6 +7,7 @@ ADD go.mod go.sum /go/src/go.uber.org/cadence/ # allow git-status and similar to work RUN git config --global --add safe.directory /go/src/go.uber.org/cadence +RUN git submodule update --init --recursive RUN GO111MODULE=on go mod download # Install Buildkite agent