-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds SeqFu #1047
adds SeqFu #1047
Conversation
.github/workflows/main.yml
Outdated
|
||
##### ------------------------------------------------------------------------------------------------ ##### | ||
##### This caller workflow tests, builds, and pushes the image to Docker Hub and Quay using the most ##### | ||
##### recent version of Freyja and downloading the most recent variant information. ##### | ||
##### It takes no manual input. ##### | ||
##### ------------------------------------------------------------------------------------------------ ##### | ||
|
||
name: Update Freyja | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 7 * * *' | ||
|
||
run-name: Updating Freyja | ||
|
||
jobs: | ||
update: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think file was included by accident
seqfu/1.20.3/Dockerfile
Outdated
rm v${SEQFU_VER}.tar.gz && \ | ||
cd seqfu2-${SEQFU_VER} && \ | ||
make && \ | ||
make test VERBOSE=1 || (echo "Tests failed, but continuing build"; exit 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why the tests fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh oops, i can take that out, just part of my debugging of the dockerfile, doesn't fail in the container now.
seqfu/1.20.3/Dockerfile
Outdated
|
||
# Copy the necessary files from the builder | ||
COPY --from=builder /usr/local/bin /usr/local/bin | ||
COPY --from=builder /root/seqfu2-${SEQFU_VER}/data/tests /root/seqfu2-${SEQFU_VER}/data/tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it's worthwhile to include the test files in the final image? It might be helpful to just have these copied into the test stage for testing if they aren't needed during run time.
seqfu/1.20.3/Dockerfile
Outdated
|
||
# Verify installation | ||
RUN ls -l /usr/local/bin && \ | ||
seqfu --version && seqfu --help | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great!
If you're looking for assistance with creating tests, seqtk uses some fastq files from this repository in its tests
I imagine for seqfu it'd be someting like
RUN wget -q https://github.com/StaPH-B/docker-builds/raw/master/tests/SARS-CoV-2/SRR13957123_1.fastq.gz && \
wget -q https://github.com/StaPH-B/docker-builds/raw/master/tests/SARS-CoV-2/SRR13957123_2.fastq.gz && \
seqfu count -f SRR13957123_1.fastq.gz -r SRR13957123_2.fastq.gz
SeqFu also looks like it comes with its own tests and files which may be useful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, so i originally had all the test files in the container but you mentioned it wasn't necessary, so maybe i'll just put in the seqfu test fastq files you suggested in the comment for the seqfu test in the dockerfile. Also thank you for your help and suggestions!!!
My apologies for my delayed response. I think this looks great! I did make some changes, though:
|
@taylorpaisie , if you're okay with my changes, we can deploy this image to dockerhub and quay |
@erinyoung looks good to me! Thanks for all your advice and help, it's really helping me get better and learn more about building docker containers! |
Perfect! I'm going to
|
Thank you for putting this together! You can check the status of the deploy here : https://github.com/StaPH-B/docker-builds/actions/runs/11184872785 |
Pull Request (PR) checklist:
docker build --tag samtools:1.15test --target test docker-builds/samtools/1.15
)spades/3.12.0/Dockerfile
)shigatyper/2.0.1/test.sh
)spades/3.12.0/README.md
)