From 14f9d00a396f5051275260d581b97c5d6664c288 Mon Sep 17 00:00:00 2001 From: wind57 Date: Fri, 22 Sep 2023 18:57:42 +0300 Subject: [PATCH 1/2] fix --- .../composites/build-integration-tests-project/action.yaml | 2 +- .../composites/maven-build-with-dry-run-for-tests/action.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/composites/build-integration-tests-project/action.yaml b/.github/workflows/composites/build-integration-tests-project/action.yaml index 23fbb33aa8..f83e11b202 100644 --- a/.github/workflows/composites/build-integration-tests-project/action.yaml +++ b/.github/workflows/composites/build-integration-tests-project/action.yaml @@ -13,5 +13,5 @@ runs: cd spring-cloud-kubernetes-integration-tests # build the images, but dont run the tests - .././mvnw -T 1C clean install -DskipTests + .././mvnw -T 1C clean install -nsu -DskipTests cd .. diff --git a/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml b/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml index 3230b5945f..202705c0d4 100644 --- a/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml +++ b/.github/workflows/composites/maven-build-with-dry-run-for-tests/action.yaml @@ -4,13 +4,13 @@ runs: using: "composite" steps: - - name: run 'package' on the project + - name: run 'install' on the project shell: bash run: | ./mvnw install -B \ -Dskip.build.image=true \ -DskipTests -DskipITs \ - -T 1C -q + -T 1C -U -q - name: find all classpath entries shell: bash From f3e0aadd8050ecf21ad107c119cc1f9e05c71c31 Mon Sep 17 00:00:00 2001 From: wind57 Date: Sun, 24 Sep 2023 18:42:52 +0300 Subject: [PATCH 2/2] fix --- .../composites/build-integration-tests-project/action.yaml | 2 +- .github/workflows/composites/pre-test-actions/action.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/composites/build-integration-tests-project/action.yaml b/.github/workflows/composites/build-integration-tests-project/action.yaml index f83e11b202..23fbb33aa8 100644 --- a/.github/workflows/composites/build-integration-tests-project/action.yaml +++ b/.github/workflows/composites/build-integration-tests-project/action.yaml @@ -13,5 +13,5 @@ runs: cd spring-cloud-kubernetes-integration-tests # build the images, but dont run the tests - .././mvnw -T 1C clean install -nsu -DskipTests + .././mvnw -T 1C clean install -DskipTests cd .. diff --git a/.github/workflows/composites/pre-test-actions/action.yaml b/.github/workflows/composites/pre-test-actions/action.yaml index d2bb6b96b9..657c55e886 100644 --- a/.github/workflows/composites/pre-test-actions/action.yaml +++ b/.github/workflows/composites/pre-test-actions/action.yaml @@ -22,6 +22,11 @@ runs: - name: cache local maven repository uses: ./.github/workflows/composites/cache + - name: build project + shell: bash + run: | + ./mvnw clean install -Dskip.build.image=true -DskipITs -DskipTests -T1C -U -B -q + - name: build controllers project uses: ./.github/workflows/composites/build-controllers-project