Skip to content

Commit 19b392f

Browse files
committed
GH-659 - Run integration builds against commercial repositories.
1 parent 830cb6f commit 19b392f

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/integration.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ jobs:
3232

3333
- name: Build with Maven
3434
env:
35+
COMMERCIAL_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
36+
COMMERCIAL_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_PASSWORD }}
3537
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
3638
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
3739
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
3840
run: |
3941
cd spring-modulith-examples
40-
../mvnw -B versions:update-parent -DskipResolution=true -DparentVersion=${{ matrix.version }}
41-
../mvnw -B clean verify -Pwith-preview-repos -Dspring-boot.version=${{ matrix.version }}
42+
../mvnw -B versions:update-parent -Pwith-preview-repos,with-commercial-repos -DskipResolution=true -DparentVersion=${{ matrix.version }}
43+
../mvnw -B clean verify -Pwith-preview-repos,with-commercial-repos -Dspring-boot.version=${{ matrix.version }}

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,26 @@ limitations under the License.
123123
</repositories>
124124
</profile>
125125

126+
<profile>
127+
<id>with-commercial-repos</id>
128+
<repositories>
129+
<repository>
130+
<id>spring-commercial-releases</id>
131+
<url>https://repo.spring.vmware.com/spring-commercial-release</url>
132+
<snapshots>
133+
<enabled>false</enabled>
134+
</snapshots>
135+
</repository>
136+
<repository>
137+
<id>spring-commercial-snapshots</id>
138+
<url>https://repo.spring.vmware.com/spring-commercial-snapshot</url>
139+
<releases>
140+
<enabled>false</enabled>
141+
</releases>
142+
</repository>
143+
</repositories>
144+
</profile>
145+
126146
<profile>
127147

128148
<id>prepare-release</id>

0 commit comments

Comments
 (0)