Mercurial > repos > mvdbeek > bam_readtagger
annotate deploy.sh @ 72:8ef26717ba8b draft
"planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit 76af27eb69faaeffe6a9f20a40e112b42b5aed53"
author | mvdbeek |
---|---|
date | Sat, 11 Jan 2020 11:58:25 -0500 |
parents | 39d9bc17ec74 |
children |
rev | line source |
---|---|
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
1 #!/bin/bash |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
2 # this script uploads galaxy tools in the current directory to the galaxy toolsheds |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
3 set -e |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
4 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
5 CURRENT_DIR=$(dirname $0) |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
6 |
2
39d9bc17ec74
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit b0627386ac1cc004dc71fc788bf37111213b1fab-dirty
mvdbeek
parents:
1
diff
changeset
|
7 echo "Installing planemo" # Would be great if the dependencies would persist in deployment mode |
1
f69131f584e8
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
mvdbeek
parents:
0
diff
changeset
|
8 pip install planemo |
f69131f584e8
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
mvdbeek
parents:
0
diff
changeset
|
9 |
0
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
10 echo "Deploying to Testtoolshed ..." |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
11 planemo shed_update -r --force_repository_creation -t testtoolshed --shed_key_from_env TTS_KEY "$CURRENT_DIR" |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
12 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
13 echo "Deploying to Toolshed ..." |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
14 planemo shed_update -r --force_repository_creation -t toolshed --shed_key_from_env TS_KEY $CURRENT_DIR |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
15 |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
16 echo "Successfully deployed to toolsheds" |
a38447a59412
planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit d63500891dc173a7657bb9a9aabbeb6cf2ddb9e3-dirty
mvdbeek
parents:
diff
changeset
|
17 exit 0 |