|
| 1 | +name: full-sized tests on cloud providers |
| 2 | +run-name: Submitting workflow to all cloud providers using full sized data |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + inputs: |
| 6 | + platform: |
| 7 | + description: "Platform to run test" |
| 8 | + required: true |
| 9 | + default: "all" |
| 10 | + type: choice |
| 11 | + options: |
| 12 | + - all |
| 13 | + - aws |
| 14 | + - azure |
| 15 | + - gcp |
| 16 | +jobs: |
| 17 | + run-full-tests-on-aws: |
| 18 | + if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' || !github.event.inputs }} |
| 19 | + runs-on: ubuntu-latest |
| 20 | + strategy: |
| 21 | + matrix: |
| 22 | + aligner: ["star_salmon", "star_rsem"] |
| 23 | + steps: |
| 24 | + - uses: seqeralabs/action-tower-launch@v2 |
| 25 | + with: |
| 26 | + workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} |
| 27 | + access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} |
| 28 | + compute_env: ${{ secrets.TOWER_CE_AWS_CPU }} |
| 29 | + workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}" |
| 30 | + run_name: "aws_rnaseq_full_${{ matrix.aligner }}" |
| 31 | + revision: ${{ github.sha }} |
| 32 | + profiles: test_full_aws |
| 33 | + parameters: | |
| 34 | + { |
| 35 | + "hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}", |
| 36 | + "aligner": "${{ matrix.aligner }}", |
| 37 | + "outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/" |
| 38 | + } |
| 39 | + - uses: actions/upload-artifact@v3 |
| 40 | + with: |
| 41 | + name: Tower debug log file |
| 42 | + path: tower_action_*.log |
| 43 | + |
| 44 | + run-full-tests-on-azure: |
| 45 | + if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' || !github.event.inputs }} |
| 46 | + runs-on: ubuntu-latest |
| 47 | + strategy: |
| 48 | + matrix: |
| 49 | + aligner: ["star_salmon", "star_rsem"] |
| 50 | + steps: |
| 51 | + - uses: seqeralabs/action-tower-launch@v2 |
| 52 | + with: |
| 53 | + workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} |
| 54 | + access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} |
| 55 | + compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }} |
| 56 | + workdir: "${{ secrets.TOWER_BUCKET_AZURE }}/work/rnaseq/work-${{ github.sha }}" |
| 57 | + run_name: "azure_rnaseq_full_${{ matrix.aligner }}" |
| 58 | + revision: ${{ github.sha }} |
| 59 | + profiles: test_full_azure |
| 60 | + parameters: | |
| 61 | + { |
| 62 | + "hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}", |
| 63 | + "aligner": "${{ matrix.aligner }}", |
| 64 | + "outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/", |
| 65 | + "igenomes_base": "${{ secrets.TOWER_IGENOMES_BASE_AZURE }}" |
| 66 | + } |
| 67 | + - uses: actions/upload-artifact@v3 |
| 68 | + with: |
| 69 | + name: Tower debug log file |
| 70 | + path: tower_action_*.log |
| 71 | + |
| 72 | + run-full-tests-on-gcp: |
| 73 | + if: ${{ github.event.inputs.platform == 'gcp' || !github.event.inputs }} |
| 74 | + runs-on: ubuntu-latest |
| 75 | + strategy: |
| 76 | + matrix: |
| 77 | + aligner: ["star_salmon", "star_rsem"] |
| 78 | + steps: |
| 79 | + - uses: seqeralabs/action-tower-launch@v2 |
| 80 | + with: |
| 81 | + workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} |
| 82 | + access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} |
| 83 | + compute_env: ${{ secrets.TOWER_CE_GCP_CPU }} |
| 84 | + workdir: "${{ secrets.TOWER_BUCKET_GCP }}/work/rnaseq/work-${{ github.sha }}" |
| 85 | + run_name: "gcp_rnaseq_full_${{ matrix.aligner }}" |
| 86 | + revision: ${{ github.sha }} |
| 87 | + profiles: test_full_gcp |
| 88 | + parameters: | |
| 89 | + { |
| 90 | + "hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}", |
| 91 | + "aligner": "${{ matrix.aligner }}", |
| 92 | + "outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/" |
| 93 | + } |
| 94 | + - uses: actions/upload-artifact@v3 |
| 95 | + with: |
| 96 | + name: Tower debug log file |
| 97 | + path: tower_action_*.log |
0 commit comments