forked from szandany/Liquibase_Snowflake_Example
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from molivasdat/lbjenn-patch-1
Lbjenn patch 1
- Loading branch information
Showing
24 changed files
with
59,263 additions
and
1,733 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 |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
name: ${{ github.event.inputs.db }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.LB_GH_TOKEN }} | ||
|
||
|
@@ -55,5 +55,5 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "Restore snapshotfile" | ||
git commit -m "Restore snapshotfile for ${{ github.event.inputs.db }}" | ||
git push |
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
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 |
---|---|---|
|
@@ -24,6 +24,7 @@ env: | |
LIQUIBASE_COMMAND_TAG: ${{ github.event.inputs.tag }} | ||
LIQUIBASE_LOG_FORMAT: "JSON" | ||
LIQUIBASE_LOG_LEVEL: "INFO" | ||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: "TRUE" | ||
|
||
jobs: | ||
|
||
|
@@ -33,11 +34,11 @@ jobs: | |
name: DEV | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.LB_GH_TOKEN }} | ||
- name: Running Flow | ||
uses: docker://liquibase/liquibase | ||
uses: docker://liquibase/liquibase:4.28.0 | ||
with: | ||
args: --log-file=runlog_DEV.json flow --flow-file=liquibase.flowfile.yaml | ||
env: | ||
|
@@ -47,9 +48,9 @@ jobs: | |
### | ||
- name: Gather logs | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: logs | ||
name: logs-DEV | ||
path: | | ||
**/*DEV.json | ||
**/*DEV.html | ||
|
@@ -58,7 +59,7 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "New Snapshots" | ||
git commit -m "DEV Deploy Reports and Logs" | ||
git push | ||
|
||
|
@@ -69,11 +70,11 @@ jobs: | |
name: TEST | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.LB_GH_TOKEN }} | ||
- name: Running Flow | ||
uses: docker://liquibase/liquibase | ||
uses: docker://liquibase/liquibase:4.28.0 | ||
with: | ||
args: --log-file=runlog_TEST.json flow --flow-file=liquibase.flowfile.yaml | ||
env: | ||
|
@@ -83,9 +84,9 @@ jobs: | |
### | ||
- name: Gather logs | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: logs | ||
name: logs-TEST | ||
path: | | ||
**/*TEST.json | ||
**/*TEST.html | ||
|
@@ -95,7 +96,7 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "New Snapshots $LB_ENVIRONMENT" | ||
git commit -m "$LB_ENVIRONMENT Deploy Reports and Logs" | ||
git push | ||
Deploy_Prod_Job: | ||
|
@@ -105,11 +106,11 @@ jobs: | |
name: PROD | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.LB_GH_TOKEN }} | ||
- name: Running Flow | ||
uses: docker://liquibase/liquibase | ||
uses: docker://liquibase/liquibase:4.28.0 | ||
with: | ||
args: --log-file=runlog_PROD.json flow --flow-file=liquibase.flowfileprod.yaml | ||
env: | ||
|
@@ -119,9 +120,9 @@ jobs: | |
### | ||
- name: Gather logs | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: logs | ||
name: logs-PROD | ||
path: | | ||
**/*PROD.json | ||
**/*PROD.html | ||
|
@@ -131,7 +132,7 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git commit -m "New Snapshots" | ||
git commit -m "$LB_ENVIRONMENT Deploy Reports and Logs" | ||
git push | ||
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
driftdetection.txt | ||
liquibase.properties | ||
Snapshots/ | ||
Snapshots/ | ||
logs/ | ||
*.html |
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
Oops, something went wrong.