@@ -43,7 +43,7 @@ CLUSTER_PORT ?= 7574
4343PROFILES ?=
4444COHERENCE_BASE_IMAGE ?= gcr.io/distroless/java11-debian11
4545
46- CURL_OPTS = -L --retry 5 --retry-delay 2
46+ CURL_OPTS = -L --retry 10 --retry-delay 5
4747
4848# For GitHub Rate limiting
4949ifdef GITHUB_TOKEN
@@ -220,7 +220,6 @@ generate-proto: $(TOOLS_BIN)/protoc ## Generate Proto Files
220220ifeq ($(SKIP_PROTO_GENERATION ) ,true)
221221 @echo "Skipping proto generation..."
222222else
223- curl $(CURL_AUTH) -s https://api.github.com/rate_limit | jq '.rate'
224223 mkdir -p $(PROTO_DIR) || true
225224 curl $(CURL_AUTH) -o $(PROTO_DIR)/services.proto https://raw.githubusercontent.com/oracle/coherence/22.06.12/prj/coherence-grpc/src/main/proto/services.proto
226225 curl $(CURL_AUTH) -o $(PROTO_DIR)/messages.proto https://raw.githubusercontent.com/oracle/coherence/22.06.12/prj/coherence-grpc/src/main/proto/messages.proto
@@ -239,7 +238,6 @@ generate-proto-v1: $(TOOLS_BIN)/protoc ## Generate Proto Files v1
239238ifeq ($(SKIP_PROTO_GENERATION ) ,true)
240239 @echo "Skipping proto generation..."
241240else
242- curl $(CURL_AUTH) -s https://api.github.com/rate_limit | jq '.rate'
243241 mkdir -p $(PROTOV1_DIR) || true
244242 curl $(CURL_AUTH) -o $(PROTOV1_DIR)/proxy_service_messages_v1.proto https://raw.githubusercontent.com/oracle/coherence/25.03.1/prj/coherence-grpc/src/main/proto/proxy_service_messages_v1.proto
245243 curl $(CURL_AUTH) -o $(PROTOV1_DIR)/proxy_service_v1.proto https://raw.githubusercontent.com/oracle/coherence/25.03.1/prj/coherence-grpc/src/main/proto/proxy_service_v1.proto
@@ -496,4 +494,4 @@ endef
496494.PHONY : gettrivy
497495gettrivy :
498496 @mkdir -p $(TOOLS_BIN )
499- curl $( CURL_AUTH ) -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b $(TOOLS_BIN ) v0.51.2
497+ curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b $(TOOLS_BIN ) v0.51.2
0 commit comments