Skip to content

Commit f92aa38

Browse files
authored
Merge pull request #1135 from nf-core/update-action-tower-launch-to-v2
Update action tower launch to v2
2 parents 700664f + a9f5810 commit f92aa38

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.github/workflows/cloud_tests_full.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
matrix:
2424
aligner: ["star_salmon", "star_rsem"]
2525
steps:
26-
- uses: seqeralabs/action-tower-launch@v1
26+
- uses: seqeralabs/action-tower-launch@v2
2727
with:
28+
revision: ${{ github.sha }}
2829
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
2930
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
3031
compute_env: ${{ secrets.TOWER_CE_AWS_CPU }}
@@ -35,21 +36,23 @@ jobs:
3536
{
3637
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
3738
"aligner": "${{ matrix.aligner }}",
38-
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
39+
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/"
3940
}
4041
- uses: actions/upload-artifact@v3
4142
with:
4243
name: Tower debug log file
4344
path: tower_action_*.log
45+
4446
run-full-tests-on-gcp:
4547
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' || !github.event.inputs }}
4648
runs-on: ubuntu-latest
4749
strategy:
4850
matrix:
4951
aligner: ["star_salmon", "star_rsem"]
5052
steps:
51-
- uses: seqeralabs/action-tower-launch@v1
53+
- uses: seqeralabs/action-tower-launch@v2
5254
with:
55+
revision: ${{ github.sha }}
5356
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
5457
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
5558
compute_env: ${{ secrets.TOWER_CE_GCP_CPU }}
@@ -60,21 +63,23 @@ jobs:
6063
{
6164
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
6265
"aligner": "${{ matrix.aligner }}",
63-
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}"
66+
"outdir": "${{ secrets.TOWER_BUCKET_GCP }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/"
6467
}
6568
- uses: actions/upload-artifact@v3
6669
with:
6770
name: Tower debug log file
6871
path: tower_action_*.log
72+
6973
run-full-tests-on-azure:
7074
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' || !github.event.inputs }}
7175
runs-on: ubuntu-latest
7276
strategy:
7377
matrix:
7478
aligner: ["star_salmon", "star_rsem"]
7579
steps:
76-
- uses: seqeralabs/action-tower-launch@v1
80+
- uses: seqeralabs/action-tower-launch@v2
7781
with:
82+
revision: ${{ github.sha }}
7883
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
7984
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
8085
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
@@ -85,7 +90,7 @@ jobs:
8590
{
8691
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
8792
"aligner": "${{ matrix.aligner }}",
88-
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}",
93+
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/rnaseq/results-${{ github.sha }}/aligner_${{ matrix.aligner }}/",
8994
"igenomes_base": "${{ secrets.TOWER_IGENOMES_BASE_AZURE }}"
9095
}
9196
- uses: actions/upload-artifact@v3

.github/workflows/cloud_tests_small.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'aws' }}
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: seqeralabs/action-tower-launch@v1
21+
- uses: seqeralabs/action-tower-launch@v2
2222
with:
2323
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
2424
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
@@ -38,7 +38,7 @@ jobs:
3838
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'gcp' }}
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: seqeralabs/action-tower-launch@v1
41+
- uses: seqeralabs/action-tower-launch@v2
4242
with:
4343
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
4444
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
@@ -58,7 +58,7 @@ jobs:
5858
if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == 'azure' }}
5959
runs-on: ubuntu-latest
6060
steps:
61-
- uses: seqeralabs/action-tower-launch@v1
61+
- uses: seqeralabs/action-tower-launch@v2
6262
with:
6363
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
6464
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Enhancements & fixes
1111

12+
- [PR #1135](https://github.com/nf-core/rnaseq/pull/1135) - Update [action-tower-launch](https://github.com/marketplace/actions/action-tower-launch) to v2 which supports more variable handling.
13+
1214
### Software dependencies
1315

1416
### Modules / Subworkflows

0 commit comments

Comments
 (0)