storage: Allow reloading an indexed variant file. #TASK-4794 #1127
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: Push OpenCGA TASK | |
on: | |
push: | |
branches: | |
- TASK-* | |
workflow_dispatch: | |
jobs: | |
build: | |
uses: opencb/java-common-libs/.github/workflows/[email protected] | |
with: | |
maven_opts: -P storage-hadoop,hdp3.1,RClient,opencga-storage-hadoop-deps -Dopencga.war.name=opencga -Dcheckstyle.skip -pl '!:opencga-storage-hadoop-deps-emr6.1,!:opencga-storage-hadoop-deps-hdp2.6' | |
test: | |
uses: ./.github/workflows/test-analysis.yml | |
needs: build | |
secrets: inherit | |
with: | |
test_profile: runShortTests | |
report_context: development | |
deploy-maven: | |
name: Deploy in maven only for renamed versions | |
uses: opencb/java-common-libs/.github/workflows/[email protected] | |
needs: [ build, test ] | |
if: contains( needs.build.outputs.version ,'TASK') | |
secrets: inherit | |
deploy-docker: | |
uses: opencb/java-common-libs/.github/workflows/[email protected] | |
needs: test | |
with: | |
cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag ${{ github.ref_name }} | |
secrets: inherit | |
# The following jobs are to see that the previous 'if' doesn't 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 }} |