Skip to content

Commit ee184f4

Browse files
committed
Add release train ready workflow for testing
1 parent 9cdd2fb commit ee184f4

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Release Train Ready
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
project:
7+
description: 'Spring Cloud GitHub project name (e.g. spring-cloud-config)'
8+
required: true
9+
type: string
10+
project-version:
11+
description: 'Project version (e.g. 4.2.0)'
12+
required: true
13+
type: string
14+
spring-cloud-release-train-version:
15+
description: 'Release train version matching the jenkins-releaser-config properties file (e.g. 2025.0.0)'
16+
required: true
17+
type: string
18+
spring-release-train-version:
19+
description: 'Release train version to mark this project ready in (e.g. 2025.0.0)'
20+
required: true
21+
type: string
22+
23+
workflow_call:
24+
inputs:
25+
project:
26+
description: 'Spring Cloud GitHub project name (e.g. spring-cloud-config)'
27+
required: true
28+
type: string
29+
project-version:
30+
description: 'Project version (e.g. 4.2.0)'
31+
required: true
32+
type: string
33+
spring-cloud-release-train-version:
34+
description: 'Release train version matching the jenkins-releaser-config properties file (e.g. 2025.0.0)'
35+
required: true
36+
type: string
37+
spring-release-train-version:
38+
description: 'Release train version to mark this project ready in (e.g. 2025.0.0)'
39+
required: true
40+
type: string
41+
secrets:
42+
GH_ACTIONS_REPO_TOKEN:
43+
required: false
44+
45+
permissions:
46+
contents: read
47+
48+
jobs:
49+
release-train-ready:
50+
name: Release Train Ready - ${{ inputs.project }} ${{ inputs.project-version }}
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@v4
54+
55+
- name: Mark project ready in release train
56+
uses: ./.github/actions/spring-release-train-project-ready
57+
with:
58+
project: ${{ inputs.project }}
59+
project-version: ${{ inputs.project-version }}
60+
spring-cloud-release-train-version: ${{ inputs.spring-cloud-release-train-version }}
61+
spring-release-train-version: ${{ inputs.spring-release-train-version }}
62+
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

0 commit comments

Comments
 (0)