Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3822

Eliminate duplicated GitHub Actions workflow

    XMLWordPrintableJSON

Details

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

    Description

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

      -       - uses: ./.github/buildenv
      -         if: github.repository == 'apache/hadoop-ozone'
      -         with:
      -           args: ./hadoop-ozone/dev-support/checks/sonar.sh
      -         env:
      -           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
      -           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      

      This issue proposes to keep only the post-commit definition and execute sonar.sh conditionally.

      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: