Skip to content

Commit

Permalink
refactor all GHA workflows to point to release by db
Browse files Browse the repository at this point in the history
  • Loading branch information
dreads committed Jan 9, 2025
1 parent 3bfb271 commit 894ae39
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/liquibase_pro_cd_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
# The Liquibase Search Path controls how Liquibase finds it's configurations.
# To ensure the correct config gets located first, keep "." at the end of this path.
# See https://docs.liquibase.com/concepts/changelogs/how-liquibase-finds-files.html
LIQUIBASE_SEARCH_PATH: "liquibase-sql,."
LIQUIBASE_SEARCH_PATH: "liquibase-sql/sqlcode_by_releases_db,."

# Location of the Custom Policy Checks settings file from the Liquibase Configuration Repo.
# See https://docs.liquibase.com/liquibase-pro/policy-checks/custom-policy-checks/home.html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/liquibase_pro_ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
# The Liquibase Search Path controls how Liquibase finds it's configurations.
# To ensure the correct config gets located first, keep "." at the end of this path.
# See https://docs.liquibase.com/concepts/changelogs/how-liquibase-finds-files.html
LIQUIBASE_SEARCH_PATH: "liquibase-sql,."
LIQUIBASE_SEARCH_PATH: "liquibase-sql/sqlcode_by_releases_db,."

# Location of the Custom Policy Checks settings file from the Liquibase Configuration Repo.
# See https://docs.liquibase.com/liquibase-pro/policy-checks/custom-policy-checks/home.html
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/liquibase_pro_manual_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
# The Liquibase Search Path controls how Liquibase finds it's configurations.
# To ensure the correct config gets located first, keep "." at the end of this path.
# See https://docs.liquibase.com/concepts/changelogs/how-liquibase-finds-files.html
LIQUIBASE_SEARCH_PATH: "liquibase-sql,."
LIQUIBASE_SEARCH_PATH: "liquibase-sql/sqlcode_by_releases_db,."

# Location of the Custom Policy Checks settings file from the Liquibase Configuration Repo.
# See https://docs.liquibase.com/liquibase-pro/policy-checks/custom-policy-checks/home.html
Expand Down Expand Up @@ -129,6 +129,8 @@ jobs:
# Execute the Flow file
- name: Run flow
run: |
liquibase --license-key=${{ env.LIQUIBASE_LICENSE_KEY }} flow \
liquibase --license-key=${{ env.LIQUIBASE_LICENSE_KEY }} \
--changelog-file=rootchangelog_by_releases_db.yaml \
flow \
--flow-file=${{ env.FLOW_FILE }} \
--logfile=logs/liquibase.log
6 changes: 4 additions & 2 deletions .github/workflows/liquibase_pro_rollback_utility_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ env:
# The Liquibase Search Path controls how Liquibase finds it's configurations.
# To ensure the correct config gets located first, keep "." at the end of this path.
# See https://docs.liquibase.com/concepts/changelogs/how-liquibase-finds-files.html
LIQUIBASE_SEARCH_PATH: "liquibase-sql,."
LIQUIBASE_SEARCH_PATH: "liquibase-sql/sqlcode_by_releases_db,."

# Store the Liquibase Pro License key in a Github Action Repository Secret. The
# same license key is used for all executions, so it is tracked at the repository level
Expand Down Expand Up @@ -137,6 +137,8 @@ jobs:
# Execute the Flow file
- name: Run flow
run: |
liquibase --license-key=${{ secrets.LIQUIBASE_LICENSE_KEY }} flow \
liquibase --license-key=${{ secrets.LIQUIBASE_LICENSE_KEY }} \
--changelog-file=rootchangelog_by_releases_db.yaml \
flow \
--flow-file=${{ env.FLOW_FILE }} \
--logfile=logs/liquibase.log

0 comments on commit 894ae39

Please sign in to comment.