This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3e4891a921a1ec68576c994bb5c3e7d27d78002b Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Tue Jan 7 15:14:40 2025 +0100 (chores) ci: removed automation for old and unmaintained branches/versions --- .github/workflows/pr-build-camel-3.yml | 105 ------------------------------- .github/workflows/pr-build-camel-40x.yml | 77 ----------------------- .github/workflows/pr-build-main.yml | 1 - 3 files changed, 183 deletions(-) diff --git a/.github/workflows/pr-build-camel-3.yml b/.github/workflows/pr-build-camel-3.yml deleted file mode 100644 index 56243175c1d..00000000000 --- a/.github/workflows/pr-build-camel-3.yml +++ /dev/null @@ -1,105 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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 -# -# http://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. -# - -name: PR Build (Camel 3.x) - -on: - pull_request: - branches: - - camel-3.20.x - - camel-3.21.x - - camel-3.x - paths-ignore: - - .github/** - - README.md - - SECURITY.md - - Jenkinsfile - - Jenkinsfile.* - - NOTICE.txt - -jobs: - checkstyle: - if: github.repository == 'apache/camel' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - id: install-mvnd - uses: ./.github/actions/install-mvnd - - name: Set up JDK - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 - with: - distribution: 'temurin' - java-version: 11 - cache: 'maven' - - name: mvn checkstyle - run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log $MVND_OPTS -e checkstyle:checkstyle - - name: archive logs - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 - if: always() - with: - name: checkstyle.log - path: checkstyle.log - - name: Generate failure checkstyle summary - if: failure() - run: | - echo ":x: Checkstyle failed" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - - name: Generate successful checkstyle summary - if: success() - run: | - echo ":white_check_mark: Checkstyle passed" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - build: - if: github.repository == 'apache/camel' - permissions: - issues: write - runs-on: ubuntu-latest - strategy: - matrix: - java: [ '11' ] - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - id: install-packages - uses: ./.github/actions/install-packages - - id: install-mvnd - uses: ./.github/actions/install-mvnd - - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 - with: - distribution: 'temurin' - java-version: ${{ matrix.java }} - cache: 'maven' - - name: maven build - run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l build.log $MVND_OPTS -Pfastinstall -DskipTests install - - name: archive logs - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 - if: always() - with: - name: build.log - path: build.log - - id: test - name: Quick test execution for affected components - uses: ./.github/actions/quick-test - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - start-commit: ${{ github.event.pull_request.base.sha }} - end-commit: ${{ github.event.after }} - artifact-upload-suffix: java-${{ matrix.java }} diff --git a/.github/workflows/pr-build-camel-40x.yml b/.github/workflows/pr-build-camel-40x.yml deleted file mode 100644 index 01dc211ca78..00000000000 --- a/.github/workflows/pr-build-camel-40x.yml +++ /dev/null @@ -1,77 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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 -# -# http://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. -# - -name: PR Build (Camel 4) - -on: - pull_request: - branches: - - camel-4.0.x - paths-ignore: - - .github/** - - README.md - - SECURITY.md - - Jenkinsfile - - Jenkinsfile.* - - NOTICE.txt - -permissions: - contents: read - -jobs: - build: - if: github.repository == 'apache/camel' - permissions: - issues: write - runs-on: ubuntu-latest - strategy: - matrix: - java: [ '17' ] - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - persist-credentials: false - - id: install-packages - uses: ./.github/actions/install-packages - - id: install-mvnd - uses: ./.github/actions/install-mvnd - - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 - with: - distribution: 'temurin' - java-version: ${{ matrix.java }} - cache: 'maven' - - name: maven build - run: ./mvnw -l build.log -Dquickly install - - name: archive logs - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 - if: always() - with: - name: build.log - path: build.log - - name: Fail if there are uncommitted changes - shell: bash - run: | - [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; echo; echo; git diff; exit 1; } - - name: mvn test - uses: ./.github/actions/incremental-build - with: - mode: test - pr-id: ${{ github.event.number }} - github-token: ${{ secrets.GITHUB_TOKEN }} - skip-mvnd-install: 'true' - artifact-upload-suffix: java-${{ matrix.java }} diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index 40832871997..f9966a5045c 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -21,7 +21,6 @@ on: pull_request: branches: - main - - camel-4.4.x paths-ignore: - .github/** - README.md