annotate cat_gitrevision.xml @ 1:1db0bda09182 draft default tip

"planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
author mvdbeek
date Tue, 22 Feb 2022 20:55:03 +0000
parents 9b58e027065a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1db0bda09182 "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents: 0
diff changeset
1 <tool id="print_gitrevision" name="Print GITREVISION" version="0.1.1" profile="20.01">
0
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
2 <command detect_errors="exit_code"><![CDATA[
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
3 cp '$gitrevision' '$output'
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
4 ]]></command>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
5 <configfiles>
1
1db0bda09182 "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents: 0
diff changeset
6 <configfile name="gitrevision">#echo open('/galaxy/server/GITREVISION').read()</configfile>
0
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
7 </configfiles>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
8 <outputs>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
9 <data name="output" format="txt" label="GITREVISION"/>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
10 </outputs>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
11 <!-- If you want to run this test place a file with "my content" into /GITREVISION
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
12 <tests>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
13 <test>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
14 <output name="output">
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
15 <assert_contents>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
16 <has_text text="my content"/>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
17 </assert_contents>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
18 </output>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
19 </test>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
20 </tests>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
21 -->
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
22 <help><![CDATA[
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
23 Prints out the contents of /GITREVISION
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
24 ]]></help>
9b58e027065a "planemo upload for repository https://gist.github.com/mvdbeek/5635b2941da1419dc7f065254e0c95c2"
mvdbeek
parents:
diff changeset
25 </tool>