annotate deploy.sh @ 1:f69131f584e8 draft

planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
author mvdbeek
date Fri, 17 Feb 2017 12:25:01 -0500
parents a38447a59412
children 39d9bc17ec74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1
f69131f584e8 planemo upload for repository https://github.com/bardin-lab/readtagger/tree/master/galaxy commit ca94ae0d3a25a511f7d2c98712efc37b332642e7-dirty
mvdbeek
parents: 0
diff changeset
7 echo "Installing planemo ... again"
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