forked from PGP-UK/GenomeChronicler-Sarek-nf
-
Notifications
You must be signed in to change notification settings - Fork 1
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 #5 from nf-core/dev
update nf-core
- Loading branch information
Showing
8 changed files
with
109 additions
and
148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
name: nf-core aws test | ||
name: AWS Megatests | ||
# This workflow is triggered on PRs to the master branch. | ||
# It runs the -profile 'test' on AWS batch | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- master | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
Awstest: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
python-version: ['3.7'] | ||
steps: | ||
- uses: goanpeca/setup-miniconda@v1 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install aws client | ||
run: conda install -c conda-forge awscli | ||
- name: Start AWS batch job | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_KEY_ID}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_KEY_SECRET}} | ||
TOWER_ACCESS_TOKEN: ${{secrets.TOWER_ACCESS_TOKEN}} | ||
run: | | ||
aws batch submit-job --region eu-west-1 --job-name nf-core-sarek --job-queue 'default-8b3836e0-5eda-11ea-96e5-0a2c3f6a2a32' --job-definition nextflow --container-overrides command=nf-core/sarek,"-r ${GITHUB_SHA} -profile test --outdir s3://nf-core-awsmegatests/sarek/results-${GITHUB_SHA} -w s3://nf-core-awsmegatests/sarek/work-${GITHUB_SHA}" | ||
run-awstest: | ||
name: Run AWS test | ||
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 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_KEY_ID}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_KEY_SECRET}} | ||
TOWER_ACCESS_TOKEN: ${{secrets.TOWER_ACCESS_TOKEN}} | ||
run: | | ||
aws batch submit-job --region eu-west-1 --job-name nf-core-sarek --job-queue 'default-8b3836e0-5eda-11ea-96e5-0a2c3f6a2a32' --job-definition nextflow --container-overrides '{"command": ["nf-core/sarek", "-r ${GITHUB_SHA} -profile test --outdir s3://nf-core-awsmegatests/sarek/results-${GITHUB_SHA} -w s3://nf-core-awsmegatests/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 was deleted.
Oops, something went wrong.
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
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.