-
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.
DAT-17532 Allow obfuscation when using parent pom and reusable workfl…
…ows (#200) * ci(workflows): add support for specifying different Maven profiles in GitHub workflows * build(workflows): update liquibase/build-logic workflows to version v0.7.3 for consistency and bug fixes docs(README): update release version in README to v0.7.3 for accuracy and clarity * build(create-release.yml): update liquibase/build-logic version to v0.7.4 build(extension-attach-artifact-release.yml): update liquibase/build-logic version to v0.7.4 build(extension-release-prepare.yml): update liquibase/build-logic version to v0.7.4 build(extension-release-published.yml): update liquibase/build-logic version to v0.7.4 build(fossa_ai.yml): update liquibase/build-logic version to v0.7.4 build(os-extension-test.yml): update liquibase/build-logic version to v0.7.4 build(pom-release-published.yml): update liquibase/build-logic version to v0.7.4 build(pro-extension-test.yml): update liquibase/build-logic version to v0.7.4 docs(README.md): update build-logic version to v0.7.4 in release instructions
- Loading branch information
Showing
9 changed files
with
26 additions
and
16 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ on: | |
|
||
jobs: | ||
sonar: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
with: | ||
extraCommand: ${{ inputs.extraCommand }} | ||
|
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 |
---|---|---|
|
@@ -107,7 +107,7 @@ jobs: | |
release-rollback: | ||
needs: prepare-release | ||
if: ${{ always() && contains(needs.*.result, 'failure') }} | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
with: | ||
extraCommand: ${{ inputs.extraCommand }} |
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ on: | |
|
||
jobs: | ||
maven-release: | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
with: | ||
extraCommand: ${{ inputs.extraCommand }} | ||
|
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 |
---|---|---|
|
@@ -253,7 +253,7 @@ jobs: | |
sonar-pr: | ||
if: ${{ !inputs.nightly }} | ||
needs: [unit-test] | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
with: | ||
extraCommand: ${{ inputs.extraCommand }} |
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 |
---|---|---|
|
@@ -38,6 +38,11 @@ on: | |
required: false | ||
default: "" | ||
type: string | ||
mavenProfiles: | ||
description: "Specify it if you want to run different Maven profiles from the default (coverage). mavenProfiles example: 'coverage,run-proguard'" | ||
required: false | ||
default: "coverage" | ||
type: string | ||
secrets: | ||
SONAR_TOKEN: | ||
description: "SONAR_TOKEN from the caller workflow" | ||
|
@@ -262,11 +267,11 @@ jobs: | |
- name: Run Tests | ||
if: ${{ !inputs.nightly }} | ||
run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} | ||
run: mvn -B test -P '${{ inputs.mavenProfiles }}' ${{ inputs.extraMavenArgs }} | ||
|
||
- name: Run Tests | ||
if: ${{ inputs.nightly }} | ||
run: mvn -B test -P 'coverage' ${{ inputs.extraMavenArgs }} "-Dliquibase.version=master-SNAPSHOT" | ||
run: mvn -B test -P '${{ inputs.mavenProfiles }}' ${{ inputs.extraMavenArgs }} "-Dliquibase.version=master-SNAPSHOT" | ||
|
||
- name: Notify Slack on Build Failure | ||
if: ${{ failure() && inputs.nightly }} | ||
|
@@ -293,7 +298,7 @@ jobs: | |
sonar-pr: | ||
if: ${{ !inputs.nightly }} | ||
needs: [unit-test] | ||
uses: liquibase/build-logic/.github/workflows/[email protected].3 | ||
uses: liquibase/build-logic/.github/workflows/[email protected].4 | ||
secrets: inherit | ||
with: | ||
extraCommand: ${{ inputs.extraCommand }} |
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