Skip to content

Update cust legend present label #222

Update cust legend present label

Update cust legend present label #222

Workflow file for this run

name: Simi - Build docker image
on:
push:
branches:
- master
paths:
- 'webapp/**'
- '!webapp/schema'
- '!webapp/doc'
- '!webapp/**/*.md'
jobs:
buildImage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Start db image
run: docker-compose up -d -V db
working-directory: ./webapp/docker
- name: Wait until db is up
run: docker-compose up -V --exit-code-from await-db await-db
working-directory: ./webapp/docker
- name: create the simi schema
run: ./gradlew createDb
working-directory: ./webapp
- name: Build and test the java classes
run: ./gradlew build
working-directory: ./webapp
- name: "Merge build.gradle: 1. rename"
run: mv build.gradle build1.gradle
working-directory: ./webapp
- name: "Merge build.gradle: 2. merge"
run: cat build1.gradle build2.gradle > build.gradle
working-directory: ./webapp
- name: Build simi image with Gradle
run: ./gradlew imgBuild
working-directory: ./webapp
- name: Start simi image
run: docker-compose up -d -V simi
working-directory: ./webapp/docker
- name: middle tier - check health
run: ./await.sh http://localhost:8080/app-core/remoting/health
working-directory: ./webapp/docker/await-url
- name: client tier - check health
run: ./await.sh http://localhost:8080/app/dispatch/health
working-directory: ./webapp/docker/await-url
- name: docker login
env:
SIMI_DOCKER_USER: ${{ secrets.SIMI_DOCKER_USER }}
SIMI_DOCKER_PASS: ${{ secrets.SIMI_DOCKER_PASS }}
run: echo "$SIMI_DOCKER_PASS" | docker login -u "$SIMI_DOCKER_USER" --password-stdin
- name: Push image with Gradle
run: ./gradlew pushImg
working-directory: ./webapp