Skip to content

Commit

Permalink
Fix Singularity script
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed May 18, 2024
1 parent 9aed2d5 commit fb714e3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/buildall_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@ on:
types: [released]

jobs:
Pypi:
name: Pypi CI
uses: ./.github/workflows/pypi_reusable.yml
with:
package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
secrets:
pypi_token: ${{ secrets.PYPI_TOKEN }}
Conda:
name: Conda CI
uses: ./.github/workflows/conda_reusable.yml
with:
package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
secrets:
conda_token: ${{ secrets.CONDA_TOKEN }}

Docker:
name: Docker CI
uses: ./.github/workflows/docker_reusable.yml
with:
package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
secrets:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
needs: Conda
# Pypi:
# name: Pypi CI
# uses: ./.github/workflows/pypi_reusable.yml
# with:
# package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
# secrets:
# pypi_token: ${{ secrets.PYPI_TOKEN }}
#
# Conda:
# name: Conda CI
# uses: ./.github/workflows/conda_reusable.yml
# with:
# package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
# secrets:
# conda_token: ${{ secrets.CONDA_TOKEN }}
#
# Docker:
# name: Docker CI
# uses: ./.github/workflows/docker_reusable.yml
# with:
# package_version: ${{vars.FASTQWIPER_VER}}${{github.run_number}}
# secrets:
# dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
# dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
# needs: Conda

Singularity:
name: Singularity CI
Expand Down
2 changes: 1 addition & 1 deletion Singularity.def
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ From: condaforge/mambaforge
chmod 777 /fastqwiper/run_wiping.sh

%runscript
if [ $# -eq 5 ] || [ $# -eq 3 ] || [ $# -eq 1 ]; then
if [ $# -eq 5 ] || [ $# -eq 3 ] || [ $# -eq 0 ]; then
exec /fastqwiper/run_wiping.sh $@
else
echo "You must provide three + 2 optional arguments [computing mode ('paired' or 'single'), # of cores (int), sample name (string), chunk size (optional, int), ASCII offset (optional, 33 or 64)]"
Expand Down

0 comments on commit fb714e3

Please sign in to comment.