-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from MaxUlysse/2.6.1
2.6.1
- Loading branch information
Showing
17 changed files
with
1,662 additions
and
1,546 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: nf-core AWS full test | ||
# This workflow is triggered on push to the master branch and on published releases. | ||
# It runs the -profile 'test_full' on AWS batch | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
run-awstest: | ||
if: github.repository == 'nf-core/sarek' | ||
name: Run AWS full tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Miniconda | ||
uses: goanpeca/[email protected] | ||
with: | ||
auto-update-conda: true | ||
python-version: 3.7 | ||
- name: Install awscli | ||
run: conda install -c conda-forge awscli | ||
- name: Start AWS batch job | ||
# TODO nf-core: You can customise AWS full pipeline tests as required | ||
# Add full size test data (but still relatively small datasets for few samples) | ||
# on the `test_full.config` test runs with only one set of parameters | ||
# Then specify `-profile test_full` instead of `-profile test` on the AWS batch command | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | ||
TOWER_ACCESS_TOKEN: ${{secrets.AWS_TOWER_TOKEN}} | ||
AWS_JOB_DEFINITION: ${{secrets.AWS_JOB_DEFINITION}} | ||
AWS_JOB_QUEUE: ${{secrets.AWS_JOB_QUEUE}} | ||
AWS_S3_BUCKET: ${{secrets.AWS_S3_BUCKET}} | ||
run: | | ||
aws batch submit-job \ | ||
--region eu-west-1 \ | ||
--job-name nf-core-sarek \ | ||
--job-queue $AWS_JOB_QUEUE \ | ||
--job-definition $AWS_JOB_DEFINITION \ | ||
--container-overrides '{"command": ["nf-core/sarek", "-r '"${GITHUB_SHA}"' -profile test --outdir s3://'"${AWS_S3_BUCKET}"'/sarek/results-'"${GITHUB_SHA}"' -w s3://'"${AWS_S3_BUCKET}"'/sarek/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}' |
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
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
Oops, something went wrong.