Skip to content

Commit

Permalink
OK-414 Build ovara fatjar image
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed May 23, 2024
1 parent ae03a1e commit 97cddb0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
valinta-tulos-henkiloviite-synchronizer/target
valinta-tulos-service/target
valinta-tulos-valintarekisteri-db/target
valinta-tulos-ovara/target
key: ${{ github.sha }}

- name: Build and deploy Docker container
Expand All @@ -91,8 +92,16 @@ jobs:
mv valinta-tulos-henkiloviite-synchronizer/target/valinta-tulos-henkiloviite-synchronizer-*-jar-with-dependencies.jar $DOCKER_BUILD_DIR/artifact/valinta-tulos-henkiloviite-synchronizer.jar
cp -vr valinta-tulos-henkiloviite-synchronizer/target/classes/oph-configuration $DOCKER_BUILD_DIR/config/
./ci-tools/github-build/build-fatjar.sh valinta-tulos-henkiloviite-synchronizer
export BASE_IMAGE="baseimage-fatjar-openjdk11:master"
./ci-tools/common/pull-image.sh
mv valinta-tulos-ovara/target/valinta-tulos-ovara-*-jar-with-dependencies.jar $DOCKER_BUILD_DIR/artifact/valinta-tulos-ovara.jar
cp -vr valinta-tulos-ovara/target/classes/oph-configuration $DOCKER_BUILD_DIR/config/
./ci-tools/github-build/build-fatjar.sh valinta-tulos-ovara
./ci-tools/github-build/upload-image.sh valinta-tulos-service
./ci-tools/github-build/upload-image.sh valinta-tulos-henkiloviite-synchronizer
./ci-tools/github-build/upload-image.sh valinta-tulos-ovara
deploy-jar-library:
needs: test-and-build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 97cddb0

Please sign in to comment.