fix analytics sink test (#552)

* Update Spring Functions Catalog to 5.0.1-SNAPSHOT

* Update Spring Boot to 3.3.1
Update Spring Framework to 6.1.10

* Fix AnalyticsSinkTests

* Fix AnalyticsSinkTests

* Disable Maven Threads.

* Disable Maven Threads.
This commit is contained in:
Corneil du Plessis
2024-07-29 16:22:43 +02:00
committed by GitHub
parent b2800d3d07
commit 935b0564bc
4 changed files with 15 additions and 24 deletions

View File

@@ -6,7 +6,7 @@ on:
env:
MAIN_PATH: 'build-dir'
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_THREADS: 'true'
MAVEN_THREADS: 'false'
jobs:
build:
if: github.repository == 'spring-cloud/stream-applications'
@@ -84,29 +84,14 @@ jobs:
done
set +e
if [ "$FOLDERS" != "" ]; then
echo "::info ::install $FOLDERS and dependents"
echo "::debug ::MAVEN:./mvnw $MAVEN_OPTS -amd -pl $FOLDERS install"
echo "::notice::install $FOLDERS and dependents"
echo "::debug::MAVEN:./mvnw $MAVEN_OPTS -amd -pl $FOLDERS install"
./mvnw $MAVEN_OPTS -amd -pl $FOLDERS install
RC=$?
if ((RC!=0)); then
exit $RC
fi
fi
PWD=$(pwd)
# Build any applications that was compiled but don't deploy to artifactory.
PROCESSORS=$(find ./applications/processor -name target -exec $PWD/parent-dir.sh '{}' \;)
SINKS=$(find ./applications/sink -name target -exec $PWD/parent-dir.sh '{}' \;)
SOURCES=$(find ./applications/source -name target -exec $PWD/parent-dir.sh '{}' \;)
# true as 3rd argument ensures that jars aren't deployed and containers aren't built.
for appdir in $PROCESSORS; do
./build-app.sh . "./$appdir" true
done
for appdir in $SOURCES; do
./build-app.sh . "./$appdir" true
done
for appdir in $SINKS; do
./build-app.sh . "./$appdir" true
done
- name: 'Configure: Install Trivy'
uses: ./.github/actions/install-trivy
- name: 'Action: Trivy scan'