mirror of
https://github.com/spring-cloud/spring-cloud-build.git
synced 2026-09-17 12:49:00 +00:00
Release 5.0.3
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
name: Spring Cloud CI Job (Commercial Release Branch)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branches:
|
||||
description: "Which branch should be built (can be a comma-separated list of branches)"
|
||||
required: true
|
||||
default: 'release/5.0.3'
|
||||
type: string
|
||||
push:
|
||||
branches:
|
||||
- release/5.0.3
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
|
||||
with:
|
||||
branches: ${{ inputs.branches }}
|
||||
runs_on: ubuntu22-2-8
|
||||
# The branches this workflow builds carry -INTERNAL-SNAPSHOT versions until
|
||||
# release-train-ready stamps the release versions. The antora-component-version
|
||||
# plugin derives the component version by stripping only -SNAPSHOT, producing
|
||||
# e.g. 5.0.3-INTERNAL, which @springio/antora-extensions cannot parse. Building
|
||||
# the docs profile would fail, so it is disabled here.
|
||||
build_docs: false
|
||||
secrets:
|
||||
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
|
||||
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
|
||||
COMMERCIAL_ARTIFACTORY_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
|
||||
COMMERCIAL_ARTIFACTORY_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -1,34 +0,0 @@
|
||||
name: Spring Cloud Build CI Job
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 4.3.x
|
||||
|
||||
# Scheduled builds run daily at midnight UTC
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
# Manual trigger with optional branch override
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branches:
|
||||
description: "Which branch should be built (can be a comma-separated list of branches)"
|
||||
required: true
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/deploy.yml@main
|
||||
with:
|
||||
branches: ${{ inputs.branches }}
|
||||
secrets:
|
||||
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
|
||||
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
|
||||
COMMERCIAL_ARTIFACTORY_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
|
||||
COMMERCIAL_ARTIFACTORY_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
|
||||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -1,9 +0,0 @@
|
||||
name: PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main, 4.3.x ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/pr.yml@main
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build</artifactId>
|
||||
<version>5.0.3-INTERNAL-SNAPSHOT</version>
|
||||
<version>5.0.3</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<docs.main>spring-cloud-build</docs.main>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build</artifactId>
|
||||
<version>5.0.3-INTERNAL-SNAPSHOT</version>
|
||||
<version>5.0.3</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Parent</name>
|
||||
<description>Spring Cloud parent pom, managing plugins and dependencies for Spring
|
||||
@@ -28,8 +28,8 @@
|
||||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||
<main.basedir>${basedir}</main.basedir>
|
||||
<docs.main>${project.artifactId}</docs.main>
|
||||
<spring-boot.version>4.0.8-INTERNAL-SNAPSHOT</spring-boot.version>
|
||||
<spring-cloud-build.version>5.0.3-INTERNAL-SNAPSHOT</spring-cloud-build.version>
|
||||
<spring-boot.version>4.0.8</spring-boot.version>
|
||||
<spring-cloud-build.version>5.0.3</spring-cloud-build.version>
|
||||
<kotlin.version>2.2.21</kotlin.version>
|
||||
<docs.resources.dir>${project.build.directory}/build-docs</docs.resources.dir>
|
||||
<docs.classes.dir>${project.build.directory}/build-docs-classes</docs.classes.dir>
|
||||
|
||||
@@ -1,162 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright 2013-2025 the original author or authors.
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ https://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
<!--
|
||||
Maven settings used exclusively on commercial OSS release branches
|
||||
(release/VERSION branches in *-commercial repos).
|
||||
|
||||
This file is placed at the repo root as release-ci-settings.xml during
|
||||
branch initialization and is passed to Maven via the settings flag
|
||||
by deploy.yml when the file is detected. It is deleted by
|
||||
spring-release-train-project-ready before the release is finalised so it
|
||||
never appears in the OSS repo history.
|
||||
|
||||
Credentials are read from environment variables set by the CI workflow:
|
||||
COMMERCIAL_ARTIFACTORY_USERNAME and COMMERCIAL_ARTIFACTORY_PASSWORD
|
||||
-->
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
|
||||
<servers>
|
||||
<server>
|
||||
<id>spring-commercial-snapshot</id>
|
||||
<username>${env.COMMERCIAL_ARTIFACTORY_USERNAME}</username>
|
||||
<password>${env.COMMERCIAL_ARTIFACTORY_PASSWORD}</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>spring-commercial-release</id>
|
||||
<username>${env.COMMERCIAL_ARTIFACTORY_USERNAME}</username>
|
||||
<password>${env.COMMERCIAL_ARTIFACTORY_PASSWORD}</password>
|
||||
</server>
|
||||
<!--
|
||||
Provides credentials when a pom.xml distributionManagement still carries the
|
||||
OSS server id 'repo.spring.io' but deploy.yml has patched its URL to point at
|
||||
commercial Artifactory. Maven looks up credentials by server id, so this entry
|
||||
ensures the upload is authenticated even before the id is renamed.
|
||||
-->
|
||||
<server>
|
||||
<id>repo.spring.io</id>
|
||||
<username>${env.COMMERCIAL_ARTIFACTORY_USERNAME}</username>
|
||||
<password>${env.COMMERCIAL_ARTIFACTORY_PASSWORD}</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>repo-spring-io-spring-commercial-snapshot</id>
|
||||
<username>${env.COMMERCIAL_ARTIFACTORY_USERNAME}</username>
|
||||
<password>${env.COMMERCIAL_ARTIFACTORY_PASSWORD}</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>repo-spring-io-spring-commercial-release</id>
|
||||
<username>${env.COMMERCIAL_ARTIFACTORY_USERNAME}</username>
|
||||
<password>${env.COMMERCIAL_ARTIFACTORY_PASSWORD}</password>
|
||||
</server>
|
||||
</servers>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<!--
|
||||
Activates alongside the pom.xml 'spring' profile (via -Pspring in the
|
||||
Maven command). Maven merges both; this adds the four commercial repos
|
||||
while pom.xml contributes the OSS repos (spring-snapshots, etc.).
|
||||
Commercial Artifactory does not carry OSS snapshots, so spring-snapshots
|
||||
from pom.xml remains the source for those.
|
||||
-->
|
||||
<id>spring</id>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spring-commercial-snapshot</id>
|
||||
<name>Spring Commercial Snapshot Repository</name>
|
||||
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-dev-local</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>spring-commercial-release</id>
|
||||
<name>Spring Commercial Release Repository</name>
|
||||
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-prod-local</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>repo-spring-io-spring-commercial-snapshot</id>
|
||||
<name>Spring Commercial Snapshot Repository On repo.spring.io</name>
|
||||
<url>https://repo.spring.io/artifactory/spring-commercial-snapshot-remote</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>repo-spring-io-spring-commercial-release</id>
|
||||
<name>Spring Commercial Release Repository On repo.spring.io</name>
|
||||
<url>https://repo.spring.io/artifactory/spring-commercial-release-remote</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>spring-commercial-snapshot</id>
|
||||
<name>Spring Commercial Snapshot Repository</name>
|
||||
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-dev-local</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>spring-commercial-release</id>
|
||||
<name>Spring Commercial Release Repository</name>
|
||||
<url>https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-prod-local</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>repo-spring-io-spring-commercial-snapshot</id>
|
||||
<name>Spring Commercial Snapshot Repository On repo.spring.io</name>
|
||||
<url>https://repo.spring.io/artifactory/spring-commercial-snapshot-remote</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>repo-spring-io-spring-commercial-release</id>
|
||||
<name>Spring Commercial Release Repository On repo.spring.io</name>
|
||||
<url>https://repo.spring.io/artifactory/spring-commercial-release-remote</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</settings>
|
||||
@@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build-dependencies</artifactId>
|
||||
<version>5.0.3-INTERNAL-SNAPSHOT</version>
|
||||
<version>5.0.3</version>
|
||||
<name>spring-cloud-build-dependencies</name>
|
||||
<packaging>pom</packaging>
|
||||
<description>Spring Cloud Build Dependencies: an internal BOM for use with Spring
|
||||
@@ -14,12 +14,12 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>4.0.8-INTERNAL-SNAPSHOT</version>
|
||||
<version>4.0.8</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<spring-boot.version>4.0.8-INTERNAL-SNAPSHOT</spring-boot.version>
|
||||
<spring-boot.version>4.0.8</spring-boot.version>
|
||||
<okhttp.version>4.12.0</okhttp.version>
|
||||
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
|
||||
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build</artifactId>
|
||||
<version>5.0.3-INTERNAL-SNAPSHOT</version>
|
||||
<version>5.0.3</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<version>5.0.3-INTERNAL-SNAPSHOT</version>
|
||||
<version>5.0.3</version>
|
||||
<artifactId>spring-cloud-dependencies-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>spring-cloud-dependencies-parent</name>
|
||||
|
||||
Reference in New Issue
Block a user