-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(sonar-test-scan.yml): update Maven commands in Sonar test scan workflow - Change the Maven command from "mvn -B verify -P '!run-proguard' -DskipITs -Dliquibase.version=${{ inputs.liquibaseBranchName }}-SNAPSHOT" to "mvn -B package -P 'sonar,!run-proguard' -DskipTests -Dliquibase.version=${{ inputs.liquibaseBranchName }}-SNAPSHOT" to only package the project and exclude running tests. - Update the Maven command in the "run" step from "mvn -B verify sonar:sonar -P '!run-proguard' -DskipTests -Dliquibase.version=${{ inputs.liquibaseBranchName }}-SNAPSHOT" to "mvn -B sonar:sonar -P 'sonar,!run-proguard' -DskipTests -Dliquibase.version=${{ inputs.liquibaseBranchName }}-SNAPSHOT" to only run Sonar analysis and exclude running tests. These changes improve the efficiency of the Sonar test scan workflow by skipping unnecessary steps and focusing on the required tasks. * fix(sonar-test-scan.yml): remove unnecessary argument '--classfiles' from jacococli.jar command The '--classfiles' argument is not needed in the jacococli.jar command as it is already configured to use the correct class files directory. Removing this argument improves the clarity and simplicity of the command. * chore(sonar-test-scan.yml): generate dump classes during the Sonar test scan to improve code coverage accuracy chore(sonar-test-scan.yml): update jacococli.jar command to include classfiles path for code coverage report generation * chore(sonar-test-scan.yml): add lt -ltr command to list files in the target directory after jacoco report generation * refactor(sonar-test-scan.yml): improve file path handling for jacoco.exec files feat(sonar-test-scan.yml): add support for dynamic module name for jacoco.exec file paths * fix(sonar-test-scan.yml): update jacococli.jar path to match the location of the tested classes module * chore(sonar-test-scan.yml): remove unnecessary mkdir command to improve build process efficiency chore(sonar-test-scan.yml): add ls commands to debug build process and check file structure before and after jacoco merge * chore(sonar-test-scan.yml): update jacoco unzip command to use quiet mode for less verbose output chore(sonar-test-scan.yml): remove unnecessary 'lt' command from jacoco report step * chore(sonar-test-scan.yml): remove unnecessary ls commands to improve readability and reduce noise in the workflow chore(sonar-test-scan.yml): update jacoco version to v0.8.10 to ensure compatibility with the latest release chore(sonar-test-scan.yml): update jacoco file paths to match the new jacoco version and project structure * chore(sonar-test-scan.yml): add command to list files in the target directory for debugging purposes * chore(sonar-test-scan.yml): add working directory configuration to Sonar test scan jobs The working directory configuration is added to the Sonar test scan jobs in the `.github/workflows/sonar-test-scan.yml` file. This allows the jobs to run in the specified directory, which is determined by the `testedClassesModuleName` input. * chore(create-release.yml): update sonar-push.yml version to v0.4.4 for better compatibility and bug fixes chore(extension-attach-artifact-release.yml): update get_draft_release.sh, sign_artifact.sh, and upload_asset.sh versions to v0.4.4 for better compatibility and bug fixes chore(extension-release-published.yml): update extension-release-prepare.yml version to v0.4.4 for better compatibility and bug fixes chore(os-extension-test.yml): update sonar-pull-request.yml version to v0.4.4 for better compatibility and bug fixes chore(package-deb.yml): update package-deb-pom.xml and related scripts versions to v0.4.4 for better compatibility and bug fixes chore(pom-release-published.yml): update extension-release-prepare.yml version to v0.4.4 for better compatibility and bug fixes chore(pro-extension-test.yml): update sonar-pull-request.yml version to v0.4.4 for better compatibility and bug fixes chore(sonar-test-scan.yml): remove unnecessary ls command and improve code readability
- Loading branch information
Showing
8 changed files
with
37 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
|
||
jobs: | ||
sonar: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
|
||
create-release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,5 @@ jobs: | |
maven-release: | ||
needs: release | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,5 +98,5 @@ jobs: | |
sonar-pr: | ||
needs: [ unit-test ] | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,10 +54,10 @@ jobs: | |
# Under the src folder is where specific packages files live. The GitHub action inputs will modify the universal package-deb-pom.xml to tell the process which assets to use during the packaging step | ||
mkdir -p $PWD/.github/src/${{ inputs.artifactId }}/deb/control | ||
mkdir -p $PWD/.github/src/${{ inputs.artifactId }}/main/archive | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/control https://raw.githubusercontent.com/liquibase/build-logic/v0.4.3/src/${{ inputs.artifactId }}/deb/control/control | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/postinst https://raw.githubusercontent.com/liquibase/build-logic/v0.4.3/src/${{ inputs.artifactId }}/deb/control/postinst | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.3/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh | ||
curl -o $PWD/.github/package-deb-pom.xml https://raw.githubusercontent.com/liquibase/build-logic/v0.4.3/.github/package-deb-pom.xml | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/control https://raw.githubusercontent.com/liquibase/build-logic/v0.4.4/src/${{ inputs.artifactId }}/deb/control/control | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/deb/control/postinst https://raw.githubusercontent.com/liquibase/build-logic/v0.4.4/src/${{ inputs.artifactId }}/deb/control/postinst | ||
curl -o $PWD/.github/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh https://raw.githubusercontent.com/liquibase/build-logic/v0.4.4/src/${{ inputs.artifactId }}/main/archive/${{ inputs.artifactId }}-env.sh | ||
curl -o $PWD/.github/package-deb-pom.xml https://raw.githubusercontent.com/liquibase/build-logic/v0.4.4/.github/package-deb-pom.xml | ||
- name: Set up Maven | ||
uses: stCarolas/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,5 +68,5 @@ jobs: | |
maven-release: | ||
needs: release | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,5 +204,5 @@ jobs: | |
sonar-pr: | ||
needs: [ unit-test ] | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters