Mercurial > repos > metexplore > met4j
annotate HowTo.md @ 7:1436e9cde9c9 draft
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
author | metexplore |
---|---|
date | Tue, 04 Jul 2023 10:21:26 +0000 |
parents | 7a6f2380fc1d |
children |
rev | line source |
---|---|
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
1 # How to build wrappers for new met4j-toolbox apps? |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
2 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
3 ## Install planemo |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
4 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
5 ```console |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
6 pip install virtualenv |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
7 python -m virtualenv planemo |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
8 . planemo/bin/activate |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
9 pip install --upgrade pip setuptools |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
10 pip install planemo |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
11 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
12 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
13 ## Install singularity |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
14 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
15 Doc [Here](https://github.com/sylabs/singularity/blob/main/INSTALL.md). |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
16 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
17 ## Create new wrappers |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
18 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
19 - Create a branch (e.g. newFeature) (or a new release) in met4j and develop your apps |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
20 - Push the branch |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
21 - If this branch is not master or develop, launch manually the |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
22 building of the singularity image in the met4j CI-CD (this singularity image will be downloaded by the galaxy instance) |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
23 - Create a branch with the same name in met4j-galaxy (e.g. newFeature) |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
24 - Use the GenerateGalaxyFiles of the met4j-toolbox (be careful, it must be the version of the new branch) to generate the wrappers for the new met4j apps. Or you can use the singularity image created in the third step. |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
25 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
26 ```console |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
27 met4j-toolbox.sif GenerateGalaxyFiles \ |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
28 -o /path/to/met4j-galaxy/tools |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
29 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
30 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
31 ## Write tests |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
32 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
33 - Edit manually the wrappers where the tests are lacking. |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
34 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
35 [Here](https://docs.galaxyproject.org/en/latest/dev/schema.html#tool-tests) is the documentation about tests in galaxy |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
36 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
37 Put the test files in a test-data directory in the tool directory. |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
38 If the file is used in several tests, put it in the data directory at the root of the project and create a symbolic link in the test-data directory. |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
39 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
40 ## Check the syntax of the wrappers |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
41 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
42 ```console |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
43 . planemo/bin/activate |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
44 planemo shed_lint --tools \ |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
45 --ensure_metadata \ |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
46 --report_level warn \ |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
47 --fail_level error \ |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
48 --recursive tools |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
49 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
50 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
51 ## Find apps without tests |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
52 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
53 ```console |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
54 python ./findToolsWithoutTests.py build/tools/ |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
55 ``` |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
56 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
57 ## Launch the tests |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
58 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
59 ### Build with a version number |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
60 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
61 To test your apps, you need to fill the good version of met4j singularity in each xml wrapper. For this, use this command: |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
62 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
63 ```bash |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
64 ./build.sh $versionNumber |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
65 ``` |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
66 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
67 Where $versionNumber must correspond to the version of the met4j singularity instance created above. |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
68 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
69 ### Launch the tests on the built instance |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
70 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
71 Launching all the tests can be very time consuming. |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
72 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
73 You can launch the test for one tool (here convert.Sbml2Graph): |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
74 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
75 ```console |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
76 . planemo/bin/activate |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
77 planemo test \ |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
78 --job_config_file config/job_conf.xml \ |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
79 build/tools/Sbml2Graph/ |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
80 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
81 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
82 If you want to test all the tools: |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
83 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
84 ```console |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
85 . planemo/bin/activate |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
86 planemo test \ |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
87 --job_config_file config/job_conf.xml \ |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
88 build/tools/* |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
89 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
90 |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
91 The results of the tests can be read in tool_test_output.html. |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
92 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
93 ## Create new release |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
94 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
95 When tests are ok, you can create a new met4j release. The CI will create a new Singularity image corresponding to this version. |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
96 |
7
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
97 Create a new met4j-galaxy release with the same version number as met4j. |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
98 |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
99 After testing this new version, you have to do: |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
100 |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
101 ```bash |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
102 git push origin 1.3.0 |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
103 ``` |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
104 |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
105 Modify the 1.3.0 by the version number that you want to push. |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
106 |
1436e9cde9c9
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 1d31a48bf8328b7a3ad9910971d24b9f453459c5
metexplore
parents:
6
diff
changeset
|
107 After push, the CI will test again the apps. If it's ok, a new version of met4j-galaxy will be pushed on the galaxy toolshed. The instance in usegalaxy.fr will be updated the next monday. |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
108 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
109 ## Update met4j-galaxy-runner |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
110 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
111 Docker image to run planemo on ci. |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
112 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
113 Creation du docker pour lancer galaxy et planemo : |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
114 |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
115 ```bash |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
116 sudo docker login |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
117 sudo docker build -t metexplore/met4j-galaxy-runner:latest . |
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
118 sudo docker push metexplore/met4j-galaxy-runner:latest |
4
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
119 ``` |
ae4c301919c4
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy commit 2af2c8a0ca9665e1117bb7810bffc105ed39c4f5
metexplore
parents:
diff
changeset
|
120 |
6
7a6f2380fc1d
planemo upload for repository https://forgemia.inra.fr/metexplore/met4j-galaxy
metexplore
parents:
4
diff
changeset
|
121 <https://hub.docker.com/r/metexplore/met4j-galaxy-runner> |