|
7 | 7 | workflow_dispatch: |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - # Add the build-hdp and deploy-docker-hdp jobs |
| 10 | + # Add the build-hdp job |
11 | 11 | build-hdp: |
12 | 12 | uses: opencb/java-common-libs/.github/workflows/build-java-app-workflow.yml@develop |
13 | 13 | with: |
14 | 14 | maven_opts: -P hdp3.1,RClient -Dopencga.war.name=opencga -Dcheckstyle.skip |
15 | | - build_folder: build-folder-hdp |
| 15 | + build_folder: build-folder |
16 | 16 |
|
| 17 | + # Add the deploy-docker-hdp job that depends on the build-hdp job |
17 | 18 | deploy-docker-hdp: |
18 | 19 | uses: opencb/java-common-libs/.github/workflows/deploy-docker-hub-workflow.yml@develop |
19 | 20 | needs: build-hdp |
20 | 21 | with: |
21 | | - cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag ${{ needs.build-hdp.outputs.version }} |
22 | | - build_folder: build-folder-hdp |
| 22 | + cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag "${{ needs.build-hdp.outputs.version }}-hdp3.1" |
| 23 | + build_folder: build-folder |
23 | 24 | secrets: inherit |
24 | 25 |
|
| 26 | + # Add the deploy-maven and deploy-python jobs they depend on the build-hdp job |
| 27 | +# deploy-maven: |
| 28 | +# uses: opencb/java-common-libs/.github/workflows/deploy-maven-repository-workflow.yml@develop |
| 29 | +# needs: build-hdp |
| 30 | +# with: |
| 31 | +# maven_opts: -P hdp3.1 -Dopencga.war.name=opencga |
| 32 | +# secrets: inherit |
| 33 | +# |
| 34 | +# deploy-python: |
| 35 | +# uses: opencb/java-common-libs/.github/workflows/deploy-python-workflow.yml@develop |
| 36 | +# needs: build-hdp |
| 37 | +# with: |
| 38 | +# cli: ./clients/python/python-build.sh push |
| 39 | +# artifact: build-folder |
| 40 | +# secrets: inherit |
| 41 | + |
| 42 | + # Add the release job that depends on all the previous jobs |
| 43 | + release: |
| 44 | + uses: opencb/java-common-libs/.github/workflows/release-github-workflow.yml@develop |
| 45 | + needs: [ build-hdp, deploy-docker-hdp] |
| 46 | + with: |
| 47 | + artifact: build-folder |
| 48 | + file: | |
| 49 | + opencga-client-${{ needs.build-hdp.outputs.version }}.tar.gz |
| 50 | + clients/R/opencgaR_${{ needs.build-hdp.outputs.version }}.tar.gz |
| 51 | +
|
| 52 | + # Compile and deploy other hadoop flavours |
25 | 53 | # Add the build-hdi and deploy-docker-hdi jobs |
26 | 54 | build-hdi: |
27 | 55 | uses: opencb/java-common-libs/.github/workflows/build-java-app-workflow.yml@develop |
|
33 | 61 | uses: opencb/java-common-libs/.github/workflows/deploy-docker-hub-workflow.yml@develop |
34 | 62 | needs: build-hdi |
35 | 63 | with: |
36 | | - cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag ${{ needs.build-hdi.outputs.version }} |
| 64 | + cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag "${{ needs.build-hdi.outputs.version }}-hdi5.1" |
37 | 65 | build_folder: build-folder-hdi |
38 | 66 | secrets: inherit |
39 | 67 |
|
|
48 | 76 | uses: opencb/java-common-libs/.github/workflows/deploy-docker-hub-workflow.yml@develop |
49 | 77 | needs: build-emr |
50 | 78 | with: |
51 | | - cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag ${{ needs.build-emr.outputs.version }} |
| 79 | + cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag "${{ needs.build-emr.outputs.version }}-emr6.1" |
52 | 80 | build_folder: build-folder-emr |
53 | 81 | secrets: inherit |
54 | 82 |
|
|
63 | 91 | uses: opencb/java-common-libs/.github/workflows/deploy-docker-hub-workflow.yml@develop |
64 | 92 | needs: build-emr613 |
65 | 93 | with: |
66 | | - cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag ${{ needs.build-emr613.outputs.version }} |
| 94 | + cli: python3 ./build/cloud/docker/docker-build.py push --images base,init --tag "${{ needs.build-emr613.outputs.version }}-emr6.13" |
67 | 95 | build_folder: build-folder-emr613 |
68 | 96 | secrets: inherit |
69 | | - |
70 | | - # Add the deploy-maven and deploy-python jobs they depend on the build-hdp job |
71 | | -# deploy-maven: |
72 | | -# uses: opencb/java-common-libs/.github/workflows/deploy-maven-repository-workflow.yml@develop |
73 | | -# needs: build-hdp |
74 | | -# with: |
75 | | -# maven_opts: -P hdp3.1 -Dopencga.war.name=opencga |
76 | | -# secrets: inherit |
77 | | - |
78 | | -# deploy-python: |
79 | | -# uses: opencb/java-common-libs/.github/workflows/deploy-python-workflow.yml@develop |
80 | | -# needs: build-hdp |
81 | | -# with: |
82 | | -# cli: ./clients/python/python-build.sh push |
83 | | -# artifact: build-folder |
84 | | -# secrets: inherit |
85 | | - |
86 | | - # Add the release job that depends on all the previous jobs |
87 | | - release: |
88 | | - uses: opencb/java-common-libs/.github/workflows/release-github-workflow.yml@develop |
89 | | - needs: [ build-hdp, deploy-docker-hdp, build-hdi, deploy-docker-hdi, build-emr, deploy-docker-emr, build-emr613, deploy-docker-emr613 ] |
90 | | - with: |
91 | | - artifact: build-folder-hdp |
92 | | - file: | |
93 | | - opencga-client-${{ needs.build-hdp.outputs.version }}.tar.gz |
94 | | - clients/R/opencgaR_${{ needs.build-hdp.outputs.version }}.tar.gz |
95 | | -
|
|
0 commit comments