Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAT-16000



 liquibase-redshift using Liquibase Parent POM #98

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

jandroav
Copy link
Contributor

@jandroav jandroav commented Oct 13, 2023

https://datical.atlassian.net/browse/DAT-16000

This is to accommodate some oss extensions like the redshift one to execute sonar analysis on PRs with custom build logic

jandroav added 3 commits October 13, 2023 14:33
…ifact and get artifact ID

The changes in this commit add two new steps to the Sonar Pull Request workflow.

1. The first step is to get the artifact ID using the Maven command `mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout`. The output of this command is stored in the environment variable `artifact_id` using the `echo` command.

2. The second step is to download the test results artifact using the `dawidd6/action-download-artifact` action. This step downloads the artifact with the name `${{ env.artifact_id }}-artifacts` from the workflow `test.yml` in the current repository. The downloaded artifact is saved in the `./target` directory. If no artifact is found, a warning is issued.

These changes are made to enhance the Sonar Scan process by providing the necessary artifacts and information for analysis.
…ckage step and skip tests

The SonarQube command in the workflow file has been updated to include a package step and skip tests. This change was made to improve the efficiency of the SonarQube analysis by skipping unnecessary test execution during the analysis process.
…r 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.9 for better compatibility and bug fixes
chore(extension-release-prepare.yml): update extension-release-rollback.yml version to v0.4.9 for better compatibility and bug fixes
chore(extension-release-published.yml): update extension-release-prepare.yml version to v0.4.9 for better compatibility and bug fixes
chore(os-extension-test.yml): update sonar-pull-request.yml version to v0.4.9 for better compatibility and bug fixes
chore(package-deb.yml): update package-deb-pom.xml and other script versions to v0.4.9 for better compatibility and bug fixes
chore(pom-release-published.yml): update extension-release-prepare.yml version to v0.4.9 for better compatibility and bug fixes
chore(pro-extension-test.yml): update sonar-pull-request.yml version to v0.4.9 for better compatibility and bug fixes
@jandroav jandroav merged commit 2df68f7 into main Oct 13, 2023
@jandroav jandroav deleted the DAT-16000 branch October 13, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant