This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch camel-4.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3bc7654d7ad7599ef6831f26c0a3fd56ecedf499 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Wed Jan 8 10:11:10 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 | 74 ---------------------- .github/workflows/pr-build-main.yml | 1 - 3 files changed, 180 deletions(-) diff --git a/.github/workflows/pr-build-camel-3.yml b/.github/workflows/pr-build-camel-3.yml deleted file mode 100644 index bffc9f710b6..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@v4 - with: - persist-credentials: false - - id: install-mvnd - uses: ./.github/actions/install-mvnd - - name: Set up JDK - uses: actions/setup-java@v4 - 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@v4 - 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@v4 - with: - persist-credentials: false - fetch-depth: 0 - - 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@v4 - 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@v4 - 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 }} diff --git a/.github/workflows/pr-build-camel-40x.yml b/.github/workflows/pr-build-camel-40x.yml deleted file mode 100644 index bb5ca47f5a7..00000000000 --- a/.github/workflows/pr-build-camel-40x.yml +++ /dev/null @@ -1,74 +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 - -jobs: - build: - if: github.repository == 'apache/camel' - permissions: - issues: write - runs-on: ubuntu-latest - strategy: - matrix: - java: [ '17' ] - steps: - - uses: actions/checkout@v4 - with: - persist-credentials: false - fetch-depth: 0 - - 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@v4 - 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@v4 - 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' diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index 13752ab9ac3..2222ba248ee 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -20,7 +20,6 @@ name: PR Build (Camel 4) on: pull_request: branches: - - main - camel-4.4.x paths-ignore: - .github/**
