server: update enpoint constructors to throw CellBaseServerException,… #258
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CellBase Develop workflow | |
on: | |
push: | |
branches: | |
- TASK-* | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: opencb/java-common-libs/.github/workflows/build-java-app-workflow.yml@develop | |
test: | |
uses: ./.github/workflows/test-analysis.yml | |
needs: build | |
secrets: inherit | |
with: | |
report_context: development | |
report_dir: ${{ github.ref_name }}/cellbase/${{ github.sha }} | |
deploy-docker: | |
uses: opencb/java-common-libs/.github/workflows/deploy-docker-hub-workflow.yml@develop | |
needs: test | |
with: | |
cli: python3 ./build/cloud/docker/docker-build.py push --images base --tag ${{ github.ref_name }} | |
secrets: inherit | |
deploy-maven: | |
uses: opencb/java-common-libs/.github/workflows/deploy-maven-repository-workflow.yml@develop | |
needs: [ build, test ] | |
with: | |
maven_opts: -Dcheckstyle.skip -DCELLBASE.WAR.NAME=cellbase | |
if: contains( needs.build.outputs.version ,'TASK') | |
secrets: inherit | |
#The following jobs are to see that the previous if does not fail and that the maven deploy is executed because it is true | |
snapshot-version: | |
name: Check SNAPSHOT version | |
needs: [ build, test ] | |
if: contains(needs.build.outputs.version ,'SNAPSHOT') | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: test-version-from-check | |
run: echo "Project version is " ${{ needs.build.outputs.version }} | |
task-version: | |
name: Check TASK version | |
needs: [ build, test ] | |
if: contains(needs.build.outputs.version ,'TASK') | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: test-version-from-check | |
run: echo "Project version is " ${{ needs.build.outputs.version }} | |