Fix server image jar paths (#7676)
This commit is contained in:
parent
12e97835bf
commit
04356a8d3b
4
.github/workflows/server.yml
vendored
4
.github/workflows/server.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
# Only run this workflow for internally triggered events
|
||||
if: |
|
||||
github.event.pull_request.head.repo.full_name == github.repository ||
|
||||
github.event.pull_request.head.repo.full_name == github.repository ||
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'workflow_dispatch'
|
||||
|
||||
|
|
@ -93,7 +93,7 @@ jobs:
|
|||
-DnewVersion=${{ steps.vars.outputs.version }} \
|
||||
-DgenerateBackupPoms=false \
|
||||
-DprocessAllModules=true
|
||||
mvn --batch-mode package
|
||||
./build.sh
|
||||
|
||||
# Build release Docker image and push to Docker Hub
|
||||
- name: Push release image to Docker Hub
|
||||
|
|
|
|||
17
.github/workflows/test-build-docker-image.yml
vendored
17
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -34,8 +34,7 @@ jobs:
|
|||
if: |
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event_name == 'push' ||
|
||||
(github.event_name == 'pull_request_review' &&
|
||||
github.event.review.state == 'approved')
|
||||
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -138,9 +137,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
# Only run this workflow for internally triggered events
|
||||
if: |
|
||||
github.event.pull_request.head.repo.full_name == github.repository ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'workflow_dispatch'
|
||||
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
|
||||
|
||||
# Service containers to run with this job. Required for running tests
|
||||
services:
|
||||
|
|
@ -205,7 +204,11 @@ jobs:
|
|||
APPSMITH_IS_SELF_HOSTED: false
|
||||
working-directory: app/server
|
||||
run: |
|
||||
./build.sh -DskipTests
|
||||
mvn --batch-mode versions:set \
|
||||
-DnewVersion=${{ steps.vars.outputs.version }} \
|
||||
-DgenerateBackupPoms=false \
|
||||
-DprocessAllModules=true
|
||||
./build.sh -DskipTests
|
||||
|
||||
# Upload the build artifact so that it can be used by the test & deploy job in the workflow
|
||||
- name: Upload server build bundle
|
||||
|
|
@ -221,9 +224,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
# Only run this workflow for internally triggered events
|
||||
if: |
|
||||
github.event.pull_request.head.repo.full_name == github.repository ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'workflow_dispatch'
|
||||
(github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
|
||||
|
||||
steps:
|
||||
# Checkout the code
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ VOLUME /tmp
|
|||
|
||||
EXPOSE 8080
|
||||
|
||||
ARG JAR_FILE=./appsmith-server/target/server-*.jar
|
||||
ARG PLUGIN_JARS=./appsmith-plugins/*/target/*.jar
|
||||
ARG JAR_FILE=./dist/server-*.jar
|
||||
ARG PLUGIN_JARS=./dist/plugins/*.jar
|
||||
ARG APPSMITH_SEGMENT_CE_KEY
|
||||
ENV APPSMITH_SEGMENT_CE_KEY=${APPSMITH_SEGMENT_CE_KEY}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user