diff --git a/.github/workflows/complete.yml b/.github/workflows/complete.yml index 778be2fc200..99f565269ad 100644 --- a/.github/workflows/complete.yml +++ b/.github/workflows/complete.yml @@ -153,9 +153,11 @@ jobs: maven-version: 3.6.3 - name: build-jar env: - # Try to add retries to prevent download failure + # Try to add retries to prevent connection resets # https://github.community/t/getting-maven-could-not-transfer-artifact-with-500-error-when-using-github-actions/17570 - MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 + # https://github.com/actions/virtual-environments/issues/1499#issuecomment-718396233 + MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false + MAVEN_EXTRA_OPTS: -X run: make build-java-no-tests REVISION=${GITHUB_SHA} - name: copy to gs run: gsutil cp ./spark/ingestion/target/feast-ingestion-spark-${GITHUB_SHA}.jar gs://feast-jobs/spark/ingestion/