From 5bfbbb749aa45994aad68e1152d80180c377455e Mon Sep 17 00:00:00 2001 From: Eric Wittmann Date: Wed, 11 Sep 2024 10:49:39 -0400 Subject: [PATCH] Fix the release workflows for 3.0 --- .github/workflows/release-images.yaml | 4 ++-- .github/workflows/release-maven-artifacts.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-images.yaml b/.github/workflows/release-images.yaml index b5ce086965..63348c3b42 100644 --- a/.github/workflows/release-images.yaml +++ b/.github/workflows/release-images.yaml @@ -93,7 +93,7 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Set up Node.js v16 + - name: Set up Node.js uses: actions/setup-node@v1 with: node-version: 18 @@ -101,7 +101,7 @@ jobs: - name: Build Registry run: | cd registry - ./mvnw clean package -pl app,distro/docker -am --no-transfer-progress -Pprod -DskipTests=true -DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 + ./mvnw clean package -pl app,distro/docker -am --no-transfer-progress -Pprod -DskipTests=true -DskipCommitIdPlugin=false -Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5 -Dspotless.check.skip=true - name: Build the typescript-sdk run: | diff --git a/.github/workflows/release-maven-artifacts.yaml b/.github/workflows/release-maven-artifacts.yaml index 49181cf27c..55276c87cb 100644 --- a/.github/workflows/release-maven-artifacts.yaml +++ b/.github/workflows/release-maven-artifacts.yaml @@ -67,9 +67,9 @@ jobs: run: | cd registry # Retry 3 times before the steps actually fails - (echo "===== Maven Deploy Attempt: 1 ====" && mvn deploy --batch-mode -Pprod -Psql -Pmssql -Pkafkasql -Prelease -DskipTests --settings /home/runner/.m2/settings.xml) || \ - (echo "===== Maven Deploy Attempt: 2 ====" && mvn deploy --batch-mode -Pprod -Psql -Pmssql -Pkafkasql -Prelease -DskipTests --settings /home/runner/.m2/settings.xml) || \ - (echo "===== Maven Deploy Attempt: 3 ====" && mvn deploy --batch-mode -Pprod -Psql -Pmssql -Pkafkasql -Prelease -DskipTests --settings /home/runner/.m2/settings.xml) || \ + (echo "===== Maven Deploy Attempt: 1 ====" && mvn deploy --batch-mode -Pprod -Prelease -DskipTests -Dspotless.check.skip=true --settings /home/runner/.m2/settings.xml) || \ + (echo "===== Maven Deploy Attempt: 2 ====" && mvn deploy --batch-mode -Pprod -Prelease -DskipTests -Dspotless.check.skip=true --settings /home/runner/.m2/settings.xml) || \ + (echo "===== Maven Deploy Attempt: 3 ====" && mvn deploy --batch-mode -Pprod -Prelease -DskipTests -Dspotless.check.skip=true --settings /home/runner/.m2/settings.xml) || \ (echo "==== Maven Deploy Step Failed ====" && exit 1) - name: Google Chat Notification