Skip to content

Commit

Permalink
Update singularity_image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored Aug 7, 2024
1 parent 8252cdd commit 0a413bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/singularity_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Test
run: |
rm -rf /home/ubuntu/workspace/AWI_09_004/partitions*.json
rm -rf /home/ubuntu/workspace/AWI_09_004/*.csv
rm -rf /home/ubuntu/workspace/AWI_09_004/*.parquet
rm -rf /home/ubuntu/workspace/AWI_09_004/outputs/*
singularity run --bind /home/ubuntu/workspace/AWI_09_004:/ngen/ngen/data ciroh-ngen-singularity.sif "/ngen/ngen/data auto 2"
output_count=`ls /home/ubuntu/workspace/AWI_09_004/outputs | wc -l`
rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/partitions*.json
rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/*.csv
rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/*.parquet
rm -rf /home/ubuntu/workspace/AWI_16_2853886_006/outputs/*/*
singularity run --bind /home/ubuntu/workspace/AWI_16_2853886_006:/ngen/ngen/data ciroh-ngen-singularity.sif "/ngen/ngen/data auto 2"
output_count=`ls /home/ubuntu/workspace/AWI_16_2853886_006/outputs/* | wc -l`
if [[ "$output_count" < 1 ]]; then
echo "No outputs found"
exit 1
Expand All @@ -40,4 +40,4 @@ jobs:
- name: Push Singularity Image to Library
run: |
singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest
singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest

0 comments on commit 0a413bd

Please sign in to comment.