Fork 3.2.x maintenance branch
This commit is contained in:
23
.github/workflows/central-sync-close.yml
vendored
23
.github/workflows/central-sync-close.yml
vendored
@@ -1,23 +0,0 @@
|
||||
name: Central Sync Close
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
stagedRepositoryId:
|
||||
description: "Staged repository id"
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Request release promotion repo
|
||||
- uses: jvalkeal/nexus-sync@v0
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }}
|
||||
close: true
|
||||
23
.github/workflows/central-sync-release.yml
vendored
23
.github/workflows/central-sync-release.yml
vendored
@@ -1,23 +0,0 @@
|
||||
name: Central Sync Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
stagedRepositoryId:
|
||||
description: "Staged repository id"
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# Request release promotion repo
|
||||
- uses: jvalkeal/nexus-sync@main
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }}
|
||||
release: true
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
--server-id-deploy repo.spring.io \
|
||||
--repo-resolve snapshot \
|
||||
--repo-deploy snapshot
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Build and Publish
|
||||
run: |
|
||||
|
||||
23
.github/workflows/label-manage.yml
vendored
23
.github/workflows/label-manage.yml
vendored
@@ -1,23 +0,0 @@
|
||||
name: Labels Manage
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- '.github/labels-manage.yml'
|
||||
- '.github/workflows/label-manage.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Mangle Labels
|
||||
uses: crazy-max/ghaction-github-labeler@v3
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
yaml-file: .github/labels-manage.yml
|
||||
dry-run: false
|
||||
skip-delete: true
|
||||
2
.github/workflows/next-dev-version.yml
vendored
2
.github/workflows/next-dev-version.yml
vendored
@@ -18,5 +18,5 @@ jobs:
|
||||
- name: Commit Next Dev Changes
|
||||
uses: jvalkeal/build-zoo-handler@v0.0.4
|
||||
with:
|
||||
commit-changes-branch: main
|
||||
commit-changes-branch: 3.2.x
|
||||
commit-changes-message: Next development version
|
||||
|
||||
6
.github/workflows/release-ga.yml
vendored
6
.github/workflows/release-ga.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
--server-id-deploy repo.spring.io \
|
||||
--repo-resolve release \
|
||||
--repo-deploy libs-staging-local
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Configure Release Version
|
||||
run: |
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
|
||||
- name: Configure JFrog Cli
|
||||
run: |
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Promote Build
|
||||
run: |
|
||||
@@ -158,7 +158,7 @@ jobs:
|
||||
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
|
||||
- name: Configure JFrog Cli
|
||||
run: |
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x-release >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Download Release Files
|
||||
run: |
|
||||
|
||||
4
.github/workflows/release-milestone.yml
vendored
4
.github/workflows/release-milestone.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
--server-id-deploy repo.spring.io \
|
||||
--repo-resolve milestone \
|
||||
--repo-deploy libs-staging-local
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main-milestone >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x-milestone >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Configure Milestone Version
|
||||
run: |
|
||||
@@ -86,7 +86,7 @@ jobs:
|
||||
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
|
||||
- name: Configure JFrog Cli
|
||||
run: |
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-main-milestone >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NAME=spring-shell-32x-milestone >> $GITHUB_ENV
|
||||
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
|
||||
- name: Promote Build
|
||||
run: |
|
||||
|
||||
27
.github/workflows/schedule-e2e.yml
vendored
27
.github/workflows/schedule-e2e.yml
vendored
@@ -1,27 +0,0 @@
|
||||
name: Schedule e2e
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 1,3,5'
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
|
||||
jobs:
|
||||
dispatch_e2e:
|
||||
name: Dispatch e2e
|
||||
if: github.repository_owner == 'spring-projects'
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [ main, 3.1.x ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Dispatch
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
run: gh workflow run e2e.yml -r ${{ matrix.branch }}
|
||||
Reference in New Issue
Block a user