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

Fix manual workflows #12

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 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-process,."
LIQUIBASE_SEARCH_PATH: "."

# 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 @@ -103,16 +103,16 @@ jobs:
runs-on: [self-hosted]

steps:
# Check out the source code
- name: Checkout Database Source repo
# Check out the database change configuration code and workflows
- name: Checkout Database Change Configuration repo
uses: actions/checkout@v3

# Check out the Liquibase Configuration Repo to a folder, "liquibase-process"
- name: Checkout Liquibase Configuration repo
# Check out the SQL Repo to a folder, "liquibase-sql"
- name: Checkout Database Change SQL repo
uses: actions/checkout@v4
with:
repository: adeelmalik78/Automations
path: liquibase-process
repository: liquibase/cs-impl-guide-examples-sql
path: liquibase-sql

####################################################################
# Perform the Database change control operations specified
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/liquibase_pro_rollback_utility_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ env:
# The top level Flow File that orchestrates the database changes
# We are using a flow which calls rollback-one-update-sql, and
# rollback-one-update: https://docs.liquibase.com/commands/rollback/rollback-one-update.html
FLOW_FILE: "liquibase-process/flowfiles/liquibase-rollback.flowfile.yaml"
FLOW_FILE: "flowfiles/liquibase-rollback.flowfile.yaml"

# 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-process,."
LIQUIBASE_SEARCH_PATH: "."

# 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 @@ -104,25 +104,24 @@ jobs:
fi

###################################################################
# Check out the source code and configuration
# Check out the source code
####################################################################
checkout-repo:
name: Check out repositories
needs: [init]

runs-on: [self-hosted]

steps:
# Check out the source code to .
- name: Checkout Database Source repo
# Check out the database change configuration code and workflows
- name: Checkout Database Change Configuration repo
uses: actions/checkout@v3

# Check out the Liquibase Configuration Repo to a folder, "liquibase-process"
- name: Checkout Liquibase Configuration repo
# Check out the SQL Repo to a folder, "liquibase-sql"
- name: Checkout Database Change SQL repo
uses: actions/checkout@v4
with:
repository: adeelmalik78/Automations
path: liquibase-process
repository: liquibase/cs-impl-guide-examples-sql
path: liquibase-sql

#########################################################################
# Roll back
Expand Down