Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1306

Eliminate duplicated GitHub Actions workflow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • build
    • None

    Description

      GitHub Actions workflows for Ratis CI have two flavors: post-commit and pull-request. The main difference between the two is that Sonar is not updated for PRs:

      -        - run: ./dev-support/checks/sonar.sh
      -          if: github.repository == 'apache/incubator-ratis'
      -          env:
      -            SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
      -            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      

      Similar to HDDS-3822, we can keep only the post-commit definition and execute sonar.sh conditionally.

      The other difference is missing Summary of failures in the post-commit workflow, but it can be added.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m