Skip to content

Commit

Permalink
Dat 16080 (#101)
Browse files Browse the repository at this point in the history
* chore(workflows): update Maven version to 3.9.5 in OS extension test, package-deb, pro-extension-test, and sonar-test-scan workflows

The Maven version used in the workflows was updated from 3.9.2 to 3.9.5. This update ensures that the latest version of Maven is used for building and packaging the project. The new version may include bug fixes, performance improvements, and new features, providing a more reliable and efficient build process.

* chore(os-extension-test.yml): add maven settings for liquibase repositories and servers

The maven-settings-xml-action is added to the workflow to configure the repositories and servers for liquibase dependencies. This allows the workflow to look for dependencies in the liquibase and liquibase-pro repositories hosted on GitHub Maven Package Registry. The repositories are enabled for both releases and snapshots, with the update policy set to always. The servers are configured with the necessary credentials for authentication. This change ensures that the workflow can successfully resolve and download the liquibase dependencies when building the project.

* chore(os-extension-test.yml): remove redundant maven-settings-xml-action step

The maven-settings-xml-action step was removed as it was redundant and not necessary for the workflow.

* chore(os-extension-test.yml): remove unnecessary artifact download step

The artifact download step was removed as it is no longer needed for the test job.

* feat(workflows): add step to download artifacts from previous build to be used in subsequent steps

The previous build artifacts are downloaded using the `actions/download-artifact@v3` action. The downloaded artifacts are stored in the `./target` directory. This step is added to ensure that the artifacts from the previous build are available for use in subsequent steps.

* fix(pro-extension-test.yml): fix build and package step to use the correct liquibase version
feat(pro-extension-test.yml): add support for building and packaging the latest liquibase version when running nightly build

* fix(workflows): update liquibase build and package steps in os-extension-test.yml
feat(workflows): add setup for Vault token in pro-extension-test.yml

The changes in `os-extension-test.yml` include:
- Renaming the step "Set latest liquibase version" to "Build and Package latest liquibase version"
- Updating the command in the "Build and Package latest liquibase version" step to include dependency resolution and packaging with the `master-SNAPSHOT` version of Liquibase
- Adding a new step "Build and Package" for non-nightly builds, which includes dependency resolution and packaging with the `master-SNAPSHOT` version of Liquibase

The changes in `pro-extension-test.yml` include:
- Adding a new step "Setup Vault token" to set up the Vault token for accessing Vault resources
- Configuring the Vault token setup step with the necessary environment variables and secrets

These changes improve the build and package process for Liquibase and add support for setting up the Vault token for accessing Vault resources in the Pro extension test workflow.

* chore(pro-extension-test.yml): remove setup Vault token step

The setup Vault token step was removed from the workflow as it is no longer needed for the test process.

* chore(create-release.yml): update sonar-push.yml version to v0.5.1 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.5.1 for better compatibility and bug fixes
chore(extension-release-prepare.yml): update extension-release-rollback.yml version to v0.5.1 for better compatibility and bug fixes
chore(extension-release-published.yml): update extension-release-prepare.yml version to v0.5.1 for better compatibility and bug fixes
chore(os-extension-test.yml): update sonar-pull-request.yml version to v0.5.1 for better compatibility and bug fixes
chore(package-deb.yml): update package-deb-pom.xml and control files versions to v0.5.1 for better compatibility and bug fixes
chore(pom-release-published.yml): update extension-release-prepare.yml version to v0.5.1 for better compatibility and bug fixes
chore(pro-extension-test.yml): update sonar-pull-request.yml version to v0.5.1 for better compatibility and bug fixes

* fix(workflows): remove unnecessary -Dliquibase.version=master-SNAPSHOT from Maven build command

The -Dliquibase.version=master-SNAPSHOT flag is not needed in the Maven build command as it is not relevant to the build process. Removing it will simplify the command and improve readability.
  • Loading branch information
jandroav authored Oct 19, 2023
1 parent f66d068 commit b93cc6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/os-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Build and Package
if: ${{ !inputs.nightly }}
run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT
run: mvn -B dependency:go-offline clean package -DskipTests=true

- name: Build and Package
run: mvn -B dependency:go-offline clean package -DskipTests=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pro-extension-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:

- name: Build and Package
if: ${{ !inputs.nightly }}
run: mvn -B dependency:go-offline clean package -DskipTests=true -Dliquibase.version=master-SNAPSHOT
run: mvn -B dependency:go-offline clean package -DskipTests=true

- name: Get Artifact ID
id: get-artifact-id
Expand Down

0 comments on commit b93cc6e

Please sign in to comment.