Investigate CLI 1.6.0 client connection compatibility with 1.7.0 server
See original GitHub issue#1451 Bug Report
Expected behaviour
Dockstore 1.7.0 CLI should be able to pull workflows from both 1.6.0 and 1.7.0 servers. Note: should also test if 1.6.0 CLI can connect to 1.7.0 server (to do).
Edit should be: Dockstore 1.6.0 CLI should be able to pull workflows from both 1.6.0 and 1.7.0 servers. Dockstore 1.7.0 CLI should be able to pull workflows from 1.7.0 server
Actual behaviour
The latest Dockstore CLI (Dockstore version 1.7.0-beta.3) can only download workflows when config is pointing to the staging server. Otherwise workflow is not found:
[main] ERROR io.dockstore.client.cli.ArgumentUtility - No workflow found with path github.com/dockstore-testing/md5sum-checker
Steps to reproduce the behaviour:
- Update to dependencies for 1.7.0 (2nd page of account set-up: https://staging.dockstore.org/onboarding)
- Upgrade to latest version of Dockstore (should be 1.7.0-beta.3) :
dockstore --upgrade-unstable
- set ~/.dockstore/config to point to 1.6.0 server:
server-url: https://dockstore.org/api
- Try running a non-local workflow:
dockstore workflow launch --entry github.com/dockstore-testing/md5sum-checker:develop --json Dockstore.json
To run workflow create the following files:
- Dockstore.json:
{
"input_file": {
"class": "File",
"path": "md5sum.input"
}
}
- md5sum.input:
this is the test file that will be used when calculating an md5sum
(Attach tool/workflow documents or links where applicable to help us reproduce your issue)
Environment (Browser or OS and Dockstore version)
Dockstore CLI: 1.7.0-beta.3 Java 11, CWL1.1 with python 3 requirements
┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 1.7 ┆Issue Number: DOCK-979 ┆Sprint: Backlog ┆Issue Type: Story
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
1.6.0 client can talk to staging and still launch workflows.
Ohhh okay, I see. Thanks for clearing that up. Yeah I was only testing the latter.