GH-760 - Fix integration builds.

Update integration versions and reference to commercial repositories.
This commit is contained in:
Oliver Drotbohm
2024-08-13 12:40:44 +02:00
parent 0f84de8377
commit 87b2fd72b8
3 changed files with 35 additions and 25 deletions

View File

@@ -10,11 +10,15 @@ jobs:
strategy:
matrix:
version:
- '3.0.16'
- '3.0.17-SNAPSHOT'
- '3.1.12'
- '3.1.13-SNAPSHOT'
- '3.2.6'
- '3.2.7-SNAPSHOT'
- '3.3.1-SNAPSHOT'
- '3.2.8'
- '3.2.9-SNAPSHOT'
- '3.3.2'
- '3.3.3-SNAPSHOT'
- '3.4.0-SNAPSHOT'
name: Build against Boot ${{ matrix.version }}
runs-on: ubuntu-latest
@@ -37,5 +41,5 @@ jobs:
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: |
cd spring-modulith-examples
../mvnw -B versions:update-parent -s ../settings.xml -Pwith-preview-repos,with-commercial-repos -DskipResolution=true -DparentVersion=${{ matrix.version }}
../mvnw -B clean verify -s ../settings.xml -Pwith-preview-repos,with-commercial-repos -Dspring-boot.version=${{ matrix.version }}
../mvnw -B versions:update-parent -s ../settings.xml -Pspring-enterprise,with-preview-repos -DskipResolution=true -DparentVersion=${{ matrix.version }}
../mvnw -B clean verify -s ../settings.xml -Pspring-enterprise,with-preview-repos -Dspring-boot.version=${{ matrix.version }}

20
pom.xml
View File

@@ -122,26 +122,6 @@ limitations under the License.
</repositories>
</profile>
<profile>
<id>with-commercial-repos</id>
<repositories>
<repository>
<id>spring-commercial-releases</id>
<url>https://repo.spring.vmware.com/artifactory/spring-commercial-release-local</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-commercial-snapshots</id>
<url>https://repo.spring.vmware.com/artifactory/spring-commercial-snapshot-local</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
<id>prepare-release</id>

View File

@@ -9,4 +9,30 @@
<password>${env.SONATYPE_PASSWORD}</password>
</server>
</servers>
<profiles>
<profile>
<id>spring-enterprise</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>spring-enterprise-snapshot</id>
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-dev-local</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>spring-enterprise-release</id>
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-prod-local</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
</settings>