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:
committed by
GitHub
parent
b2800d3d07
commit
935b0564bc
21
.github/workflows/ci-pr.yml
vendored
21
.github/workflows/ci-pr.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user