Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@denis-yuen
Copy link
Member

@denis-yuen denis-yuen commented Apr 11, 2025

Description
Add snakemake plugin to webservice image

Review Instructions
Can download and look for Snakemake plugin in Docker image, should also have an additional message in qa web logs

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-7016

Security and Privacy

None

  • Security and Privacy assessed

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Check that you pass the basic style checks and unit tests by running mvn clean install
  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
  • Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
  • If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
  • Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
  • Do not serve user-uploaded binary images through the Dockstore API
  • Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
  • Do not create cookies, although this may change in the future
  • If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

@denis-yuen denis-yuen self-assigned this Apr 11, 2025
@denis-yuen denis-yuen changed the title WIP, needs testing but artifactory down Add snakemake plugin to webservice image Apr 14, 2025
@codecov
Copy link

codecov bot commented Apr 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.24%. Comparing base (3f6e5c7) to head (3ade936).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #6097   +/-   ##
==========================================
  Coverage      74.24%   74.24%           
  Complexity      5663     5663           
==========================================
  Files            389      389           
  Lines          20343    20343           
  Branches        2103     2103           
==========================================
  Hits           15104    15104           
  Misses          4237     4237           
  Partials        1002     1002           
Flag Coverage Δ
bitbuckettests 26.02% <ø> (ø)
hoverflytests 27.66% <ø> (ø)
integrationtests 56.06% <ø> (ø)
languageparsingtests 10.81% <ø> (ø)
localstacktests 21.32% <ø> (ø)
toolintegrationtests 29.88% <ø> (ø)
unit-tests_and_non-confidential-tests 26.27% <ø> (ø)
workflowintegrationtests 37.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@denis-yuen denis-yuen marked this pull request as ready for review April 14, 2025 17:50
@denis-yuen denis-yuen requested review from a team, hyunnaye, kathy-t and svonworl and removed request for a team April 14, 2025 17:51
Dockerfile Outdated

# Include snakemake language plugin
ARG snakemake_plugin_version=0.0.3
RUN apt-get install -y wget
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't wget already installed on line 22?

Similarly, the language-plugins directory is also created on line 23

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could move the apt-get and mkdir into separate "prepare to get plugins" block, above the galaxy download, to make it more clear and so that the galaxy download block and snakemake download block both look the same.

@sonarqubecloud
Copy link

@denis-yuen denis-yuen merged commit 8094a60 into develop Apr 15, 2025
23 checks passed
@denis-yuen denis-yuen deleted the feature/add_plugin_smk branch April 15, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants