From de6d74078de37931f4155162f9fbc4f8da2eafec Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Thu, 23 May 2024 11:50:15 -0400 Subject: [PATCH] Remove GHA workflows The `6.1.x` branch is read-only here: has been migrated to Commercial repository --- .github/workflows/auto-cherry-pick.yml | 13 ----- .github/workflows/backport-issue.yml | 12 ----- .github/workflows/ci-snapshot.yml | 21 -------- .github/workflows/merge-dependabot-pr.yml | 17 ------- .github/workflows/pr-build.yml | 11 ----- .github/workflows/release.yml | 28 ----------- .github/workflows/verify-staged-artifacts.yml | 48 ------------------- 7 files changed, 150 deletions(-) delete mode 100644 .github/workflows/auto-cherry-pick.yml delete mode 100644 .github/workflows/backport-issue.yml delete mode 100644 .github/workflows/ci-snapshot.yml delete mode 100644 .github/workflows/merge-dependabot-pr.yml delete mode 100644 .github/workflows/pr-build.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/verify-staged-artifacts.yml diff --git a/.github/workflows/auto-cherry-pick.yml b/.github/workflows/auto-cherry-pick.yml deleted file mode 100644 index 4a9c4479ef..0000000000 --- a/.github/workflows/auto-cherry-pick.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Auto Cherry-Pick - -on: - push: - branches: - - main - - '*.x' - -jobs: - cherry-pick-commit: - uses: spring-io/spring-github-workflows/.github/workflows/spring-cherry-pick.yml@main - secrets: - GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/backport-issue.yml b/.github/workflows/backport-issue.yml deleted file mode 100644 index ae3ea05130..0000000000 --- a/.github/workflows/backport-issue.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Backport Issue - -on: - push: - branches: - - '*.x' - -jobs: - backport-issue: - uses: spring-io/spring-github-workflows/.github/workflows/spring-backport-issue.yml@main - secrets: - GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/ci-snapshot.yml b/.github/workflows/ci-snapshot.yml deleted file mode 100644 index 3e8ebb6a6c..0000000000 --- a/.github/workflows/ci-snapshot.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: CI SNAPSHOT - -on: - workflow_dispatch: - - push: - branches: - - main - - '*.x' - -concurrency: - group: group-snapshot-for-${{ github.ref }} - cancel-in-progress: true - -jobs: - build-snapshot: - uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@main - secrets: - GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} - ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} \ No newline at end of file diff --git a/.github/workflows/merge-dependabot-pr.yml b/.github/workflows/merge-dependabot-pr.yml deleted file mode 100644 index 743781a0dc..0000000000 --- a/.github/workflows/merge-dependabot-pr.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Merge Dependabot PR - -on: - pull_request: - branches: - - main - - '*.x' - -run-name: Merge Dependabot PR ${{ github.ref_name }} - -jobs: - merge-dependabot-pr: - permissions: write-all - - uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@main - with: - mergeArguments: --auto --squash \ No newline at end of file diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml deleted file mode 100644 index cefa6bf31a..0000000000 --- a/.github/workflows/pr-build.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Pull Request Build - -on: - pull_request: - branches: - - main - - '*.x' - -jobs: - build-pull-request: - uses: spring-io/spring-github-workflows/.github/workflows/spring-gradle-pull-request-build.yml@main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index f7e832bdef..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Release - -on: - workflow_dispatch: - -run-name: Release current version for branch ${{ github.ref_name }} - -jobs: - release: - permissions: - actions: write - contents: write - issues: write - - uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@main - secrets: - GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} - GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }} - ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} - ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - OSSRH_URL: ${{ secrets.OSSRH_URL }} - OSSRH_S01_TOKEN_USERNAME: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }} - OSSRH_S01_TOKEN_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }} - OSSRH_STAGING_PROFILE_NAME: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - SPRING_RELEASE_SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} \ No newline at end of file diff --git a/.github/workflows/verify-staged-artifacts.yml b/.github/workflows/verify-staged-artifacts.yml deleted file mode 100644 index baee455d61..0000000000 --- a/.github/workflows/verify-staged-artifacts.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Verify Staged Artifacts - -on: - workflow_dispatch: - inputs: - releaseVersion: - description: 'Release version like 5.0.0-M1, 5.1.0-RC1, 5.2.0 etc.' - required: true - type: string - -env: - DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} - ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} - -jobs: - verify-staged-with-samples: - runs-on: ubuntu-latest - steps: - - - name: Checkout Samples Repo - uses: actions/checkout@v4 - with: - repository: spring-projects/spring-integration-samples - ref: ${{ github.ref_name }} - show-progress: false - - - name: Set up Gradle - uses: spring-io/spring-gradle-build-action@v2 - - - name: Prepare Samples project against Staging - run: | - printf "allprojects { - repositories { - maven { - url 'https://repo.spring.io/libs-staging-local' - credentials { - username = '$ARTIFACTORY_USERNAME' - password = '$ARTIFACTORY_PASSWORD' - } - } - } - }" > staging-repo-init.gradle - - sed -i "1,/springIntegrationVersion.*/s/springIntegrationVersion.*/springIntegrationVersion='${{ inputs.releaseVersion }}'/" build.gradle - - - name: Verify Spring Integration Samples against staged release - run: gradle check --init-script staging-repo-init.gradle