Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
guoliangye-okta committed Oct 24, 2024
1 parent 995913a commit aa95fe6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
# # 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
2 changes: 1 addition & 1 deletion Makefile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa95fe6

Please sign in to comment.