FINERACT-2081: Fix to use locally built docker image
This commit is contained in:
@@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
IMAGE_NAME: fineract
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
@@ -19,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -x test -x cucumber
|
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -Djib.to.image=$IMAGE_NAME -x test -x cucumber
|
||||||
- name: Start the stack
|
- name: Start the stack
|
||||||
run: docker compose -f docker-compose.yml up -d
|
run: docker compose -f docker-compose.yml up -d
|
||||||
- name: Check the stack
|
- name: Check the stack
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
IMAGE_NAME: fineract
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
@@ -19,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -x test -x cucumber
|
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -Djib.to.image=$IMAGE_NAME -x test -x cucumber
|
||||||
- name: Start the Standalone Stack
|
- name: Start the Standalone Stack
|
||||||
run: docker compose -f docker-compose-postgresql.yml up -d
|
run: docker compose -f docker-compose-postgresql.yml up -d
|
||||||
- name: Check the stack
|
- name: Check the stack
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
IMAGE_NAME: fineract
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
@@ -19,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -x test -x cucumber
|
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -Djib.to.image=$IMAGE_NAME -x test -x cucumber
|
||||||
- name: Start the Fineract stack
|
- name: Start the Fineract stack
|
||||||
run: docker compose -f docker-compose-postgresql-test-activemq.yml up -d
|
run: docker compose -f docker-compose-postgresql-test-activemq.yml up -d
|
||||||
- name: Check the stack
|
- name: Check the stack
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
IMAGE_NAME: fineract
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
@@ -19,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -x test -x cucumber
|
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -Djib.to.image=$IMAGE_NAME -x test -x cucumber
|
||||||
- name: Start the ActiveMQ Stack
|
- name: Start the ActiveMQ Stack
|
||||||
run: docker compose -f docker-compose-postgresql-activemq.yml up --scale fineract-worker=1 -d
|
run: docker compose -f docker-compose-postgresql-activemq.yml up --scale fineract-worker=1 -d
|
||||||
- name: Check the stack
|
- name: Check the stack
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
|
||||||
|
IMAGE_NAME: fineract
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
with:
|
with:
|
||||||
@@ -19,7 +20,7 @@ jobs:
|
|||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
|
||||||
- name: Build the image
|
- name: Build the image
|
||||||
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -x test -x cucumber
|
run: ./gradlew --no-daemon --console=plain :fineract-provider:jibDockerBuild -Djib.to.image=$IMAGE_NAME -x test -x cucumber
|
||||||
- name: Start the Kafka Stack
|
- name: Start the Kafka Stack
|
||||||
run: docker compose -f docker-compose-postgresql-kafka.yml up --scale fineract-worker=1 -d
|
run: docker compose -f docker-compose-postgresql-kafka.yml up --scale fineract-worker=1 -d
|
||||||
- name: Check the stack
|
- name: Check the stack
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
fineract:
|
fineract:
|
||||||
# user: "${FINERACT_USER}:${FINERACT_GROUP}"
|
# user: "${FINERACT_USER}:${FINERACT_GROUP}"
|
||||||
image: fineract-custom:latest
|
image: ${IMAGE_NAME:-fineract-custom:latest}
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/config/docker/logback/logback-override.xml:/app/logback-override.xml
|
- ${PWD}/config/docker/logback/logback-override.xml:/app/logback-override.xml
|
||||||
- ${PWD}/config/docker/aws/etc/credentials:/etc/aws/credentials:ro
|
- ${PWD}/config/docker/aws/etc/credentials:/etc/aws/credentials:ro
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
fineract:
|
fineract:
|
||||||
# user: "${FINERACT_USER}:${FINERACT_GROUP}"
|
# user: "${FINERACT_USER}:${FINERACT_GROUP}"
|
||||||
image: apache/fineract:latest
|
image: ${IMAGE_NAME:-apache/fineract:latest}
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/config/docker/logback/logback-override.xml:/app/logback-override.xml
|
- ${PWD}/config/docker/logback/logback-override.xml:/app/logback-override.xml
|
||||||
- ${PWD}/config/docker/aws/etc/credentials:/etc/aws/credentials:ro
|
- ${PWD}/config/docker/aws/etc/credentials:/etc/aws/credentials:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user