From aa95fe6492070b4c0efce07457999284d290e044 Mon Sep 17 00:00:00 2001 From: guoliangye-okta Date: Thu, 24 Oct 2024 15:31:06 -0700 Subject: [PATCH] update --- Dockerfile.ci | 16 ++++++++-------- Makefile.ci | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index 9f7594c269..97cce761c4 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -8,11 +8,11 @@ RUN mkdir -p $APP_PATH COPY . $APP_PATH WORKDIR $APP_PATH -# Check if vendor directory exists and display the result -RUN if [ -d "vendor" ]; then \ - echo "Vendor directory exists"; \ - else \ - echo "Vendor directory does not exist"; \ - fi -RUN go mod tidy -RUN go mod vendor \ No newline at end of file +# # Check if vendor directory exists and display the result +# RUN if [ -d "vendor" ]; then \ +# echo "Vendor directory exists"; \ +# else \ +# echo "Vendor directory does not exist"; \ +# fi +# RUN go mod tidy +# RUN go mod vendor \ No newline at end of file diff --git a/Makefile.ci b/Makefile.ci index aac2e27ff1..2e8a5128ca 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -60,7 +60,7 @@ ci-check-generate: ci-container -e TF_ACC_TERRAFORM_PATH \ -e TF_ACC_TERRAFORM_VERSION \ -v ${TF_ACC_TERRAFORM_PATH}:/usr/local/bin/terraform \ - -v "$(CURDIR)/build/ci-output:/output" `cat ./build/ci-output/container.txt` /usr/bin/make -C ${SRC_DIR} update-go-deps check-generate + -v "$(CURDIR)/build/ci-output:/output" `cat ./build/ci-output/container.txt` /usr/bin/make -C ${SRC_DIR} check-generate .PHONY: update-go-deps update-go-deps: ci-container