• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ga4gh / dockstore / 7487 / 12
75%
develop: 75%

Build:
DEFAULT BRANCH: develop
Ran 28 Feb 2019 11:17PM UTC
Files 205
Run time 54s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2019 09:43PM UTC coverage: 12.972% (-0.2%) from 13.143%
TESTING_PROFILE=integration-tests

push

travis-ci

web-flow
Create a new version of a hosted workflow with Zip (#2148)


#1768

Allows a user to submit a zip file to add a new version to a hosted workflow. The zip file needs
to contain a .dockstore.yml in its root directory that describes the contents of the zip. See the DockstoreYaml.java class for expected fields.

I was initially going to do by submitting an application/octet-stream, but Swagger 2 codegen does not generate correct code for client libraries. See https://swagger.io/docs/specification/2-0/file-upload/.

Making it a multipart/form-data allows users to hit the UI from the Swagger UI.

The code ZipSourceFileHelper.java guards against "zip bomb" attacks. Unfortunately we can only see the size of the uncompressed entries in a zip by writing to a file -- reading from the payload directly in memory doesn't reliably give the sizes.

Todos

Should support a workflowVersion value in .dockstoreYaml, which will tag the revision accordingly. The code currently makes assumptions about the name field always being a number. See AbstractHostedEntryResourceName.calculateNextVersionName.

UI does not show .dockstore.yml.

DockstoreYaml.java is just a beginning and not really generic enough yet.

1841 of 14192 relevant lines covered (12.97%)

0.25 hits per line

Source Files on job 7487.12 (TESTING_PROFILE=integration-tests)
  • Tree
  • List 0
  • Changed 30
  • Source Changed 27
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4576
  • Travis Job 7487.12
  • 137f86c2 on github
  • Prev Job for TESTING_PROFILE=integration-tests on develop (#7482.12)
  • Next Job for TESTING_PROFILE=integration-tests on develop (#7488.12)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc