diff --git a/.github/workflows/central-sync-close.yml b/.github/workflows/central-sync-close.yml deleted file mode 100644 index 8cfca17c7..000000000 --- a/.github/workflows/central-sync-close.yml +++ /dev/null @@ -1,22 +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: spring-io/nexus-sync-action@main - with: - 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 diff --git a/.github/workflows/central-sync-release.yml b/.github/workflows/central-sync-release.yml deleted file mode 100644 index d1a58565b..000000000 --- a/.github/workflows/central-sync-release.yml +++ /dev/null @@ -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: spring-io/nexus-sync-action@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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 503985e80..ec1e5de81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,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-33x >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Build and Publish env: diff --git a/.github/workflows/label-manage.yml b/.github/workflows/label-manage.yml deleted file mode 100644 index bcee14cd6..000000000 --- a/.github/workflows/label-manage.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/next-dev-version.yml b/.github/workflows/next-dev-version.yml index 0334d6022..90a917d27 100644 --- a/.github/workflows/next-dev-version.yml +++ b/.github/workflows/next-dev-version.yml @@ -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.3.x commit-changes-message: Next development version diff --git a/.github/workflows/release-ga.yml b/.github/workflows/release-ga.yml index 35c868582..9a8e1d70e 100644 --- a/.github/workflows/release-ga.yml +++ b/.github/workflows/release-ga.yml @@ -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-33x-release >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Configure Release Version run: | @@ -87,7 +87,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-33x-release >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Promote Build run: | @@ -163,7 +163,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-33x-release >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Download Release Files run: | diff --git a/.github/workflows/release-milestone.yml b/.github/workflows/release-milestone.yml index a8dd1d084..60ec2a20f 100644 --- a/.github/workflows/release-milestone.yml +++ b/.github/workflows/release-milestone.yml @@ -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-33x-milestone >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Configure Milestone Version run: | @@ -91,7 +91,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-33x-milestone >> $GITHUB_ENV echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV - name: Promote Build run: | diff --git a/.github/workflows/schedule-e2e.yml b/.github/workflows/schedule-e2e.yml deleted file mode 100644 index b8e2b78af..000000000 --- a/.github/workflows/schedule-e2e.yml +++ /dev/null @@ -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.2.x, 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 }}