You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide provides instructions for developers working on the project. It covers setting up the development environment, pushing Docker images, generating documentation, and bumping version numbers.
@@ -31,6 +32,14 @@ This guide provides instructions for developers working on the project. It cover
31
32
pip install -r requirements-dev.txt
32
33
```
33
34
35
+
## Testing a new or modified workflow
36
+
37
+
To test a workflow before an associated docker image is pushed, you can run the workflow locally using the docker image that is built locally according to the dockerfile in the workflow directory. To do this, your wdl must have the option to change the docker image in which the workflow is run, and this image must be specified in the input json file. For example, the following command will run the lipidomcis workflow using the docker image that is built locally. See the input file [here](wdl/metams_input_lipidomics_local_docker.json) foran example of how to specify the docker imagein the input file.
38
+
39
+
```sh
40
+
miniwdl run wdl/metaMS_lcmslipidomics.wdl -i wdl/metams_input_lipidomics_local_docker.json --verbose --no-cache --copy-input-files
41
+
```
42
+
34
43
## Releasing a new version
35
44
36
45
The following steps should be followed in order
@@ -54,7 +63,7 @@ To bump the repo *and all workflows*, run one of the following commands. This w
54
63
make patch
55
64
```
56
65
### Push Updated Docker Image
57
-
Use the github action to push a docker image to the appropriate dockerhub repository.
66
+
Use the github action to push a docker image to the appropriate dockerhub repository. This will use the version number that was setin the previous step and will build and push a docker image according to the dockerfile in the root of the repo. The docker image will be tagged with the version number and the latest tag.
0 commit comments