Skip to content

Commit 91c65a2

Browse files
committed
build(arm): Update profile names
nf-core/tools#3536
1 parent dc75a5e commit 91c65a2

File tree

3 files changed

+30
-9
lines changed

3 files changed

+30
-9
lines changed

.github/workflows/cloud_tests_full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}"
3333
run_name: "aws_rnaseq_full_${{ matrix.aligner }}_${{ matrix.arch }}"
3434
revision: ${{ github.sha }}
35-
profiles: test_full_aws${{ matrix.arch == 'arm64' && ',wave,graviton' || '' }}
35+
profiles: test_full_aws${{ matrix.arch == 'arm64' && ',docker_arm' || '' }}
3636
parameters: |
3737
{
3838
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",

.github/workflows/cloud_tests_small.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
workdir: "${{ secrets.TOWER_BUCKET_AWS }}/work/rnaseq/work-${{ github.sha }}"
3131
run_name: "aws_rnaseq_small_${{ matrix.arch }}"
3232
revision: ${{ github.sha }}
33-
profiles: test${{ matrix.arch == 'arm64' && ',wave,graviton' || '' }}
33+
profiles: test${{ matrix.arch == 'arm64' && ',docker_arm' || '' }}
3434
parameters: |
3535
{
3636
"outdir": "${{ secrets.TOWER_BUCKET_AWS }}/rnaseq/results-test-${{ github.sha }}/${{ matrix.arch }}/aligner_${{ matrix.aligner }}/"

nextflow.config

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,8 @@ profiles {
191191
apptainer.enabled = false
192192
docker.runOptions = '-u $(id -u):$(id -g)'
193193
}
194-
arm {
195-
docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64'
196-
}
197-
// TODO PR this to tools
198-
graviton {
199-
process.arch = 'linux/arm64'
200-
}
201194
singularity {
195+
includeConfig 'conf/containers/containers_singularity_amd64.config'
202196
singularity.enabled = true
203197
singularity.autoMounts = true
204198
conda.enabled = false
@@ -264,6 +258,33 @@ profiles {
264258
]
265259
}
266260
}
261+
// ARM Related Profiles
262+
apple {
263+
docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64'
264+
}
265+
docker_arm {
266+
includeConfig 'conf/containers/containers_docker_arm64.config'
267+
docker.enabled = true
268+
conda.enabled = false
269+
singularity.enabled = false
270+
podman.enabled = false
271+
shifter.enabled = false
272+
charliecloud.enabled = false
273+
apptainer.enabled = false
274+
docker.runOptions = '-u $(id -u):$(id -g)'
275+
}
276+
singularity_arm {
277+
includeConfig 'conf/containers/containers_singularity_arm64.config'
278+
singularity.enabled = true
279+
singularity.autoMounts = true
280+
conda.enabled = false
281+
docker.enabled = false
282+
podman.enabled = false
283+
shifter.enabled = false
284+
charliecloud.enabled = false
285+
apptainer.enabled = false
286+
}
287+
267288
test { includeConfig 'conf/test.config' }
268289
test_full { includeConfig 'conf/test_full.config' }
269290
test_full_aws {

0 commit comments

Comments
 (0)