Skip to content

Commit

Permalink
DAT-16175 (#5196)
Browse files Browse the repository at this point in the history
* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* set mvn version as master-SNAPSHOT

* set mvn version

* set mvn version

* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* Update build-azure-uber-jar.yml

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>

* debug liquibase-pro

* debug liquibase-pro

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* azure uber jar

* trigger build

* trigger build

---------

Signed-off-by: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com>
Co-authored-by: Sayali M <sayali@Sayalis-MacBook-Pro>
  • Loading branch information
sayaliM0412 and Sayali M committed Nov 15, 2023
1 parent 26977b8 commit 2869249
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-azure-uber-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
repository: liquibase/liquibase-pro
ref: ${{ inputs.branch }}
token: ${{ secrets.BOT_TOKEN }}
path: liquibase-pro

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down Expand Up @@ -83,12 +84,12 @@ jobs:
servers: |
[
{
"id": "liquibase-pro",
"id": "liquibase",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
},
{
"id": "liquibase",
"id": "liquibase-pro",
"username": "liquibot",
"password": "${{ secrets.LIQUIBOT_PAT }}"
},
Expand All @@ -105,14 +106,15 @@ jobs:
maven-version: ${{ env.MAVEN_VERSION }}

- name: Set version
run: mvn versions:set -DnewVersion=${{ inputs.liquibase-version }}
run: cd liquibase-pro/liquibase-azure-deps && mvn versions:set -DnewVersion=${{ inputs.liquibase-version }}

- name: Build & Test
run: mvn -B clean package
run: |
cd liquibase-pro/liquibase-azure-deps && mvn -B clean package
- name: Archive Modules
uses: actions/upload-artifact@v3
with:
name: liquibase-pro-azure-artifacts
path: |
*/target/*.jar
liquibase-azure-deps/target/*.jar
28 changes: 14 additions & 14 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
- run: |
echo "Creating version ${{ steps.collect-data.outputs.version }} from ${{ steps.collect-data.outputs.branch }} with artifacts from build ${{ steps.collect-data.outputs.runId }} "
# build-azure-uber-jar:
# needs: [ setup ]
# uses: liquibase/liquibase/.github/workflows/build-azure-uber-jar.yml@master
# with:
# branch: ${{ needs.setup.outputs.branch }}
# liquibase-version: ${{ needs.setup.outputs.version }}
# secrets: inherit
build-azure-uber-jar:
needs: [ setup ]
uses: liquibase/liquibase/.github/workflows/build-azure-uber-jar.yml@master
with:
branch: ${{ needs.setup.outputs.branch }}
liquibase-version: ${{ needs.setup.outputs.version }}
secrets: inherit

reversion:
needs: [ setup ]
Expand All @@ -64,13 +64,13 @@ jobs:
name: liquibase-artifacts
path: download/liquibase-artifacts

# - name: Download liquibase-pro-azure-artifacts
# uses: liquibase/action-download-artifact@v2-liquibase
# with:
# workflow: build-azure-uber-jar.yml
# run_id: ${{ needs.setup.outputs.runId }}
# name: liquibase-pro-azure-artifacts
# path: download/liquibase-pro-azure-artifacts
- name: Download liquibase-pro-azure-artifacts
uses: liquibase/action-download-artifact@v2-liquibase
with:
workflow: build-azure-uber-jar.yml
run_id: ${{ needs.setup.outputs.runId }}
name: liquibase-pro-azure-artifacts
path: download/liquibase-pro-azure-artifacts

- name: Set up JDK
uses: actions/setup-java@v3
Expand Down

0 comments on commit 2869249

Please sign in to comment.