Submitting workflow to all cloud providers using small sized data #27
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: small-sized tests on cloud providers | |
run-name: Submitting workflow to all cloud providers using small sized data | |
on: | |
workflow_dispatch: | |
inputs: | |
platform: | |
description: "Platform to run test" | |
required: true | |
default: "all" | |
type: choice | |
options: | |
- all | |
- aws | |
- azure | |
- gcp | |
jobs: | |
run-small-tests-on-aws: | |
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: seqeralabs/action-tower-launch@v1 | |
with: | |
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | |
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} | |
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }} | |
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}" | |
run_name: "aws_rnaseq_small" | |
profiles: test | |
parameters: | | |
{ | |
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}" | |
} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Tower debug log file | |
path: tower_action_*.log | |
run-small-tests-on-gcp: | |
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: seqeralabs/action-tower-launch@v1 | |
with: | |
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | |
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} | |
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }} | |
workdir: "${{ secrets.TOWER_BUCKET_GCP }}/work/rnaseq/work-${{ github.sha }}" | |
run_name: "gcp_rnaseq_small" | |
profiles: test | |
parameters: | | |
{ | |
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-test-${{ github.sha }}" | |
} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Tower debug log file | |
path: tower_action_*.log | |
run-small-tests-on-azure: | |
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: seqeralabs/action-tower-launch@v1 | |
with: | |
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }} | |
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }} | |
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }} | |
workdir: "${{ secrets.TOWER_BUCKET_AZURE }}/work/rnaseq/work-${{ github.sha }}" | |
run_name: "azure_rnaseq_small" | |
profiles: test | |
parameters: | | |
{ | |
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-test-${{ github.sha }}" | |
} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Tower debug log file | |
path: tower_action_*.log |