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