Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAT-18141 changes for liquibase-checks extension (#229)
* remove custom liquibase checks build. Add ability to build on multiple OS if desired * fix formatting * use same os input for build and test jobs * use same os input for build and test jobs * fix typo * 🔧 (.github/workflows/pro-extension-test.yml): Add Docker installation step for macOS runners to support Docker setup ♻️ (.github/workflows/pro-extension-test.yml): Refactor the way extraMavenArgs are passed to the Maven command to ensure proper handling of spaces and special characters * 🔧 (pro-extension-test.yml): add support for 'combineJars' boolean input to specify if built jars should be combined into a single jar 🔧 (pro-extension-test.yml): create a new job 'Combine Jars' to download artifacts from different platforms and create a multiplatform jar if 'combineJars' input is true * 🔧 (pro-extension-test.yml): remove unnecessary Docker installation steps for macOS 🔧 (pro-extension-test.yml): update conditional logic for running tests based on nightly flag and OS type to improve workflow efficiency * 🔧 (.github/workflows/pro-extension-test.yml): Fix conditional statements for running tests to ensure correct logic 🔧 (.github/workflows/pro-extension-test.yml): Add ls command to list files in /tmp directory for debugging purposes * 🔧 (.github/workflows/pro-extension-test.yml): Add new input 'modulePath' to specify the path to the module that should be built. This is useful for multi-module extensions. 🔧 (.github/workflows/pro-extension-test.yml): Update working directory for various steps to use the 'modulePath' input value. * 🔧 (.github/workflows/pro-extension-test.yml): fix quotes around inputs.extraMavenArgs to prevent shell expansion and ensure correct arguments are passed to Maven commands * 🔧 (pro-extension-test.yml): remove unnecessary 'unit-test' job dependency from 'combineJars' job to improve workflow efficiency * ✨ (pro-extension-test.yml): refactor workflow to dynamically get and use project version for artifact naming and handling * 📝 (pro-extension-test.yml): capitalize the first letter of the job names for consistency and readability 🔧 (pro-extension-test.yml): add quotes around the expression in the maven command to handle cases where the expression contains special characters * 🐛 (.github/workflows/pro-extension-test.yml): fix syntax error in maven command by adding missing closing parenthesis * 🔧 (.github/workflows/pro-extension-test.yml): update ls command to list files in /tmp directory for debugging purposes * 📝 (pro-extension-test.yml): rename step to get artifact version and update references to use the correct output variable 🔧 (pro-extension-test.yml): update artifact naming to include the correct artifact version for consistency and clarity 🔧 (pro-extension-test.yml): update download paths to use the correct artifact version for each platform 🔧 (pro-extension-test.yml): refactor creating multiplatform jar to use a more concise and efficient method * 🔧 (pro-extension-test.yml): remove duplicate step to get artifacts version to avoid redundancy and improve workflow efficiency * 🐛 (.github/workflows/pro-extension-test.yml): fix typo in output variable name to correctly reference artifact version in workflow steps * 🔧 (pro-extension-test.yml): remove redundant working-directory declarations to simplify workflow steps 🔧 (pro-extension-test.yml): separate download artifacts steps for Ubuntu, macOS, and Windows to improve clarity and organization 🔧 (pro-extension-test.yml): refactor artifact handling to create separate directories for Linux, Windows, and macOS artifacts and generate a combined artifact for liquibase checks * 🔧 (pro-extension-test.yml): remove unnecessary jar creation and copying steps and update directory creation and extraction steps to improve workflow efficiency * 🔧 (pro-extension-test.yml): fix incorrect flag usage in 'rm' command to remove directories 🔧 (pro-extension-test.yml): fix incorrect directory name in 'rm' command to remove liquibase-checks 🔧 (pro-extension-test.yml): fix incorrect file path in 'cat' command to combine fileslist.txt 🔧 (pro-extension-test.yml): fix incorrect directory name in 'zip' command to create liquibase-checks jar * 🐛 (.github/workflows/pro-extension-test.yml): fix incorrect paths for liquibase-checks directory and files to ensure proper file operations and artifact creation. * 🔧 (.github/workflows/pro-extension-test.yml): Change directory paths to use /tmp folder for creating multiplatform jar to avoid conflicts with existing files and improve organization. * 🔧 (.github/workflows/pro-extension-test.yml): add debug commands to list contents of /tmp directory for troubleshooting purposes * 🔧 (.github/workflows/extension-attach-artifact-release.yml): add combineJars option to specify combining jars into one for artifact release workflow 🔧 (.github/workflows/pro-extension-test.yml): remove redundant working-directory settings in job steps to improve workflow readability 🔧 (.github/workflows/pro-extension-test.yml): update paths to combine artifacts based on the operating system for better organization and clarity * 🔧 (.github/workflows/pro-extension-test.yml): remove unused modulePath input and update artifactPath to include target directory for artifacts gathering. Update working-directory for Get Artifact ID and Get Artifact Version steps to use artifactPath instead of modulePath. Update path for Save Artifacts step to include target directory. Update path for Save Event File and Save Multiplatform Artifacts steps to include all files in the specified artifactPath. * 📝 (.github/workflows/extension-attach-artifact-release.yml): add new input fields for os, extraMavenArgs, and artifactPath to provide more flexibility and customization options for the workflow. * 🔧 (extension-attach-artifact-release.yml): Update file to use 'macos' instead of 'mac' for consistency 🔧 (pro-extension-test.yml): Update file to use 'macos' instead of 'mac' for consistency * 🔧 (.github/workflows/extension-attach-artifact-release.yml): configure Git user name and email for actions to be performed by 'liquibot' ♻️ (.github/workflows/extension-attach-artifact-release.yml): refactor the build and package step to include release preparation and clean up ✨ (.github/workflows/extension-attach-artifact-release.yml): add support for downloading multiarchitecture release artifacts if combining jars 🔧 (.github/workflows/pro-extension-test.yml): update path for multiplatform artifacts to be consistent with changes in extension-attach-artifact-release.yml * 🐛 (extension-attach-artifact-release.yml): update artifact path to include all files in /tmp/combined directory instead of specific versioned directory * 🔧 (extension-attach-artifact-release.yml): Fix artifact naming issue in zip command to include correct version number 🔧 (extension-attach-artifact-release.yml): Update artifact path to only include the specific jar file 🔧 (pro-extension-test.yml): Fix artifact naming issue in zip command to include correct version number 🔧 (pro-extension-test.yml): Update artifact path to only include the specific jar file 🔧 (sonar-pull-request.yml): Add ability to specify the path to the artifacts to be attached to the build for multi-module extensions * ⬆️ (pro-extension-test.yml): upgrade sonar-pull-request.yml workflow to version DAT-18141 to include specific changes and improvements for SonarQube integration. * 🔧 (extension-attach-artifact-release.yml): Refactor artifact creation and upload process to use a more consistent naming convention and improve file organization 🔧 (pro-extension-test.yml): Refactor artifact creation and upload process to use a more consistent naming convention and improve file organization * ✨ (extension-attach-artifact-release.yml): add dependency on combineJars job to ensure it runs before attaching artifact to release * 🔧 (extension-attach-artifact-release.yml): change working directory to the specified artifact path before running the build and package step * 🐛 (extension-attach-artifact-release.yml): fix issue with release build command by adding checkModificationExcludeList parameter to prevent unnecessary changes during release preparation. * 🐛 (.github/workflows/pro-extension-test.yml): fix file paths for macOS directory to match the correct naming convention * 🐛 (extension-attach-artifact-release.yml): fix issue with Maven command by adding ignoreSnapshots=true flag to prevent snapshot dependencies from being released * 🔧 (.github/workflows/extension-attach-artifact-release.yml): update artifact references to use needs.build-multi-architecture outputs for multi-architecture support and improve artifact naming consistency. Add additional artifact files to be uploaded for the multiplatform artifact. * 🔧 (extension-attach-artifact-release.yml): change 'mac' directory to 'macos' for consistency with other platforms. * ⬆️ (extension-attach-artifact-release.yml): Upgrade setup-maven action to version 5 and maven-settings-xml-action to version 22 for better compatibility and features ⬆️ (pro-extension-test.yml): Upgrade setup-maven action to version 5 and maven-settings-xml-action to version 22 for better compatibility and features * 🚀 (extension-attach-artifact-release.yml): reorganize zip command to correctly include all files in the jar archive * 📝 (extension-attach-artifact-release.yml): simplify artifact path configuration to include all files in /tmp/combined directory for attachment to release * 🔧 (pro-extension-test.yml): Update artifact copying logic to include sources, javadoc, and pom files in the combined directory for multiplatform artifacts upload. * 📝 (extension-attach-artifact-release.yml): update artifact path to include separate jars for sources, javadoc, and pom files to be attached to the release. * 📝 (pro-extension-test.yml): update artifact path to include sources, javadoc, and pom files for multiplatform artifacts in the build process. * 🔧 (extension-release-published.yml): comment out the build release artifacts step to prevent unnecessary execution and speed up the workflow. * 🔧 (extension-release-prepare.yml): Add support for specifying the path to artifacts for multi-module extensions 🔧 (extension-release-published.yml): Add support for specifying the path to artifacts for multi-module extensions 🔧 (extension-release-rollback.yml): Add support for specifying the path to artifacts for multi-module extensions * 🔧 (extension-release-published.yml): update build-release-artifacts job to include working-directory for better organization and clarity 🔧 (extension-release-published.yml): update Get Artifact ID and Publish to Maven Central jobs to include working-directory for consistency and better organization * 🔧 (.github/workflows/create-release.yml): Update the version of sonar-push.yml to DAT-18141 and add support for specifying the artifact path 🔧 (.github/workflows/sonar-push.yml): Add support for specifying the artifact path to be attached to the build * 🔧 (extension-attach-artifact-release.yml): Update artifact path to include all files with the same prefix for better flexibility 🔧 (pro-extension-test.yml): Update artifact path to include all files with the same prefix for better flexibility * 🔧 (extension-attach-artifact-release.yml): Update path to include all files in the specified directory 🔧 (pro-extension-test.yml): Update path to include all files in the specified directory * 🔧 (extension-attach-artifact-release.yml): Update artifact path to include specific jar, sources jar, javadoc jar, and pom files for release attachment 🔧 (pro-extension-test.yml): Update artifact path to include specific jar, sources jar, javadoc jar, and pom files for testing purposes * 🐛 (extension-attach-artifact-release.yml): Remove duplicate file path in artifact attachment step to prevent errors 🐛 (pro-extension-test.yml): Remove duplicate file path in artifact attachment step to prevent errors * 🔧 (extension-attach-artifact-release.yml): remove unnecessary condition for combining jars during release artifact build to simplify workflow and improve clarity * 🔧 (extension-attach-artifact-release.yml): set working directory to the specified artifact path before building release artifacts * 🔧 (extension-attach-artifact-release.yml): Update file paths for artifact copying to simplify and improve readability 🔧 (pro-extension-test.yml): Update file paths for artifact copying to simplify and improve readability * ✨ (pro-extension-test.yml): add dependency on unit-test job for combineJars job to ensure unit tests are run before combining jars * 🔧 (extension-attach-artifact-release.yml): update mvn command to include checkModificationExcludeList and ignoreSnapshots options for release preparation. * 🔧 (extension-attach-artifact-release.yml): comment out artifact download and build steps as they are not needed for the current workflow and can be re-enabled if required in the future. * 🔧 (extension-attach-artifact-release.yml): Update workflow to check and download artifacts from GPM and build release artifacts 🔧 (extension-release-prepare.yml): Update workflow to prepare Maven release with correct arguments 🔧 (extension-release-published.yml): Update workflow to build release artifacts with correct arguments 🔧 (extension-release-rollback.yml): Update workflow to perform Maven release rollback with correct arguments * 🔧 (extension-attach-artifact-release.yml): set working directory to the specified artifact path before signing files for draft release * 🔧 (extension-attach-artifact-release.yml): set root directory variable to improve script readability and maintainability * 🔧 (extension-release-prepare.yml): Add working directory configuration to run extra command in the specified path 🔧 (extension-release-published.yml): Add working directory configuration to run extra command in the specified path 🔧 (extension-release-rollback.yml): Add working directory configuration to run extra command in the specified path 🔧 (sonar-pull-request.yml): Add working directory configuration to run extra command in the specified path 🔧 (sonar-push.yml): Add working directory configuration to run extra command in the specified path * 🔧 (extension-attach-artifact-release.yml): fix path to sign artifacts by using absolute path from REPO_ROOT to target directory * 🔧 (extension-attach-artifact-release.yml): update path for artifact download to use the input variable for flexibility 🔧 (extension-attach-artifact-release.yml): update the working directory for attaching files to the draft release to the specified artifact path 🔧 (extension-attach-artifact-release.yml): update the command to run the upload script with the correct path to the project root folder * 🔧 (extension-attach-artifact-release.yml): set working directory to the specified artifact path before setting draft release title * 🔧 (extension-attach-artifact-release.yml): update artifact paths to include inputs.artifactPath for signing artifacts correctly * 🔧 (extension-release-published.yml): use the provided input variable for the output file path instead of hardcoding it to improve flexibility and reusability * ⬆️ (create-release.yml): Update sonar-push.yml reference to use the 'main' branch instead of a specific commit hash for better maintainability ⬆️ (extension-release-prepare.yml): Update extension-release-rollback.yml reference to use the 'main' branch instead of a specific commit hash for better maintainability ⬆️ (pro-extension-test.yml): Update sonar-pull-request.yml reference to use the 'main' branch instead of a specific commit hash for better maintainability --------- Co-authored-by: Alejandro Alvarez <[email protected]> Co-authored-by: Alejandro Alvarez <[email protected]>
- Loading branch information